booting 2.5.68 with root on software raid and devfs?
Hi,
anyone has an idea why 2.5.68 can't boot (it sends a panic, can't mount root on md(9,0) message and dies) off a raid1+devfs setup that works perfectly on 2.4.x ?
I have the suspect that something in the naming of devices has changed, but I can't find any reference by googling around.
Here's my setup, as 2.4.21-pre7 sees it:
root@penny:~ # mount/dev/md/0 on / type ext3 (rw)
proc on /proc type proc (rw)/dev/penny/niglia on /usr type ext3 (rw) /dev/penny/viola on /var type ext3 (rw) /dev/penny/tippete on /home type ext3 (rw) /dev/kim/felix on /usr/src type ext3 (rw) /dev/kim/isidoro on /home/ftp/pub type ext3 (rw,noatime) /dev/gattaia/pink on /scratch type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
root@penny:~ # cat /proc/mdstat
Personalities : [raid0] [raid1]read_ahead 1024 sectors
md0 : active raid1 ide/host0/bus1/target1/lun0/part1[1] ide/host0/bus0/target0/lun0/part1[0]
248896 blocks [2/2] [UU]
md1 : active raid1 ide/host0/bus1/target1/lun0/part2[1] ide/host0/bus0/target0/lun0/part2[0]
39896576 blocks [2/2] [UU]
unused devices: <none>
root@penny:~ # head /etc/lilo.conf
#disk=/dev/hda
# bios=0x80
#disk=/dev/hdd
# bios=0x81
boot=/dev/md0
root=/dev/md0
raid-extra-boot=/dev/hda,/dev/hdd
#compact
#linear
lba32
Any ideas where to start looking ?
Thanks
Pf
Signature · 4 lines
------------------------------------------------------------------------------- Pierfrancesco Caci | ik5pvx | mailto:[email protected] - http://gusp.dyndns.org Firenze - Italia | Office for the Complication of Otherwise Simple Affairs Linux penny 2.4.21-pre7 #1 Sat Apr 12 09:12:33 CEST 2003 i686 GNU/Linux
Quoted 11 lines · Pierfrancesco Caci
root@penny:~ # head
/etc/lilo.conf
#disk=/dev/hda
# bios=0x80
#disk=/dev/hdd
# bios=0x81
boot=/dev/md0
root=/dev/md0
raid-extra-boot=/dev/hda,/dev/hdd
#compact
#linear
lba32
No idea how lilo maps all this to a kernel command line, but in 2.5 you need to pass the devfs names to the kernel if using devfs, not the old ones.
Quoted 13 lines · :-> "Christoph" == Christoph Hellwig <[email protected]> writes:
Quoted 11 lines · Pierfrancesco Caci
root@penny:~ # head
/etc/lilo.conf
#disk=/dev/hda
# bios=0x80
#disk=/dev/hdd
# bios=0x81
boot=/dev/md0
root=/dev/md0
raid-extra-boot=/dev/hda,/dev/hdd
#compact
#linear
lba32
Quoted 3 lines
No idea how lilo maps all this to a kernel command line, but in 2.5 you need to pass the devfs names to the kernel if using devfs, not the old ones.
Yep. Passing /dev/md/0 did it, and I'm now stuck with my partitions on LVM that I don't know how to mount... Ahh, the bleeding edge :-)
Thanks :)
Pf
Signature · 4 lines
------------------------------------------------------------------------------- Pierfrancesco Caci | ik5pvx | mailto:[email protected] - http://gusp.dyndns.org Firenze - Italia | Office for the Complication of Otherwise Simple Affairs Linux penny 2.4.21-pre7 #1 Sat Apr 12 09:12:33 CEST 2003 i686 GNU/Linux