Red Hat Configuration - Adding SATA drivers to RH 8.0

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Configuration > January 2004 > Adding SATA drivers to RH 8.0





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Adding SATA drivers to RH 8.0
Dennis Peere

2004-01-23, 7:27 pm

Dear,

I'm having some trouble installing a Promise SATA150 TX2 Plus card
unattended on RedHat 8.0.
I'd want to perform an unattended harddrive installation from a DOS
partition that contains the RedHat rpm's and my extra software.
I downloaded the drivers (pdc-ultra.o) and added them in the initrd.img that
I use during installation.
I have have made the following script to load the driver after installation:
#!/bin/bash
INSTALL=/mnt/dos/install
HDCTRL=SATA150
cp $INSTALL/drivers/promise/pdc-ultra.o
/lib/modules/2.4.18-14/kernel/drivers/scsi >/dev/null 2>&1
cp -f /etc/rc.d/rc.sysinit /etc/rc.d/rc.sysinit.orig
sed -e '/depmod -A/s/depmod -A/depmod -Aq/' /etc/rc.d/rc.sysinit
quote:

>/tmp/.rc.sysinit.tmp


mv -f /tmp/.rc.sysinit.tmp /etc/rc.d/rc.sysinit
chmod 755 /etc/rc.d/rc.sysinit
echo "insmod scsi_mod
insmod sd_mod
insmod pdc-ultra" >>/etc/rc.modules
case $HDCTRL in
SATA150)
cp /etc/lilo.conf /tmp/lilo.orig
cp -f $INSTALL/drivers/promise/lilo.conf /etc/
chmod 600 /etc/lilo.conf
/sbin/lilo;;
*)
echo "Error during controller detection";;
esac
After installation (and before I reboot) the /etc/lilo.conf looks like this.
default=linux
boot/dev/sda
map=/boot/map
install=/boot/boot.b
restricted
message=/boot/message
lba32
image=/boot/vmlinuz-2.4.18-14
label=linux
root=/dev/sda2
initrd=/boot/initrd-2.4.18-14.img
read-only
other=/dev/sda1
optional
label=DOS
Installation runs perfect now but the driver is not loaded when I reboot
after installation.
I get an error message stating:
VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00

Can someone please help me out here ?
Thnx in advance,

Dennis




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com