Article View: comp.bugs.4bsd
Article #513DEUNA goes catatonic: 4.3bsd
From: der Mouse
Date: Mon, 19 Jan 1987 21:39
Date: Mon, 19 Jan 1987 21:39
47 lines
2090 bytes
2090 bytes
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
Technical Details
Message-ID:
<601@mcgill-vision.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcnc!philabs!micomvax!musocs!mcgill-vision!mouseShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcnc!philabs!micomvax!musocs!mcgill-vision!mouse From: mouse@mcgill-vision.UUCP (der Mouse) Newsgroups: comp.bugs.4bsd Subject: DEUNA goes catatonic: 4.3bsd Message-ID: <601@mcgill-vision.UUCP> Date: Mon, 19-Jan-87 16:39:35 EST Article-I.D.: mcgill-v.601 Posted: Mon Jan 19 16:39:35 1987 Date-Received: Thu, 22-Jan-87 03:46:52 EST Organization: McGill University, Montreal Lines: 47