kern/80824: kldunload can't unload sound.ko

Eugene Grosbein eugen at kuzbass.ru
Mon May 9 15:40:09 GMT 2005


>Number:         80824
>Category:       kern
>Synopsis:       kldunload can't unload sound.ko
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 09 15:40:07 GMT 2005
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:


More information about the freebsd-bugs mailing list