Red Hat Bugzilla – Bug 99232
rmmod fails Module unloading not configured
Last modified: 2007-04-18 12:55:41 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131
Description of problem:
The default configs with the src.rpm - which the binary rpms are compiled
against does not support module unloading.
grep UNLOA ~/rpm/SOURCES/kernel-2.6.0*config
# CONFIG_MODULE_UNLOAD is not set
It would be useful to have this enabled to do more extensive testing.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2. Find a module you don't care about.
3. /sbin/rmmod <module>
Actual Results: FATAL: Kernel does not have unload support
Expected Results: Module succesfully unloaded
This is in more recent 2.6 kernel .configs by default.
Tested on 2.6.0-0.test3.1.31, cheers.