From edwin@mavetju.org  Fri Dec 23 02:48:31 2005
Return-Path: <edwin@mavetju.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id ED16816A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Dec 2005 02:48:31 +0000 (GMT)
	(envelope-from edwin@mavetju.org)
Received: from mail2out.barnet.com.au (mail2out.barnet.com.au [202.83.176.14])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CA41143D5E
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Dec 2005 02:48:30 +0000 (GMT)
	(envelope-from edwin@mavetju.org)
Received: by mail2out.barnet.com.au (Postfix, from userid 27)
	id 34B3C7073B4; Fri, 23 Dec 2005 13:48:28 +1100 (EST)
Received: from mail2-auth.barnet.com.au (mail2.barnet.com.au [202.83.176.13])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "*.barnet.com.au", Issuer "BarNet Root Certificate Authority" (verified OK))
	by mail2.barnet.com.au (Postfix) with ESMTP id 019897073AD
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Dec 2005 13:48:28 +1100 (EST)
Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2])
	by mail2-auth.barnet.com.au (Postfix) with ESMTP id 6F8C27073AB
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Dec 2005 13:48:27 +1100 (EST)
Received: by k7.mavetju (Postfix, from userid 1001)
	id 00A334C7; Fri, 23 Dec 2005 13:46:49 +1100 (EST)
Message-Id: <20051223024650.00A334C7@k7.mavetju>
Date: Fri, 23 Dec 2005 13:46:49 +1100 (EST)
From: Edwin Groothuis <edwin@mavetju.org>
Reply-To: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: PCM - ICH6 - device is busy, but old process doesn't exist anymore
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         90837
>Category:       kern
>Synopsis:       [sound] PCM - ICH6 - device is busy, but old process doesn't exist anymore
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 23 02:50:03 GMT 2005
>Closed-Date:    Sun Nov 27 20:11:10 UTC 2011
>Last-Modified:  Sun Nov 27 20:11:10 UTC 2011
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386


>Description:

newpcm driver doesn't realize that an old process doesn't exist
anymore and I thus can't use it anymore:

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel ICH6 (82801FB)> at io 0xf4001000, 0xf4002000 irq 17 bufsz 16384 kld snd_ich (1p/1r/0v channels duplex default)
	[pcm0:play:0]: spd 22050/48000, fmt 0x00000020/0x10000010, flags 0x00001030, 0x00000010, pid 9704
	interrupts 164390, underruns 164361, ready 0
	{userland} -> feeder_root(0x00000020) -> feeder_monotostereo16(0x00000020 -> 0x10000020) -> feeder_endian(0x10000020 -> 0x10000010) -> feeder_rate(22050 -> 48000) -> {hardware}
	[pcm0:record:0]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000
	interrupts 0, overruns 0, hfree 16384, sfree 0
	{hardware} -> feeder_root(0x00000000) -> {userland}

No messages in /var/log/messages.

>How-To-Repeat:

I think it happened when net-im/gaim received a message while
multimedia/xmms was just starting up, but haven't been able to
reproduce it up to now.

>Fix:

-
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Sun Nov 27 16:13:47 UTC 2011 
State-Changed-Why:  
Is this still a problem for you? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90837 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Sun Nov 27 20:11:09 UTC 2011 
State-Changed-Why:  
Closed at submitter's request. 

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