[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#601823: Root on LVM on Raid1 won't boot custom kernel, stock kernel works fine

Package: initramfs-tools
Version: 0.98.5
Severity: wishlist

Hi there,

this is most likely not a bug, but rather an error on my part, but I thought you might be interested in this. I installed a Squeeze system on an LVM sitting on a Linux softraid 1 array. I have a seperate boot partition that I finally put on a raid as well, but also tested the following when the boot partition was still on a "normal" partition on the first disk. The stock kernel boots fine, but I wanted to build my own kernel. I build it using make-kpkg --uc --us --bzimage --initrd kernel_image. All necessary kernel options are set correctly (checked that four times) for both initramfs, dm and raid. But still the kernel doesn't boot into root. It drops right into busybox when it tries to access root. It even says it mounts the "other" raid (the one that boot is now sitting on).

Don't know if this is the right place, but in the past I have build a lot of kernels and installed lots of systems on softraid. Now on Squeeze it won't work in combination (softraid and my own kernel).

Maybe you will be able to reproduce this one easily. I use AMD64 architecture btw.

I confirmed that initramfs is working, because it is loading a bunch of modules for the network and block devices.

Error message is:
mdadm: No devices listed in conf file were found.
Failure: failed to assemble all arrays

And it does load the raid1 modules right above that error message.

append="rootdelay=10" also didn't help.



Reply to: