From eugen@grosbein.pp.ru  Mon May  9 15:38:49 2005
Return-Path: <eugen@grosbein.pp.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 76F4C16A4EA
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  9 May 2005 15:38:49 +0000 (GMT)
Received: from grosbein.pp.ru (grgw.svzserv.kemerovo.su [213.184.64.130])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7193243D9B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  9 May 2005 15:38:45 +0000 (GMT)
	(envelope-from eugen@grosbein.pp.ru)
Received: from grosbein.pp.ru (localhost [127.0.0.1])
	by grosbein.pp.ru (8.13.3/8.13.1) with ESMTP id j49FciO7000765
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 9 May 2005 23:38:44 +0800 (KRAST)
	(envelope-from eugen@grosbein.pp.ru)
Received: (from eugen@localhost)
	by grosbein.pp.ru (8.13.3/8.13.1/Submit) id j49FchCs000764;
	Mon, 9 May 2005 23:38:43 +0800 (KRAST)
	(envelope-from eugen)
Message-Id: <200505091538.j49FchCs000764@grosbein.pp.ru>
Date: Mon, 9 May 2005 23:38:43 +0800 (KRAST)
From: Eugene Grosbein <eugen@kuzbass.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: kldunload can't unload sound.ko
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         80824
>Category:       kern
>Synopsis:       [sound] kldunload can't unload sound.ko
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-multimedia
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 09 15:40:07 GMT 2005
>Closed-Date:    Wed Dec 28 19:56:37 GMT 2005
>Last-Modified:  Thu Dec 29 11:30:06 GMT 2005
>Originator:     Eugene Grosbein
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
Svyaz Service JSC
>Environment:
System: FreeBSD grosbein.pp.ru 5.4-STABLE FreeBSD 5.4-STABLE #2: Mon May 9 23:12:18 KRAST 2005 root@grosbein.pp.ru:/mnt/old/home/obj/usr/local/src/sys/DADV i386

>Description:
	
	It's impossible to unload sound.ko

>How-To-Repeat:

	Boot to the single user mode using a kernel without device sound
	compiled in:

Enter full pathname of shell or RETURN for /bin/sh:
# kldload /boot/modules/sound.ko
# kldunload sound.ko
kldunload: can't unload file: Device busy
# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:

	Note there is not consumers of sound in a system jet - single
	user mode and no hardware detected. Module sound.ko should
	be unloadable.

>Fix:

	Unknown.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sound 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon May 9 18:23:53 GMT 2005 
Responsible-Changed-Why:  
Reassign to appropriate mailing list. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80824 
State-Changed-From-To: open->closed 
State-Changed-By: netchild 
State-Changed-When: Wed Dec 28 19:56:28 UTC 2005 
State-Changed-Why:  
This is fixed in -current. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80824 

From: Eugene Grosbein <eugen@kuzbass.ru>
To: Alexander Leidinger <netchild@FreeBSD.org>
Cc: bug-followup@FreeBSD.org, eugen@kuzbass.ru, freebsd-multimedia@FreeBSD.org
Subject: Re: kern/80824: [sound] kldunload can't unload sound.ko
Date: Thu, 29 Dec 2005 11:28:02 +0700

 On Wed, Dec 28, 2005 at 07:56:35PM +0000, Alexander Leidinger wrote:
 
 > Synopsis: [sound] kldunload can't unload sound.ko
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: netchild
 > State-Changed-When: Wed Dec 28 19:56:28 UTC 2005
 > State-Changed-Why: 
 > This is fixed in -current.
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=80824
 
 Shouldn't this PR be in 'patched' state until MFC?
 
 Eugene Grosbein

From: Alexander Leidinger <netchild@FreeBSD.org>
To: Eugene Grosbein <eugen@kuzbass.ru>
Cc: bug-followup@FreeBSD.org, eugen@kuzbass.ru, freebsd-multimedia@FreeBSD.org
Subject: Re: kern/80824: [sound] kldunload can't unload sound.ko
Date: Thu, 29 Dec 2005 12:28:11 +0100

 On Thu, 29 Dec 2005 11:28:02 +0700
 Eugene Grosbein <eugen@kuzbass.ru> wrote:
 
 > On Wed, Dec 28, 2005 at 07:56:35PM +0000, Alexander Leidinger wrote:
 > 
 > > Synopsis: [sound] kldunload can't unload sound.ko
 > > 
 > > State-Changed-From-To: open->closed
 > > State-Changed-By: netchild
 > > State-Changed-When: Wed Dec 28 19:56:28 UTC 2005
 > > State-Changed-Why: 
 > > This is fixed in -current.
 > > 
 > > http://www.freebsd.org/cgi/query-pr.cgi?pr=80824
 > 
 > Shouldn't this PR be in 'patched' state until MFC?
 
 We don't need a reminder for the MFC, we're in the process to get the
 code in -current into a shape where we can MFC it. It's the big goal
 ATM.
 
 Bye,
 Alexander.
 
 -- 
               The best things in life are free, but the
                 expensive ones are still worth a look.
 
 http://www.Leidinger.net                       Alexander @ Leidinger.net
   GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
>Unformatted:
