Red Hat Bugzilla – Bug 159377
anaconda prevents the cciss module from unloading
Last modified: 2007-11-30 17:07:18 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050519 Firefox/1.0.4
Description of problem:
I use the %pre section in kickstart scripts to create RAID volumes on HP SmartArray controllers using the HP hpacucli utility. In order for the cciss driver to read the new controller configuration, the cciss module must be reloaded.
On RHEL3, an 'rmmod cciss' is successful, but on RHEL4 the module cannot be unloaded because it is in use. It appears that anaconda is holding this resource preventing cciss from being removed. The 'Used by' column in lsmod shows the count equivalent to the number of logical drives presented by the controller at bootup.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.rmmod cciss in %pre section of kickstart script
Actual Results: cciss module fails to unload as it is in use
Expected Results: module should unload.
anaconda isn't doing anything to keep devices open. But rmmod for modules isn't
guaranteed... it's possible that this is occurring within the cciss driver.
*** This bug has been marked as a duplicate of 157622 ***