Bug 145432 - rc.sysinit doesn't load multiple scsi_hostadapter entries from /etc/modprobe.conf
rc.sysinit doesn't load multiple scsi_hostadapter entries from /etc/modprobe....
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
: 154892 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-18 08:20 EST by Andrew Ayres
Modified: 2014-03-16 22:51 EDT (History)
2 users (show)

See Also:
Fixed In Version: RHBA-2005-124
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-01-18 14:05:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andrew Ayres 2005-01-18 08:20:32 EST
Description of problem:
My computer has two scsi cards, hence in /etc/modprobe.conf I have two
scsi_hostadapter entries:

alias scsi_hostadapter aic7xxx
alias scsi_hostadapter1 aacraid

Only the first loads.

The problem is in line 177:
For module in `/sbin/modprobe -c | awk
'/^alias[[:space:]]+scsi_hostadapter[[:space:]]/ { print $3 }'` $scsi; do
        load_module $module
done

I suggest something like:
For module in `/sbin/modprobe -c | awk
'/^alias[[:space:]]+scsi_hostadapter[0-9]*[[:space:]]/ { print $3 }'`
$scsi; do
        load_module $module
done


Version-Release number of selected component (if applicable):


How reproducible:
Every time

Steps to Reproduce:
1. Have two scsi_hostadapter entries in the /etc/modprobe.conf file
2.
3.
  
Actual results:
Only first driver loaded

Expected results:
Both/all drivers to be loaded

Additional info:
Comment 1 Bill Nottingham 2005-01-18 14:05:48 EST
aacraid *still* should get loaded from the PCI probe, FWIW.

Added in CVS, will be in 8.04-1 - thanks!
Comment 2 Bill Nottingham 2005-04-14 15:14:49 EDT
*** Bug 154892 has been marked as a duplicate of this bug. ***
Comment 3 Tim Powers 2005-06-09 08:34:14 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-124.html

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