kldunload oddities

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Tue, 14 Sep 2004 21:57:43 +0300
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

Received on Tue Sep 14 2004 - 16:57:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:11 UTC