|
Home > Archive > Red Hat Configuration > January 2004 > Adding Promise SATA 150TX2Plus drivers to RedHat 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 Promise SATA 150TX2Plus drivers to RedHat 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.sysinitquote:
>/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
| |
| JL Woodruff 2004-01-23, 7:27 pm |
| Dennis Peere wrote:quote:
> 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
>
>
> 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
>
>
Hello. The message:
VFS: Cannot open root device "LABEL=/" or 00:00quote:
> Please append a correct "root=" boot option
> Kernel panic: VFS: Unable to mount root fs on 00:00
is familiar to me. Is sounds like a labeling problem. In the /sbin
directory there is a utility that will give your /dev/sda2 the label
"/". It's called "e2label" and also change label to label=/. I hope
that will help!
-Jason
--
***3 Client load***
1 Red Hat Linux 9.0 (Dell | Inspiron 4150)
1 Windows ME
1 Windows XP Home Edition
***Server***
1 Windows 2000 Pro using ICS
1 Samba Server on Red Hat Linux 7.2
(also runs a Counter-Strike 1005 Server)
***Modem Parameters***
Modem Cluster 4
Modem Subcluster 3
***Software***
StarBand Model 360 version 4.0.0.15
Internet Page Accelerator version 1.0.14
NettGain2000 version - 1.3.12-002
Deterministic Network Enhancer Adapter version 2.11.7.4
Winproxy for Starband - Don't buy it! It sucks!
http://jlwoodruff.mystarband.net
| |
| Dennis Peere 2004-01-23, 7:27 pm |
|
"JL Woodruff" <nitrolinux@damnspamhasalreadygotme.net> wrote in message
news:8WABb.3379$i21.805563426@twister1.starband.net...quote:
> Dennis Peere wrote:
that[QUOTE][color=darkred]
installation:[QUOTE][color=darkred]
this.[QUOTE][color=darkred]
> Hello. The message:
> VFS: Cannot open root device "LABEL=/" or 00:00
>
> is familiar to me. Is sounds like a labeling problem. In the /sbin
> directory there is a utility that will give your /dev/sda2 the label
> "/". It's called "e2label" and also change label to label=/. I hope
> that will help!
>
> -Jason
>
> --
> ***3 Client load***
> 1 Red Hat Linux 9.0 (Dell | Inspiron 4150)
> 1 Windows ME
> 1 Windows XP Home Edition
> ***Server***
> 1 Windows 2000 Pro using ICS
> 1 Samba Server on Red Hat Linux 7.2
> (also runs a Counter-Strike 1005 Server)
> ***Modem Parameters***
> Modem Cluster 4
> Modem Subcluster 3
> ***Software***
> StarBand Model 360 version 4.0.0.15
> Internet Page Accelerator version 1.0.14
> NettGain2000 version - 1.3.12-002
> Deterministic Network Enhancer Adapter version 2.11.7.4
> Winproxy for Starband - Don't buy it! It sucks!
> http://jlwoodruff.mystarband.net
>
Dear Jason,
This didn't solve my problem :-(
e2label seems to work with ext2 partitions although my partitions are
ext3... Could this be my problem ?
I keep getting the message :
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
I also tried editing the /etc/fstab and changed all partitions to /dev/sdax
instead of their labels but this didn't help as well...
Anymore tips anyone ?
Regards,
Dennis
|
|
|
|
|