Subject: kern/37411: Hard reset when playing audio (1394 vs. audio?)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <jpeterson275@comcast.net>
List: netbsd-bugs
Date: 11/21/2007 09:15:00
>Number:         37411
>Category:       kern
>Synopsis:       Hard reset when playing audio (1394 vs. audio?)
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 21 09:15:00 +0000 2007
>Originator:     Jesse Peterson
>Release:        NetBSD 4.0_RC4
>Organization:
>Environment:
NetBSD localhost 4.0_RC4 NetBSD 4.0_RC4 (GENERIC) #0: Thu Nov  8 00:11:53 PST 2007  builds@wb28:/home/builds/ab/netbsd-4-0-RC4/amd64/200711080452Z-obj/home/builds/ab/netbsd-4-0-RC4/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
When my motherboard's (AOpen vK8T800a-LF) IEEE 1394 bus (VIA VT6306) is enabled and I attempt to play audio (from XMMS) out of it's built-in auvia card about 5-7 seconds of seemingly decent correct output of audio the system hard resets. No panic, no freeze, straight and immediate soft reset - the machine start booting again.

Confused I noticed a loud "click" out of the audio near to the line where my fwohci0 controller was getting detected. I disabled the controller in the BIOS and I could then use audio successfully.

Interesting the loud "click" is still there and the next-line after the fwohci0 detection happened which was the enabling of the ioapic0.

Firewire controller:

fwohci0 at pci0 dev 12 function 0: VIA Technologies VT6306 IEEE 1394 Host Controller (rev. 0x46)
fwohci0: interrupting at ioapic0 pin 21 (irq 3) 
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:01:80:13:94:5f:ba:f0
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)

Audio device:

auvia0 at pci0 dev 17 function 5: VIA Technologies VT8237 AC'97 Audio (rev 0x60)
auvia0: interrupting at ioapic0 pin 22 (irq 7)  
auvia0: ac97: Avance Logic ALC850 codec; no 3D stereo
auvia0: ac97: ext id 9c6<AC97_23,LDAC,SDAC,CDAC,SPDIF,DRA>
audio0 at auvia0: full duplex, independent

>How-To-Repeat:
1. Install 4.0_RC4, X11, XMMS (from pkgsrc), play audio on this hardware.
2. Watch machine reset after 5-8 seconds.
3. Disable Firewire controller in BIOS.
4. Successfully listen to audio longer than 5-8 seconds.
>Fix: