Bug 159377 - anaconda prevents the cciss module from unloading
anaconda prevents the cciss module from unloading
Status: CLOSED DUPLICATE of bug 157622
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Kernel Maintainer List
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2005-06-02 00:04 EDT by Con Tassios
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-06-07 16:16:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Con Tassios 2005-06-02 00:04:38 EDT
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):

How reproducible:

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.

Additional info:
Comment 1 Jeremy Katz 2005-06-07 15:45:38 EDT
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.
Comment 2 Jeremy Katz 2005-06-07 16:16:12 EDT

*** This bug has been marked as a duplicate of 157622 ***

Note You need to log in before you can comment on or make changes to this bug.