Bug 389991 - mkinitrd does not include driver module qla2xxx with "install qla2xxx..." line in modprobe.conf
Summary: mkinitrd does not include driver module qla2xxx with "install qla2xxx..." lin...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: mkinitrd
Version: 5.1
Hardware: All
OS: Linux
low
high
Target Milestone: ---
: ---
Assignee: Brian Lane
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-19 06:22 UTC by Vikas Chaudhary
Modified: 2013-03-20 13:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-20 13:35:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vikas Chaudhary 2007-11-19 06:22:14 UTC
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 
qla2xxx"


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

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 
qla2xxx
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 
MaxRetriesPerIo=100
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 13:35:39 UTC
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.