ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

Kernel 2.4.1 causes VFS: Cannot open root device

 
Ayman Altounji
Valued Contributor

Kernel 2.4.1 causes VFS: Cannot open root device

Hi!

We just installed RH7.0 with Kernel 2.2.17-8.R (with ReiserFS-Patch) on our ML570 with a SmartArray RAID-Controller without problems.

Now we want to upgrade to kernel 2.4.1. We've successfully compiled a static kernel and I added the corresponding section to /etc/lilo.conf, but the next boot with the new kernel failed:

VFS: Cannot open root device "4806" or 48:06
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 48:06

/etc/lilo.conf looks like this:

boot=/dev/ida/c0d0
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=2.4.1-modules

image=/boot/vmlinuz-2.2.17-8.R
label=linux
initrd=/boot/initrd-2.2.17-8.R.img
read-only
root=/dev/ida/c0d0p6

image=/boot/2.4.1-static
label=2.4.1-static
read-only
root=/dev/ida/c0d0p6

image=/boot/2.4.1-modules
label=2.4.1-modules
initrd=/boot/initrd-2.4.1.img
read-only
root=/dev/ida/c0d0p6

Believing fdisk /dev/ida/c0d0, my /boot should be below 1024 cylinders:

Device Boot Start End Blocks Id System
/dev/ida/c0d0p1 * 6 18 104422+ 83 Linux (which is /boot)
/dev/ida/c0d0p2 19 44276 355502385 5 Extended
/dev/ida/c0d0p3 1 5 40131 12 Compaq diagnostics
/dev/ida/c0d0p5 19 146 1028128+ 82 Linux swap
/dev/ida/c0d0p6 147 44276 354474193+ 83 Linux (which is /)

The next try was to compile a modular kernel. Compiling was no problem, but the boot progress with the modular kernel panicked too.

less /etc/modules.conf show this:

alias scsi_hostadapter cpqarray
alias scsi_hostadapter1 ncr53c8xx
alias eth0 eepro100
alias eth1 eepro100
alias parport_lowlevel parport_pc
alias scsi_hostadapter2 ncr53c8xx
alias scsi_hostadapter3 ncr53c8xx

During boot, it says: request_module[scsi_hostadapter]: root fs not mounted. Hmmm, I thought we've included RAM disk support and mkinitrd'ed the appropriate file. So I can't explain why this doesn't work.

Does anyone have any experiences with kernel 2.4.1 and cpqarray? Why does cpqarray doesn't work?

Best regards,

Christian