NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/47871: yds, uhci shared interrupt hangs system on audio access



>Number:         47871
>Category:       kern
>Synopsis:       yds, uhci shared interrupt hangs system on audio access
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 31 20:15:00 +0000 2013
>Originator:     John D. Baker
>Release:        NetBSD-6.1_STABLE/amd64
>Organization:
>Environment:
NetBSD ratliff 6.1_STABLE NetBSD 6.1_STABLE (GENERIC) #0: Thu May 30 01:17:27 
MST 2013  
sysop@ratliff:/tera3/build/netbsd-6/obj/amd64/sys/arch/amd64/compile/GENERIC 
amd64

>Description:
On a DELL PowerEdge SC430 with Yamaha 724F installed, "uhci2" shares an
interrupt with "yds0".  Even though nothing is attached to USB ports
handled by "uhci2", accessing the audio device causes the machine to
freeze hard, requiring power-cycle to recover.

Relevant snippets from GENERIC kernel dmesg:

NetBSD 6.1_STABLE (GENERIC) #0: Thu May 30 01:17:27 MST 2013
        
sysop@ratliff:/tera3/build/netbsd-6/obj/amd64/sys/arch/amd64/compile/GENERIC
total memory = 3838 MB
avail memory = 3711 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Dell Inc.                 PowerEdge SC430              
mainbus0 (root)
[...]
uhci2 at pci0 dev 29 function 2: Intel 82801GB/GR USB UHCI Controller (rev. 
0x01)
uhci2: interrupting at ioapic0 pin 18
usb2 at uhci2: USB revision 1.0
[...]
yds0 at pci5 dev 2 function 0: Yamaha 724F (DS-1) Audio (rev. 0x03)
yds0: interrupting at ioapic0 pin 18
yds0: ac97: SigmaTel STAC9704 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D
yds0: ac97: ext id 
0xffff<SECONDARY10,SECONDARY01,AC97_23,AC97_22,AMAP,LDAC,SDAC,CDAC,VRM,SPDIF,DRA,VRA>
yds0: ac97: Slot assignment: 10&11, 3&4, 7&8.
yds0: Ignore these capabilities.
audio0 at yds0: full duplex, playback, capture, mmap, independent

>How-To-Repeat:
On a machine with uhci and yds such that yds shares interrupt with
at least one uhci device, play any audio file.
>Fix:
Workaround:  Custom kernel configuration that omits the 'uhci' instance
that shares an interrupt with 'yds'.




Home | Main Index | Thread Index | Old Index