Hi All,
Why would some module's state become permanent ?
i inserted one module and when i try to remove it, i get:
ERROR: Removing 'procsfs1': Device or resource busy
<lsmod snip>
Module Size Used by
procsfs1 3204 0 [permanent] <---------
<lsmod snip>
The program code is here:
http://tldp.org/LDP/lkmpg/2.6/html/x710.html
rmmod help shows:
root@venus:/home/amit/# rmmod --h
Usage: rmmod [-fhswvV] modulename ...
-f (or --force) forces a module unload, and may crash your
machine. This requires the Forced Module Removal option
when the kernel was compiled.
i looked into the .config file under /usr/src/linux
and this seem to be the reason for even the --force option in rmmod not working:
# CONFIG_MODULE_FORCE_UNLOAD is not set
~amit
--
"Everyone has a photographic memory. Some people just don't have film."
— Mel Brooks