Adding Promise SATA 150TX2Plus drivers to RedHat 8.0

From: Dennis Peere (sycrontw_at_hotmail.com)
Date: 12/09/03


Date: Tue, 9 Dec 2003 16:26:50 +0100

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
>/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



Relevant Pages

  • RE: redhat-list Digest, Vol 11, Issue 18
    ... Re: Missing packages ... RedHat Network doesn't work ... squid proxy installation ...
    (RedHat)
  • samba and lan with winxp and linux computers
    ... I have 3 winxp computers in a small lan all attached to a cable modem ... I added a fourth computer running Redhat Linux 9 personal edition. ... the winxp machines to make it work. ... However one new aspect is that Ximian allows easy installation ...
    (alt.os.linux.redhat)
  • Re: RedHat 10 wishlist
    ... What would be nice is to have different installation schemes....I would like ... I really enjoy RedHat as it is a wonderful tool to use to help people break ... Linux that is easily sold to IT Managers who don't belong as IT Managers! ... > I strongly urge RedHat to reconsider the methods required to manage kernel ...
    (alt.os.linux.redhat)
  • Re: RedHat 10 wishlist
    ... What would be nice is to have different installation schemes....I would like ... I really enjoy RedHat as it is a wonderful tool to use to help people break ... Linux that is easily sold to IT Managers who don't belong as IT Managers! ... > I strongly urge RedHat to reconsider the methods required to manage kernel ...
    (linux.redhat)
  • Re: RedHat 10 wishlist
    ... What would be nice is to have different installation schemes....I would like ... I really enjoy RedHat as it is a wonderful tool to use to help people break ... Linux that is easily sold to IT Managers who don't belong as IT Managers! ... > I strongly urge RedHat to reconsider the methods required to manage kernel ...
    (linux.redhat.install)