kldunload oddities

Ruslan Ermilov ru at FreeBSD.org
Tue Sep 14 11:57:46 PDT 2004


Hi there,

This is with very recent -CURRENT, I'm not sure if this problem
new or not...

When I try to unload some modules that were loaded by loader(8),
I get this strange behavior:

ru# grep _load /boot/loader.conf 
if_dc_load="YES"
snd_csa_load="YES"
apm_load="YES"
ru# kldunload snd_csa
ru# kldunload snd_csa
kldunload: can't unload file: Device busy

#1.  The first kldunload command silently exits without unloading
     the module.

#2.  Why the snd_csa.ko module cannot be unloaded -- I can unload
     the if_dc module just fine and I can also unload snd_csa if
     I load it from userland.

Anyone with explanations for these two?


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040914/7e56b5cb/attachment.bin


More information about the freebsd-current mailing list