Bug 389991 - mkinitrd does not include driver module qla2xxx with "install qla2xxx..." line in modprobe.conf
mkinitrd does not include driver module qla2xxx with "install qla2xxx..." lin...
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: mkinitrd (Show other bugs)
All Linux
low Severity high
: ---
: ---
Assigned To: Brian Lane
Depends On:
  Show dependency treegraph
Reported: 2007-11-19 01:22 EST by Vikas Chaudhary
Modified: 2013-03-20 09:35 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-03-20 09:35:39 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 Vikas Chaudhary 2007-11-19 01:22:14 EST
Description of problem: driver module qla2xxx does not get included in new 
initrd image with mkinitrd command if /etc/modprobe.conf contain line 
"install qla2xxx /sbin/modprobe qla2xxx_conf; /sbin/modprobe --ignore-install 

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

How reproducible: build initrd image.

Steps to Reproduce:
1. Add following lines to /etc/modprobe.conf

install qla2xxx /sbin/modprobe qla2xxx_conf; /sbin/modprobe --ignore-install 
remove qla2xxx /sbin/modprobe -r --first-time --ignore-remove qla2xxx && { /
sbin/modprobe -r --ignore-remove qla2xxx_conf; }
alias qla2100 qla2xxx
alias qla2200 qla2xxx
alias qla2300 qla2xxx
alias qla2322 qla2xxx
alias qla2400 qla2xxx
options qla2xxx ql2xfailover=0 ConfigRequired=1 ql2xenablezio=1 
alias scsi_hostadapter qla2xxx_conf
alias scsi_hostadapter1 qla2xxx

2. make new initrd image with mkinitrd command
# mkinitrd -f /boot/initrd-2.6.18-52.el5.img 2.6.18-52.el5 --preload 
qla2xxx_conf --preload qla2xxx

3. extract initrd image to verify qla2xxx included in initrd image or not
Actual results: driver module qla2xxx is not included in new initrd image.

Expected results: driver module qla2xxx must get included in new initrd image 
as "alias scsi_hostadapter1 qla2xxx" line is present in /etc/modprobe.conf

Additional info: 
# modprobe --show-depends qla2xxx
insmod /lib/modules/2.6.18-52.el5/kernel/kernel/intermodule.ko
insmod /lib/modules/2.6.18-52.el5/kernel/drivers/scsi/scsi_mod.ko
install /sbin/modprobe qla2xxx_conf; /sbin/modprobe --ignore-install qla2xxx

This command is used inside mkinitrd script to select driver modules to be 
included in initrd image. 

Here qla2xxx module line start with "install". mkinitrd script look for module 
start with "insmod". Due to this the qla2xxx.ko is not included in the initrd.
Comment 1 David Cantrell 2013-03-20 09:35:39 EDT
Closing due to age and it's never come up as requested for any update release.  If it's something we should consider, please reopen and request it for a specific RHEL update release.

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