NetBSD Problem Report #3355
Received: (qmail-queue invoked from smtpd); 18 Mar 1997 20:50:01 -0000
Message-Id: <199703182046.VAA00465@lyssa.owl.de>
Date: Tue, 18 Mar 1997 21:46:29 +0100 (MET)
From: Matthias Scheler <tron@lyssa.owl.de>
Reply-To: tron@lyssa.owl.de
To: gnats-bugs@gnats.netbsd.org
Subject: if_de causes panic on media change
X-Send-Pr-Version: 3.95
>Number: 3355
>Category: kern
>Synopsis: if_de causes panic on media change
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: thorpej
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 18 13:05:01 +0000 1997
>Closed-Date: Mon Mar 24 00:12:16 +0000 1997
>Last-Modified: Mon Mar 24 00:12:29 +0000 1997
>Originator: Matthias Scheler
>Release: 970317
>Organization:
Matthias Scheler http://home.pages.de/~tron/
>Environment:
System: NetBSD lyssa 1.2D NetBSD 1.2D (LYSSA) #4: Tue Mar 18 21:15:25 MET 1997 tron@lyssa:/usr/src/sys/arch/i386/compile/LYSSA i386
>Description:
Hoping for a fix for kern/3141 I installed a kernel with media support today.
After the reboot I checked the media type:
tron@lyssa:~>ifconfig de0
de0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST>
media: autoselect status: no carrier
inet 194.121.202.186 netmask 0xfffffff8 broadcast 194.121.202.191
Although the driver had a different opinion about that the network worked
fine via the AUI/BNC port. Now I tried to change it to BNC manually
with "ifconfig de0 media bnc" and got a panic:
reboot after panic: tulip_media_poll: botch at 769
I checked the sources and found out that the panic is caused by this
"switch" statement in "tulip_media_poll":
switch (sc->tulip_probe_state) {
...
default: {
#if defined(DIAGNOSTIC)
panic("tulip_media_poll: botch at line %d\n", __LINE__);
#endif
break;
}
I tried to modify the kernel to print the contents of "sc->tulip_probe_state"
but the damned bug doesn't occur with such a modified kernel. :-(
>How-To-Repeat:
ifconfig de0
ifconfig de0 media bnc
>Fix:
Sorry, I don't even know how to trace it.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed
State-Changed-By: thorpej
State-Changed-When: Tue Mar 18 20:42:58 PST 1997
State-Changed-Why:
There were a few bugs related to media selection in the previous Tulip
update. I have since updated the driver again with code supplied
by Matt Thomas. After tomorrow's SUP, please let me know if it fixes
the problem.
Responsible-Changed-From-To: kern-bug-people->thorpej
Responsible-Changed-By: thorpej
Responsible-Changed-When: Tue Mar 18 20:42:58 PST 1997
Responsible-Changed-Why:
I'm handling updates of the Tulip driver.
State-Changed-From-To: analyzed->feedback
State-Changed-By: thorpej
State-Changed-When: Tue Mar 18 20:44:31 PST 1997
State-Changed-Why:
Oops, I meant to put that in "feedback", not "analyzed".
State-Changed-From-To: feedback->closed
State-Changed-By: thorpej
State-Changed-When: Sun Mar 23 16:12:16 PST 1997
State-Changed-Why:
Author confirms closure w/ latest version of de driver.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.