mouse@mcgill-vision.UUCP (der Mouse) (01/20/87)
Index: sys/vaxif/if_de.c 4.3bsd
Description:
It is possible for the DEUNA driver to make the card go
catatonic (ie, no response at all - as if everyone else on the
cable suddenly disappeared). The problem is that the driver
will issue a reset (RSET) command to the card but not wait for
it to finish.
This is actually on Mt. Xinu's 4.3+NFS, but I assume the bug is
present in vanilla 4.3, because I figure Mt. Xinu is more
likely to fix bugs than introduce bugs - particularly a bug as
obvious (once noticed) as this.
Repeat-By:
% ifconfig de0 down; ifconfig de0 up
It is crucial that the ifconfig up runs very soon after the
ifconfig down.
Do this only if you can reboot the machine, because that's the
only way I know of to fix it once you've made it go dead.
Fix:
(your line numbers will almost certainly vary; we have more
than just this fix in the driver.)
*** sys/vaxif/if_de.c Mon Jan 19 16:20:08 1987
--- original/vaxif/if_de.c Thu Nov 20 23:29:27 1986
***************
*** 777,783 ****
ds->ds_flags & DSF_RUNNING) {
((struct dedevice *)
(deinfo[ifp->if_unit]->ui_addr))->pclow = PCSR0_RSET;
- dewait(deinfo[ifp->if_unit],"reset");
ds->ds_flags &= ~(DSF_LOCK | DSF_RUNNING);
} else if (ifp->if_flags & IFF_UP &&
(ds->ds_flags & DSF_RUNNING) == 0)
--- 752,757 ----
der Mouse
USA: {ihnp4,decvax,akgua,utzoo,etc}!utcsri!mcgill-vision!mouse
think!mosart!mcgill-vision!mouse
Europe: mcvax!decvax!utcsri!mcgill-vision!mouse
ARPAnet: think!mosart!mcgill-vision!mouse@harvard.harvard.edu