Bug#358153: testing (etch): cannot boot on software raid
tags 358153 moreinfo
thanks
On Tue, 21 Mar 2006, Vegard Svanberg wrote:
<snipp>
> Disk /dev/hdc: 80.0 GB, 80060424192 bytes
> 255 heads, 63 sectors/track, 9733 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hdc1 1 1216 9767488+ fd Linux raid autodetect
> /dev/hdc2 1217 9733 68412802+ 5 Extended
> /dev/hdc5 1217 9483 66404646 fd Linux raid autodetect
> /dev/hdc6 9484 9733 2008093+ fd Linux raid autodetect
>
>
> Disk /dev/hde: 80.0 GB, 80060424192 bytes
> 255 heads, 63 sectors/track, 9733 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hde1 1 1216 9767488+ fd Linux raid autodetect
> /dev/hde2 1217 9733 68412802+ 5 Extended
> /dev/hde5 1217 9483 66404646 fd Linux raid autodetect
> /dev/hde6 9484 9733 2008093+ fd Linux raid autodetect
>
>
> Output of lspci and lspci -n:
>
> $ lspci -v:
<resnipp>
>
> 0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) (prog-if 8a [Master SecP PriP])
> Subsystem: ASUSTeK Computer Inc.: Unknown device 8179
> Flags: bus master, medium devsel, latency 0, IRQ 58
> I/O ports at <unassigned>
> I/O ports at <unassigned>
> I/O ports at <unassigned>
> I/O ports at <unassigned>
> I/O ports at ffa0 [size=16]
>
> 0000:00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controllers cc=IDE (rev 01) (prog-if 8f [Master SecP SecO PriP PriO])
> Subsystem: ASUSTeK Computer Inc.: Unknown device 2601
> Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 66
> I/O ports at 6800 [size=8]
> I/O ports at 6400 [size=4]
> I/O ports at 6000 [size=8]
> I/O ports at 5800 [size=4]
> I/O ports at 5400 [size=16]
> Memory at d7dffc00 (32-bit, non-prefetchable) [size=1K]
> Capabilities: [70] Power Management version 2
<resnipp>
> Install boot loader: [O]
> Reboot: [E]
>
> Comments/Problems:
>
> Went through the Software RAID (1) setup and set: hdc1&hde1 to md0,
> hdc5&hde5 to md1 and hdc6&hde6 to md2. Installation went fine, but after
> reboot I'm dropped to a shell:
>
> [snip]
>
> Begin: Mounting root file system... ...
> Begin: Running /scripts/local-top ...
> Done.
> ALERT! /dev/md0 does not exist. Dropping to a shell!
>
>
> Busybox [...]
>
> [snip]
>
> The raid1 kernel module appears to be in the initrd image, but is not
> loaded. Loading it manually does not create /dev/md{012}. Grub has set
> root=/dev/md0.
can you provide further infor from the busybox shell:
* did the devices /dev/hdc*, /dev/hde* got created?
* if not was piix loaded? (cat /proc/modules)
* what was your cat /proc/cmdline
* does cat /proc/mdstat show something when dropped in?
try to run the md boot script by hand:
. ./conf/initramfs.conf
. ./scripts/functions
. ./scripts/local
./scripts/local-top/md
# check if /dev/md0 is there
mountroot
run_scripts scripts/init-bottom
exec run-init /root $init "$@" </root/dev/console >/root/dev/console
--
maks
Reply to: