Installing RH8 on PowerEdge 800

Ciaran Mac Lochlainn ciaran at meritsolutions.ie
Wed Mar 2 13:36:14 CST 2005


Hello Jean-Christophe,

Thank you for your help, but unfortunately I still haven't solved the 
problem...

I have built a new kernel from linux-2.4.20-30.8.legacy, with scsi, 
megaraid and aacraid (along with ide-scsi) all compiled into the kernel 
instead of being built as modules.  I've tried to boot using this kernel 
and mount the root partition as /dev/sda5, /dev/hda5 and LABEL=/, but 
all of these fail at the same stage during bootup.  The error messages 
are slightly different in each case.  I can boot the system using a 
rescue CD with 2.4.18-14, and it mounts this partition using /dev/hda5.  
When I run lsmod after booting from the rescue disk, the scsi_mod module 
is shown as loaded but not used.

The following is the grub.conf file I have been using, along with the 
error messages I get when the kernel panics:

# 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/hda5
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz

### I have also tried booting from (sd0,0) instead of (hd0,0) but it 
will not load the kernel.

###  This kernel loads but will not mount the root partition.
###  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
title Red Hat Linux (2.4.20-30.8.legacycustom)
    root (hd0,0)
    kernel /vmlinuz-2.4.20-30.8.legacycustom ro root=LABEL=/
    initrd /initrd-2.4.20-30.8.legacycustom.img

###  This kernel also loads but will not mount the root partition.
###  ide-scsi: hda: unsupported command in request queue (0)
###  end-request: I/O error, dev 03:05 (hda), sector 2
###  EXT2-fs: unable to read superblock
###  ide-scsi: hda: unsupported command in request queue (0)
###  end-request: I/O error, dev 03:05 (hda), sector 2
###  EXT3-fs: unable to read superblock
###  Kernel panic: VFS: Unable to mount root fs on 03:05
title Red Hat Linux (2.4.20-30.8.legacycustom, root=hda5)
    root (hd0,0)
    kernel /vmlinuz-2.4.20-30.8.legacycustom ro root=/dev/hda5
    initrd /initrd-2.4.20-30.8.legacycustom.img

### This kernel also loads but will not mount the root partition.
###  It appears to be trying to load a SCSI module even though SCSI is 
built into the kernel.
###  kmod: failed to exec /sbin/modprobe -s -k block-major-8, errno=2
###  VFS: Cannot open root device "sda5" or 08:05
###  Please append a correct "root=" boot option.
###  Kernel panic: VFS: Unable to mount root fs on 08:05

title Red Hat Linux (2.4.20-30.8.legacycustom, root=sda5)
    root (hd0,0)
    kernel /vmlinuz-2.4.20-30.8.legacycustom ro root=/dev/sda5
    initrd /initrd-2.4.20-30.8.legacycustom.img

### The following are various attempts to boot the kernel we have tested 
and used for the past year.
### It fails to boot correctly, causing the system to reboot almost 
immediately after grub loads the kernel.
title Red Hat Linux (2.4.18-14MERIT, ide-scsi)
    root (hd0,0)
    kernel /vmlinuz-2.4.18-14MERIT ro hda=ide-scsi root=/dev/sda5
    initrd /initrd-2.4.18-14MERIT.img
title Red Hat Linux (2.4.18-14MERIT, megaraid)
    root (hd0,0)
    kernel /vmlinuz-2.4.18-14MERIT ro hda=megaide root=/dev/sda5
    initrd /initrd-2.4.18-14MERIT.img
title Red Hat Linux (2.4.18-14MERIT, megaide)
    root (hd0,0)
    kernel /vmlinuz-2.4.18-14MERIT ro hda=megaide root=/dev/sda5
    initrd /initrd-2.4.18-14MERIT.img
title Red Hat Linux (2.4.18-14MERIT)
    root (hd0,0)
    kernel /vmlinuz-2.4.18-14MERIT ro root=/dev/sda5
    initrd /initrd-2.4.18-14MERIT.img


Jean-Christophe Montigny wrote:

> Hello,
>
> Ciaran Mac Lochlainn wrote:
>
> > Has anyone had any experience using Red Hat 8.0 on a PowerEdge 800
> > server?  It installs perfectly but will not boot from the SATA disk.
> > I've attempted various fixes such as using the latest fedora-legacy
> > kernel, adding modules (scsi_mod, sd_mod, ide-scsi, megaide) to the
> > initrd, but nothing seems to help.  It boots as far as attempting to
> > mount the root partition (/dev/hda5) and then the kernel panics.
>
> I have a PE800 too using debian with a 2.6 kernel,  but your problem 
> isn't a distribution one.
>
> SATA disks are named like SCSI ones in linux, which means you should 
> have a /dev/sda5 partition. Your kernel seems not to support SATA.
>
> You should try to build a kernel enabling SATA in it. You'll have to 
> invlude support for SCSI (which si required for SATA), aacraid and 
> megaraid. I recommend the 2.4 series which will work perfectly. If you 
> want to build a 2.6 series kernel, you will need to patch aacraid 
> using that link
>
> http://marc.theaimsgroup.com/?l=linux-scsi&m=110252243627410&w=2
>
> that patch simply removes the aac_handle_aif() function, that makes 
> the SATA crontroller hang.
>
>
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.300 / Virus Database: 266.5.1 - Release Date: 27/02/2005
>  
>


-- 
Ciarán Mac Lochlainn                      Senior Software Developer
Merit Solutions                    Claregalway, Co. Galway, Ireland
http://www.meritsolutions.ie                         +353 91 738055

"Awk: a strange programming language used by UNIX nerds to perform
 an amazing array of tasks."  (Unix for Dummies, p.18)



-- 
No virus found in this outgoing message.
This is NOT a guarantee - you should scan all incoming
messages yourself with an up-to-date virus scanner.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.7 - Release Date: 01/03/2005




More information about the Linux-PowerEdge mailing list