Subject: kern/25267: kernel hangs up when bge(4) is down and an intrrupt occurred
To: None <gnats-bugs@gnats.NetBSD.org>
From: HITOSHI Osada <QFH02545@nifty.com>
List: netbsd-bugs
Date: 04/21/2004 12:59:14
>Number: 25267
>Category: kern
>Synopsis: kernel hangs up when bge(4) is down and an intrrupt occurred
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 21 04:00:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: HITOSHI Osada
>Release: NetBSD 2.0C
>Organization:
>Environment:
System: NetBSD that 2.0C NetBSD 2.0C (THATK7) #0: Mon Apr 19 06:42:26 JST 2004 that@that:/Sources/NetBSD-src/current/obj/sys/arch/i386/compile/THATK7 i386
Architecture: i386
Machine: i386
NetBSD 2.0C (THATK7) #0: Mon Apr 19 06:42:26 JST 2004
that@that:/Sources/NetBSD-src/current/obj/sys/arch/i386/compile/THATK7
total memory = 511 MB
avail memory = 498 MB
BIOS32 rev. 0 found at 0xfb5d0
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon (686-class), 1300.02 MHz, id 0x680
cpu0: features c3cbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features c3cbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,MMXX,MMX>
cpu0: features c3cbfbff<FXSR,SSE,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64b/line 2-way, D-cache 64 KB 64b/line 2-way
cpu0: L2 cache 256 KB 64b/line 16-way
cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
cpu0: 8 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1039 product 0x0746 (rev. 0x10)
agp0 at pchb0: aperture at 0xd0000000, size 0x8000000
ppb0 at pci0 dev 1 function 0: vendor 0x1039 product 0x0002 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: vendor 0x102b product 0x2527 (rev. 0x01)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 2 function 0
pcib0: vendor 0x1039 product 0x0008 (rev. 0x25)
siside0 at pci0 dev 2 function 5
siside0: Silicon Integrated System 96X UDMA6746 IDE controller (rev. 0x00)
siside0: bus-master DMA support present
siside0: primary channel wired to compatibility mode
siside0: primary channel interrupting at irq 14
atabus0 at siside0 channel 0
siside0: secondary channel wired to compatibility mode
siside0: secondary channel interrupting at irq 15
atabus1 at siside0 channel 1
auich0 at pci0 dev 2 function 7: SiS 7012 AC-97 Audio
auich0: interrupting at irq 10
auich0: ac97: Avance Logic ALC650 codec; 20 bit DAC, 18 bit ADC, Realtek 3D
auich0: ac97: ext id 5c7<AC97_22,LDAC,SDAC,CDAC,SPDIF,DRA,VRA>
ohci0 at pci0 dev 3 function 0: vendor 0x1039 product 0x7001 (rev. 0x0f)
ohci0: interrupting at irq 11
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x1039 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 3 function 1: vendor 0x1039 product 0x7001 (rev. 0x0f)
ohci1: interrupting at irq 9
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x1039 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
vendor 0x1039 product 0x7002 (USB serial bus, interface 0x20) at pci0 dev 3 function 3 not configured
sip0 at pci0 dev 4 function 0: SiS 900 10/100 Ethernet, rev 0x90
sip0: interrupting at irq 5
sip0: Ethernet address 00:d0:68:02:15:fe
ukphy0 at sip0 phy 9: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000004, model 0x0020, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bge0 at pci0 dev 8 function 0: Broadcom BCM5701 Gigabit Ethernet
bge0: interrupting at irq 10
bge0: ASIC BCM5701 B5 (0x0105), Ethernet address 00:02:a5:e7:1a:fc
brgphy0 at bge0 phy 1: BCM5701 1000BASE-T media interface, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
esiop0 at pci0 dev 11 function 0: Symbios Logic 53c1010-33 (ultra3-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at irq 11
scsibus0 at esiop0: 16 targets, 8 luns per target
esiop1 at pci0 dev 11 function 1: Symbios Logic 53c1010-33 (ultra3-wide scsi)
esiop1: using on-board RAM
esiop1: interrupting at irq 11
scsibus1 at esiop1: 16 targets, 8 luns per target
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lm0 at isa0 port 0x290-0x297: W83697HF
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
auich0: measured ac97 link rate at 48001 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST318432LW, 0020> disk fixed
sd0: 17501 MB, 18496 cyl, 4 head, 484 sec, 512 bytes/sect x 35843670 sectors
sd0: sync (12.50ns offset 62), 16-bit (160.000MB/s) transfers, tagged queueing
wd0 at atabus0 drive 0: <Maxtor 5A300J0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 279 GB, 581290 cyl, 16 head, 63 sec, 512 bytes/sect x 585940320 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(siside0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA data transfers)
wd1 at atabus1 drive 0: <Maxtor 5A300J0>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 279 GB, 581290 cyl, 16 head, 63 sec, 512 bytes/sect x 585940320 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(siside0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA data transfers)
boot device: sd0
root on sd0a dumps on sd0b
>Description:
The kernel hangs up when
1. bge(4) is down.
2. An interrupt occurred with the device which shares same IRQ.
>How-To-Repeat:
At my environment,
# ifconfig bge0 down
# cat /dev/zero > /dev/audio
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: