[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Root fs on LVM on software RAID1?
On Wed, Feb 22, 2006 at 01:58:32PM +0000, Patrick Caulfield wrote: > Marcin Owsiany wrote: > > On Wed, Feb 22, 2006 at 01:08:49PM +0000, Mark Turner wrote: > >> On 22 Feb 2006, at 12:20, Marcin Owsiany wrote: > >>> If not, then how did you manage to boot the currently running system? > >> The currently running system was booted using the 2.6.8-2-386 kernel > >> supplied with Debian 3.1r1a. > >> > >> That kernel appears to have LVM support compiled in rather than as a > >> module: > >> > >> dom0a:~# find /lib/modules/ -print|grep -i lvm > >> dom0a:~# > >> > >>> Try sticking "set -x" into mkinitrd to see when it's failing. > >> With "set -x": > >> > >> dom0a:~# mkinitrd -o /boot/initrd.img-xen-2.6.12.6-xen0 2.6.12.6-xen0 > >> [Lots of lines cut] > >> + module_exists drivers/md/lvm-mod > >> ++ find /lib/modules/2.6.12.6-xen0/kernel/drivers -name lvm-mod.ko > >> + '[' -n '' ']' > > > > Ah, so it looks for lvm-mod for the target (2.6.12.6-xen0) kernel, and > > it's not there. Are you using Ralph Passgang's xen packages? Those > > somehow work for me with MD+LVM root, even though the module is not > > there (apparently compiled in as well). > > > > There's no such thing as lvm-mod for a 2.6 kernel. LVM2 on 2.6 uses device > mapper, the module name is dm-mod.ko Mark, maybe you could have a look at mkinitrd's code (BTW which version are you using?) and find out why is it looking for the "old" lvm module? Marcin -- Marcin Owsiany <marcin@xxxxxxxxxx> http://marcin.owsiany.pl/ GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216 "Every program in development at MIT expands until it can read mail." -- Unknown _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |