NetBSD Problem Report #26131

Received: (qmail 13568 invoked by uid 605); 1 Jul 2004 08:44:19 -0000
Message-Id: <1088671456.073368.1781.nullmailer@sinus.cs.uni-bonn.de>
Date: Thu, 01 Jul 2004 10:44:16 +0200
From: ignatios@cs.uni-bonn.de
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: ignatios@cs.uni-bonn.de
To: gnats-bugs@gnats.netbsd.org
Subject: 3c990B fails to attach and panics kernel at interupt enable time
X-Send-Pr-Version: 3.95

>Number:         26131
>Category:       kern
>Synopsis:       3c990B fails to attach and panics kernel at interupt enable time
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 01 08:45:00 +0000 2004
>Closed-Date:    Thu Jan 26 12:33:59 +0000 2023
>Last-Modified:  Thu Jan 26 12:33:59 +0000 2023
>Originator:     
>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) #6: Thu Jul 1 10:14:49 CEST 2004 ignatios@sinus:/usr/local/src/cur/oi/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	A 3c990B card is plugged into this machine's PCI bus. 
After adding the txp driver to the configuration, it is detected, but
initialization fails with

txp0 at pci0 dev 9 function 0: 3Com 3c990B 10/100 Ethernet with 3XP
txp0: interrupting at irq 5
: not waiting for boot

The last message is output by the firmware download routine when it 
doesn't detect some bit going active, and ...attach() fails.

However, this happens after pci_intr_establish(), so later at
interupt enable time, the kernel crashes in txp_intr().

>How-To-Repeat:
add:
	txp* at pci? ...

config, make depend, make, make install, reboot

>Fix:
	Fix not known.
	Workarounds:
	don't use that card	or
	don't configure it	or
	disestablish interupt on attach() failure,
	like in sys/dev/pci/if_txp.c 1.7.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: is@NetBSD.org
State-Changed-When: Thu, 26 Jan 2023 12:33:59 +0000
State-Changed-Why:
Duplicate of 26204


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.