Subject: kern/33561: auich 1.107 hangs, crashes, or just fails
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <seebs@plethora.net>
List: netbsd-bugs
Date: 05/26/2006 07:55:01
>Number:         33561
>Category:       kern
>Synopsis:       auich driver crashes system when used
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 26 07:55:00 +0000 2006
>Originator:     seebs
>Release:        NetBSD 3.99.19
>Organization:
>Environment:
System: NetBSD vash.cel.plethora.net 3.99.19 NetBSD 3.99.19 (VASH) #0: Wed May 10 22:58:54 CDT 2006 seebs@vash.cel.plethora.net:/sys/arch/i386/compile/VASH i386
Architecture: i386
Machine: i386
>Description:
	The auich driver, which used to work just fine, now crashes
	consistently on my system.

	1.  If the system sleeps and comes back, it panics immediately.
	2.  If simply used regularly, say for playing a series of mp3 files,
	it eventually fails, leaving the kernel in a state which quickly
	leads to panics.  It may be possible to run for a while getting
	errors like "unable to create pipe" for nearly any command run.
>How-To-Repeat:
	mpg123 *.mp3
>Fix:
	Not known.  This driver was working fine on my system maybe two or
	three months ago.  dmesg output attached; relevantly, this is an ICH3.

	If I had to pick a patch to blame this on, it'd be the 1.102 patch,
	but I can't easily isolate it.

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.99.19 (VASH) #0: Wed May 10 22:58:54 CDT 2006
	seebs@vash.cel.plethora.net:/sys/arch/i386/compile/VASH
total memory = 2047 MB
avail memory = 2006 MB
BIOS32 rev. 0 found at 0xfd7e0
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Mobile Pentium 4 (686-class), 1199.07 MHz, id 0xf27
cpu0: features bfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features bfebf9ff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebf9ff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: features2 4400<CID,xTPR>
cpu0: "Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz"
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64B/line 4-way
cpu0: L2 cache 512 KB 64B/line 8-way
cpu0: ITLB 4K/4M: 128 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: using thermal monitor 1
cpu0: 16 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 0x8086 product 0x1a30 (rev. 0x04)
pchb0: random number generator enabled
agp0 at pchb0: aperture at 0xe0000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x1a31 (rev. 0x04)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: vendor 0x1002 product 0x4c58 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x2482 (rev. 0x02)
uhci0: interrupting at irq 11
usbd_match
usb0 at uhci0usbd_attach
: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x2484 (rev. 0x02)
uhci1: interrupting at irq 11
usbd_match
usb1 at uhci1usbd_attach
: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x2487 (rev. 0x02)
uhci2: interrupting at irq 11
usbd_match
usb2 at uhci2usbd_attach
: USB revision 1.0
uhub2 at usb2
uhub2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ppb1 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0x42)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
cbb0 at pci2 dev 0 function 0: vendor 0x1180 product 0x0476 (rev. 0xa8)
cbb0: can't map socket base address 0x50000000
pci_io_find: expected type i/o, found mem
cbb0: can't map socket base address 0x1: io mode
cbb1 at pci2 dev 0 function 1: vendor 0x1180 product 0x0476 (rev. 0xa8)
cbb1: can't map socket base address 0x50100000
pci_io_find: expected type i/o, found mem
cbb1: can't map socket base address 0x1: io mode
fwohci0 at pci2 dev 0 function 2: vendor 0x1180 product 0x0552 (rev. 0x00)
fwohci0: interrupting at irq 11
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:06:1b:00:10:04:9d:c0
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
wi0 at pci2 dev 2 function 0: vendor 0x1260 product 0x3873 (rev. 0x01)
wi0: interrupting at irq 11
wi0: 802.11 address 00:20:e0:8d:15:f2
wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary (1.1.1), Station (1.5.6)
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
fxp0 at pci2 dev 8 function 0: Intel PRO/100 VE Network Controller, rev 66
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:d0:59:ce:f6:3c
inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cbb0: interrupting at irq 11
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3
pcmcia0 at cardslot0
cbb1: interrupting at irq 11
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 6
pcmcia1 at cardslot1
ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: vendor 0x8086 product 0x248c (rev. 0x02)
ichlpcib0: TCO (watchdog) timer configured.
ichlpcib0: SpeedStep enabled
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801CA IDE Controller (ICH3) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
vendor 0x8086 product 0x2483 (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured
auich0 at pci0 dev 31 function 5: i82801CA (ICH3) AC-97 Audio
auich0: interrupting at irq 11
auich0: ac97: Analog Devices AD1881A codec; headphone, Analog Devices Phat Stereo
auich0: ac97: ext id 1<VRA>
vendor 0x8086 product 0x2486 (modem communications, revision 0x02) at pci0 dev 31 function 6 not configured
isa0 at ichlpcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: 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
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff
npx0: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
pcppi0: attached to attimer0
apm0 at mainbus0: Advanced Power Management BIOS
apm0: Power Management spec V1.2
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
auich0: measured ac97 link rate at 47303 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
usb_event_thread: start
usb_task_thread: start
usb_event_thread: start
usb_event_thread: start
wd0 at atabus0 drive 0: <ST9120821A>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1 at atabus0 drive 1: <SAMSUNG MP0804H>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 76351 MB, 155127 cyl, 16 head, 63 sec, 512 bytes/sect x 156368016 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
wd1(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <TOSHIBA ODD-DVD SD-R6372, 5447805543, 1032> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
irframe0: SIR
irframe0 attached at tty01
umodem0 at uhub1 port 1 configuration 1 interface 0
umodem0: Motorola Inc. Motorola Phone (V360), rev 1.10/0.01, addr 2, iclass 2/2
umodem0: data interface 1, has CM over data, has no break
umodem0: status change notification available
ucom0 at umodem0