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

Eugene Grosbein eugen at
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 09 15:40:07 GMT 2005
>Originator:     Eugene Grosbein
>Release:        FreeBSD 5.4-STABLE i386
Svyaz Service JSC
System: FreeBSD 5.4-STABLE FreeBSD 5.4-STABLE #2: Mon May 9 23:12:18 KRAST 2005 root at i386

	It's impossible to unload sound.ko


	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.



More information about the freebsd-bugs mailing list