Problem build initrd file
Don Leslie
donald_m_leslie at raytheon.com
Thu Mar 22 19:24:22 EDT 2007
I have a RHEL3 system which boots from scsi disk .
There is also LSI 1030 scsi controller for a HP Ultrium tape drive . I
did the following
to add the new drivers ( per Lsi web page ).
cd /usr/src/linux-2.4.21-27.EL
tar zxvf /home/urdge/LSIdriver/fusion-2.05.16.tgz
tar tzvf /home/urdge/LSIdriver/fusion-2.05.16.tgz
drwxr-xr-x root/root 0 2004-04-26 15:17:22 fusion/
drwxr-xr-x root/root 0 2004-04-26 15:19:24 fusion/lsi/
-rw------- root/root 32113 2004-04-26 15:19:24 fusion/lsi/mpi.h
-rw------- root/root 104949 2004-04-26 15:19:24 fusion/lsi/mpi_cnfg.h
-rw------- root/root 17696 2004-04-26 15:19:24 fusion/lsi/mpi_fc.h
-rw------- root/root 9422 2004-04-26 15:19:24 fusion/lsi/mpi_inb.h
-rw------- root/root 17578 2004-04-26 15:19:24 fusion/lsi/mpi_init.h
-rw------- root/root 37524 2004-04-26 15:19:24 fusion/lsi/mpi_ioc.h
-rw------- root/root 9706 2004-04-26 15:19:24 fusion/lsi/mpi_lan.h
-rw------- root/root 10259 2004-04-26 15:19:24 fusion/lsi/mpi_raid.h
-rw------- root/root 8419 2004-04-26 15:19:24 fusion/lsi/mpi_sas.h
-rw------- root/root 22672 2004-04-26 15:19:24 fusion/lsi/mpi_targ.h
-rw------- root/root 15262 2004-04-26 15:19:24 fusion/lsi/mpi_tool.h
-rw------- root/root 2284 2004-04-26 15:19:24 fusion/lsi/mpi_type.h
-rw------- root/root 5997 2004-04-26 15:19:24 fusion/lsi/fc_log.h
-rw------- root/root 15679 2004-04-26 15:19:24
fusion/lsi/mpi_history.txt
-rw-r----- root/root 1237 2004-02-04 20:53:06 fusion/Config.in
-rw-r--r-- root/root 9178 2004-03-15 01:15:17 fusion/linux_compat.h
-rw-r--r-- root/root 2203 2004-03-16 13:00:16 fusion/Makefile
-rw-r--r-- root/root 45398 2004-03-15 01:15:17 fusion/ascq_tbl.c
-rwxr-x--- root/root 3080 2004-02-04 20:53:06 fusion/ascq_tbl.sh
-rw-r--r-- root/root 4703 2004-03-15 01:15:17 fusion/isense.c
-rw-r--r-- root/root 2803 2004-03-15 01:15:17 fusion/isense.h
-rw-r--r-- root/root 89064 2004-03-16 11:08:12 fusion/mptctl.c
-rw-r--r-- root/root 13501 2004-03-15 01:15:17 fusion/mptctl.h
-rw-r--r-- root/root 49451 2004-03-15 01:15:17 fusion/mptlan.c
-rw-r--r-- root/root 2417 2004-03-15 01:15:17 fusion/mptlan.h
-rw-r--r-- root/root 216324 2004-03-16 11:02:00 fusion/mptscsih.c
-rw-r--r-- root/root 10181 2004-03-15 01:15:17 fusion/mptscsih.h
-rw-r--r-- root/root 21887 2004-03-15 01:15:17 fusion/scsi3.h
-rw-r--r-- root/root 9267 2004-03-15 01:15:17 fusion/scsiops.c
-rw-r--r-- root/root 34580 2004-03-16 13:00:16 fusion/mptbase.h
-rw-r--r-- root/root 170805 2004-03-15 01:36:28 fusion/mptbase.c
cp fusion/Config.in drivers/message/fusion
cp fusion/Makefile drivers/message/fusion
make dep
make clean
make bzImage
make modules
make modules_install
mkinitrd initrd-2.4.21-27-mpt_scsi.EL_SNARE096.img 2.4.21-27.EL
cp initrd-2.4.21-27-mpt_scsi.EL_SNARE096.img /boot/
cp arch/i386/boot/bzImage /boot/vmlinux-2.4.21-27-mpt_scsi
Updated grub
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Enterprise Linux WS (2.4.21-27.EL_SNARE096)
root (hd0,0)
kernel /vmlinuz-2.4.21-27.EL_SNARE096 ro root=LABEL=/ hda=ide-scsi
initrd /initrd-2.4.21-27.EL_SNARE096.img
title Red Hat Enterprise Linux WS (2.4.21-27.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-27.EL ro root=LABEL=/ hda=ide-scsi
initrd /initrd-2.4.21-27.EL.img
title Red Hat Enterprise Linux WS (2.4.21-27.EL mpt scsi)
root (hd0,0)
kernel /vmlinux-2.4.21-27-mpt_scsi ro root=LABEL=/ hda=ide-scsi
initrd /initrd-2.4.21-27-mpt_scsi.EL_SNARE096.img
At boot I get :
Cannot open root device LABEL=/ or 00:00
Please append a correct "root=" boot option
Unable to mount root fs on 00:00
Any suggestions?
More information about the gnhlug-discuss
mailing list