From nobody@FreeBSD.org  Mon Jan 10 01:48:32 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7968916A4CF
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Jan 2005 01:48:30 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0D82643D1D
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Jan 2005 01:48:30 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j0A1mS7B021259
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Jan 2005 01:48:28 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j0A1mSOn021258;
	Mon, 10 Jan 2005 01:48:28 GMT
	(envelope-from nobody)
Message-Id: <200501100148.j0A1mSOn021258@www.freebsd.org>
Date: Mon, 10 Jan 2005 01:48:28 GMT
From: Alex Wilkinson <alex.wilkinson@dsto.defence.gov.au>
To: freebsd-gnats-submit@FreeBSD.org
Subject: xmms causes panic 
X-Send-Pr-Version: www-2.3

>Number:         76023
>Category:       kern
>Synopsis:       [panic] xmms causes panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 10 01:50:23 GMT 2005
>Closed-Date:    Mon Jul 16 12:57:46 GMT 2007
>Last-Modified:  Mon Jul 16 12:57:46 GMT 2007
>Originator:     Alex Wilkinson
>Release:        RELENG_5
>Organization:
Australian Department of Defence 
>Environment:
FreeBSD 5.3-STABLE #21: Thu Jan  6 16:45:52 CST 2005
>Description:
kernel panics randomly whilst playing mp3s via /usr/ports/multimedia/xmms.

The panic could be as soon as I press play or after 20 minutes of xmms playing. Really quite randomly.

Something to note is that the mp3's are being played over NFS automounted via AMD.

Audio Chipset:
--------------

pcm0@pci0:31:5: class=0x040100 card=0x12bc103c chip=0x24d58086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller'
    class    = multimedia
    subclass = audio

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel ICH5 (82801EB)> at io 0xf8500400, 0xf8500600 irq 17 bufsz 16384 kld snd_ich (1p/1r/0v channels duplex default)

Relevant panic:
---------------

db> show pcpu
cpuid        = 0
curthread    = 0xc266c320: pid 28 "irq18: uhci2 bt0++"
curpcb       = 0xe3744da0
fpcurthread  = none
idlethread   = 0xc26644b0: pid 11 "idle"
APIC ID      = 0
currentldt   = 0x28
db> tr
Tracing pid 28 tid 100022 td 0xc266c320
turnstile_wait(c26b0040,c06f6ac0,c2b417d0,c26b0040,0) at turnstile_wait+0x269
_mtx_lock_sleep(c06f6ac0,c266c320,0,0,0) at _mtx_lock_sleep+0x81
ithread_loop(c2661480,e3744d48,e3744d48,c0684c27,31f) at ithread_loop+0x255
fork_exit(c04e43e0,c2661480,e3744d48) at fork_exit+0x64
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xe3744d7c, ebp = 0 ---
db> show lockedvnods
Locked vnodes
db>

>How-To-Repeat:
play mp3s via /usr/ports/multimedia/xmms with the following hardware:

pcm0@pci0:31:5: class=0x040100 card=0x12bc103c chip=0x24d58086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller'
    class    = multimedia
    subclass = audio

>Fix:
I have no idea.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: vs 
Responsible-Changed-When: Wed Mar 9 20:51:46 GMT 2005 
Responsible-Changed-Why:  
Reclassify as "kern" 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76023 
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Mon Jun 11 18:39:47 UTC 2007 
State-Changed-Why:  

To submitter: Do you still see this problem on more recent versions 
of FreeBSD?  If so, can you give the ddb output from "show allpcpu"s 
please?  Are you able to obtain a core dump? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76023 
State-Changed-From-To: feedback->closed 
State-Changed-By: gavin 
State-Changed-When: Mon Jul 16 12:57:18 UTC 2007 
State-Changed-Why:  
Feedback timeout (1 month) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76023 
>Unformatted:
