Hello everybody.
I have recently installed a RAID1 system in a RedHat6.1 platform.
It seems like it work ok, but when I try install another kernel a kernel
panic results.
This new kernel (2.2.13) supports:
- Multiple device drivers support
-RAID1 (as a module)
- Loopback device
- Ramdisk support
-Initial RamDisk support (initrd)
[and more]
I have recompiled the new kernel, and create an /boot/initrd-2.2.13.img file
with the mkinitrd command.
/etc/lilo.conf seems like this:
[...]
image=/boot/vmlinux-2.2.13
label=lnx
initrd=/boot/initrd-2.2.13.img
read-only
root=/dev/md0
[...]
/etc/raidtab seems like this:
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
chuk-size 64k
persistence-superblock 1
#nr-spare-disk 0
device /dev/hdc1
raid-disk 0
devide /dev/hda5
raid-disk 1
Then I try to boot with this kernel:
lilo boot: lnx
[...]
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 file system)
Loading raid1 module
raid personality registered
Oops! md0 not running, giving up!
Bad md_map in ll_rw_block
EXT2-fs: unable to read superblock
[...]
isofs_read_super: bread failed, dev=09:00, iso_llknum=16, block=32
kernel panic: VFS: Unable to mount root fs on 09:00
The system can load the raid1.o module successfully. But a kernel panic
success because due (I think) to another error message:
"Bad md_map in ll_rw_block"
What is md_map?
How can I change it?
Thank in advance.