NetBSD Problem Report #47871

From www@NetBSD.org  Fri May 31 20:13:46 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B4C707023A
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 31 May 2013 20:13:46 +0000 (UTC)
Message-Id: <20130531201344.C2708706AC@mollari.NetBSD.org>
Date: Fri, 31 May 2013 20:13:44 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@consolidated.net
To: gnats-bugs@NetBSD.org
Subject: yds, uhci shared interrupt hangs system on audio access
X-Send-Pr-Version: www-1.0

>Number:         47871
>Notify-List:    jdbaker@consolidated.net
>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
>Last-Modified:  Tue Jan 29 06:31:28 +0000 2019
>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'.

>Release-Note:

>Audit-Trail:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.