Subject: kern/26204: if_txp doesn't work with 3com 3CR990B-FX, panics at boot time
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ignatios@cs.uni-bonn.de>
List: netbsd-bugs
Date: 07/08/2004 14:00:59
>Number: 26204
>Category: kern
>Synopsis: if_txp doesn't work with 3com 3CR990B-FX, panics at boot time
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 08 12:02:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Ignatios Souvatzis
>Release: NetBSD 2.0_BETA
>Organization:
computer science department, university of Bonn, Germany
>Environment:
System: NetBSD sinus 2.0_BETA NetBSD 2.0_BETA (GENERIC) #9: Thu Jul 1 14:31:57 CEST 2004 ignatios@sinus:/usr/local/src/cur/oi/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
At boot time, the if_txp driver fails to load the firmware into
our 3com 3CR990B-FX cards.
Additionally, it does this after establish()ing the interupt handler,
and doesn't disestablish it when the attach() failure is detected.
At interupt enable time, an uninitialized pointer is accessed,
causing a kernel panic.
>How-To-Repeat:
add:
device txp* at pci?....
recompile, reboot.
>Fix:
Fix: unknown.
Workaround: sys/dev/pci/if_txp.c 1.7 disestablish()es the interupt
handler, thus avoiding the kernel panic. (While the cards stays
unusable).
>Release-Note:
>Audit-Trail:
>Unformatted: