BUG in UNIX-PC ethernet driver
A1 jeff giordano
jeff at polyof.UUCP
Wed Jan 4 07:34:10 AEST 1989
Bug in the Ethernet Driver for the UNIX-PC/3B1/7300.
While porting Remote Procedure Calling to the UNIX-PC
I found a bug in the etherenet driver. Iff (if and only if)
you have Version 1.4 if the "Enhanced TCP/IP WIN/3B LAN Interface"
the enclosed shell script will do a binary patch on the driver.
/UNIX is NOT modified in any way. Only the driver is altered.
For a complete description of the problem drop me some E-mail.
Geoffrey Giordano
INET: jeff at polyof.poly.edu (128.238.10.100)
UUCP: ...!trixie!polyof!jeff
I am in no way responsible for any lost or damaged data, period.
Use this at your own risk. It works and is stable for us here at
the Polytechnic.
Cut the following file free and run it as root.
===================================================================
# WARNING:
# if you do NOT have Version 1.4 of the TCP/IP WIN/3B applications
# then do NOT use this shell script. It will ruin your device driver.
# I am in no way responsible for any damage or headaches caused
# by this patch. Use it at your own risk.
#
# check /etc/lddrv/ether for the same checksum as the version i patched.
#
CKSUM=`sum /etc/lddrv/ether`
if [ "$CKSUM" != "10016 106 /etc/lddrv/ether" ]
then
echo "sorry, I cannot patch your version of the ethernet driver"
exit 1
fi
#
# first save old etherdriver
cp /etc/lddrv/ether /etc/lddrv/oether
# write to disk copy only, leave core copy untouched so that the system
# does not crash.
# after we are done fixing the disk copy, reboot the machine so
# that the changes can take effect.
adb -w /etc/lddrv/ether /dev/kmem <<XXX
/m 0 0 0fff0000
Untimeout+32?W 4ef90037
Untimeout+36?W 6ebc4e71
376ebc?W 2eac0004
376ec0?W 4eb90000
376ec4?W 631a4ef9
376ec8?W 0036b56a
XXX
#there, done
# now reboot the machine. If the driver is messed up
# the machine will still boot, the driver just will not
# load. If the driver does not load, move the old copy of the
# driver back and reboot again.
echo "Please reboot the system so that the changes can take effect."
More information about the Comp.sys.att
mailing list