- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Adding cciss Module to RHEL 4 U 4
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2007 06:18 PM
тАО09-05-2007 06:18 PM
Adding cciss Module to RHEL 4 U 4
I am trying to install RHEL4 update 4 (kernel-2.6.9-5.EL) on HP Prolaint DL380 G5 .
while installing its not detecting the Hard Drive
DL380 G5 having HP Smart Array P400 controller and RHEL4 update 4 dos not contain this driver.
then i downloaded HP Smart Array driver "cpq_cciss-2.6.18-5.rhel4.i686.dd"
form http://h18004.www1.hp.com/support/files/server/us/download/27501.html
during installation i have provied the driver disk at boot prompt
boot : linux dd
using this driver disk i have successfully install RHEL4 update 4 on DL380 G5
its working fine .
now i am tring to insert cciss.ko driver module on initrd.img so that i can install RHEL4 on DL380 G5 with out providing the driver disk , means it will take the driver automatically .
I followed the following steps :
A ) extract the "cpq_cciss-2.6.18-5.rhel4.i686.dd.gz"
gunzip cpq_cciss-2.6.18-5.rhel4.i686.dd.gz
mount -o loop cpq_cciss-2.6.18-5.rhel4.i686.dd /mnt/scsi
mkdir /drivers
cp /mnt/* /drivers
cd /drivers
gunzip -S .cgz modules.cgz
cpio -ivd < modules
umount /mnt/scsi
so /drivers contains the following files.
modinfo
modules.pcimap
pcitable
modules.dep
rhdd
2.6.9-6.EL ( directory contains the cciss.ko driver module for HP Smart Array P400 controler)
B ) Insert cciss.ko into initrd.img and edit module-info , modules.dep , modules.pcimap , pcitable
# get the initial ramdisk image out of the RHEL4 update disk CD1
mkdir /CD1
#extract the RHEL4 iso file into /CD1
mkdir /image
cp /CD1/isolinux/initrd.img /image
cd /image
gzip -dc initrd.img > initrd.data # decompress it
# mount the ramdisk so you can access it's contents.
mount -o loop initrd.data /mnt/temp
# so we have a working copy of the compressed modules.
cp /mnt/temp/modules/modules.cgz /image
# extract the modules, which hide in a compressed cpio
gzip -dc modules.cgz > modules.cpio
# extract the modules in the ramdisk
cpio -idv < modules.cpio
# Put the HP Smart Array P400 module cciss.ko in with
the other modules. The source of your driver will vary depending on where
you get it from as mentioned earlier, but it should be in a proper kernel version
folder in the cciss driver download.
cp -p /drivers/2.6.9-5.EL/cciss.ko /image/2.6.9-5.EL/i686/
find 2.6.9-5.EL/ -depth -print | cpio -ov -H crc > modules.cpio # compress it in .cpio
gzip -c9 modules.cpio > modules.cgz # and compress it .cgz
cp -p modules.cgz /mnt/temp/modules # Put your compressed modules back in the image.
vim /mnt/temp/modules/module-info # edit the entry for the cciss to be for cciss and a text description.
cciss
scsi
"Update HP CCISS driver"
vim /mnt/temp/modules/pcitable # from the editor add the following and save:
0x103c 0x3220 "cciss" "CPQ|SAP6xx"
0x103c 0x3223 "cciss" "CPQ|SAP8xx"
0x103c 0x3230 "cciss" "CPQ|SAP4xx"
0x103c 0x3233 "cciss" "CPQ|SAE5xx"
0x103c 0x3238 "cciss" "CPQ|SAE2xx"
vim /mnt/temp/modules/modules.pcimap # from the editor add the following and save:
# pci module vendor device subvendor subdevice class class_mask driver_data
cciss 0x00000e11 0x0000b060 0xffffffff 0xffffffff 0x00000000 0x00000000 0x00000001
cciss 0x00000e11 0x0000b178 0xffffffff 0xffffffff 0x00000000 0x00000000 0x00000001
cciss 0x00000e11 0x00000046 0xffffffff 0xffffffff 0x00000000 0x00000000 0x00000001
vim /mnt/temp/modules/pci.ids # from the editor add the following line
0x103c Hewlett Packard Company
3223 Smart Array P800 Controller
3230 Smart Array P400 Controller
3233 Smart Array E500 Controller
3238 Smart Array E200 Controller
umount /mnt/temp # unmount the initrd.data now that you're done with it.
gzip -c9 initrd.data > initrd.img # compress the ramdisk back into image format.
cp -p initrd.img /CD1/isolinux/ # copy the modified ramdisk image back onto your rhel4 source disk 1.
#Create the ISO Image
mkisofs -R -J -T -no-emul-boot -boot-load-size 4 -boot-info-table -V "RHEL4-ES-U4-Disk1" -b isolinux/isolinux.bin -c isolinux/boot.cat -o RHEL4-ES-U4-Disk1.iso CD1
Now i have RHEL4-update4 disk which contains the HP Smart Array P400 controller driver module .
using this RHEL4-ES-U4-Disk1 i tried to devloyed on DL380 G5 .
while installing its detecting the Hard Drive and i am able to install linux successfully .
But the problem i am facing is that :
when i reboot the system after reboot its not loading the linux OS
the error messege i am getting
Red Hat nash version 4.1.18 starting
mkrootdev: label / not found
mount : error 2 mounting ext2
mount : error 2 mounting none
switchroot : mount faild 22
umount /initrd/dev faild 2
kernel panic not syncing
#Then i updated the in /CD1/RedHat/base/stage2.img
cd /image
mkdir /mnt/stage
mount -o loop stage2.img /mnt/stage
mkdir /image/stage-work
cd /mnt/stage
tar -cvf /image/stage2.tar .
cd /image/stage-work
tar -xvf /image/stage2.tar
cp -a /mnt/temp/modules/* /image/stage-work/modules/
mkcramfs stage-work/ stage2.img
cp stage2.img /CD1/RedHat/base/
Again i recreate the ISO and tried to install But i am getting the same error
Any help will be apreciated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2007 07:16 PM
тАО09-05-2007 07:16 PM
Re: Adding cciss Module to RHEL 4 U 4
>> mkrootdev: label / not found
Boot to Rescue Mode
Edit /etc/fstab
Replace "LABEL=/" with the Partition or Logical Volume Name.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2007 08:27 PM
тАО09-05-2007 08:27 PM
Re: Adding cciss Module to RHEL 4 U 4
/etc/fstab
/dev/cciss/c0d0p3 / ext3 defaults 1 1
(c0d0p3 is the root / partition)
and rebooted the system
again it is not working same kernel panic error
i think the steps i am following to include the driver is not correct
can you provide any link or document for the same
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2007 10:20 PM
тАО09-05-2007 10:20 PM
Re: Adding cciss Module to RHEL 4 U 4
Previous Error?
>> Red Hat nash version 4.1.18 starting
>> mkrootdev: label / not found
>> mount : error 2 mounting ext2
>> mount : error 2 mounting none
>> switchroot : mount faild 22
>> umount /initrd/dev faild 2
>> kernel panic not syncing
How about Latest Error? "label / not found" error message still exist?
Try again in Rescue Mode, replace all "LABEL=xx" entries with appropriate Partition or Logical Volume Name.
After above, post the Latest Boot Error Message & /etc/fstab content.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2007 04:32 AM
тАО09-06-2007 04:32 AM
Re: Adding cciss Module to RHEL 4 U 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2007 01:03 AM
тАО09-07-2007 01:03 AM
Re: Adding cciss Module to RHEL 4 U 4
Tried to install 5 - 6 times without success.
In the end it was bad media (RHEL DVD) that caused the problem. l just reburnt the ISO and it installed correctly.
Installs fine with kickstart as well.
It's a frustrating problem, but for me it had a quick resolution.
Have you done a full test of the hardware?
Al