WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Problem with xen boot if DOM0 is on the LVM, which is on

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problem with xen boot if DOM0 is on the LVM, which is on RAID
From: Vladislav Kurz <vladislav.kurz@xxxxxxxxxxx>
Date: Wed, 30 May 2007 10:08:27 +0200
Delivery-date: Wed, 30 May 2007 01:07:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <01d901c7a221$99e34f60$6d58a8c0@xxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <01d901c7a221$99e34f60$6d58a8c0@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
On Tuesday 29 May 2007 20:45, Artur Linhart - Linux communication wrote:
> Hello,
>
>
>
>             I have problems with booting with the new Xen (used the binary
> tarball) v. 3.1.0.
>
>
>
> I have installed following system:
>
> One small raid partition with Ext3 fs with the boot directorz and grub
> installed
>
> Two large and one small mirrored raid1 partitions managed by mdadm and used
> as 3 physical volumes for LVM, all 3 joined into one volume group.
>
> Planned dom0 system is installed on the logical volume, which is striped
> over md1 and md3 raid phzsical volumes. It is Ubuntu server 7.04.
>
> The Ubuntu system self boots ad behaves normally.
>

I have similar configuration without any problems:

Debian etch + xen 3.0.3
/boot of dom0 on (hardware) raid1 + ext3
root of dom0 & everything else on raid1 + lvm + ext3
I use xen kernel provided by debian

>
> If booting Xen, the boot process comes to the point where the raid arrays
> are beeing initialized. The RAID arrays itself are initialized and
> activated correctly. After it happens, the system hangs for some minutes
> and then the message comes:
>
>
>
> Check root= bootarg cat /proc/cmdline
>
> or missing modules, devices: cat /proc/modules ls /dev
>
> ALERT! /dev/mapper/VG_HIGHLAND_SYSTEM-LV_DOM0 does not exist. Dropping to
> shell!
>
>
>
>
> ... and the sh is invoked, the tty cannot be accessed, so the job control
> is turned off.
>
> I looked into /devúmapper and really, thre is no VG_HIGHLAND_SYSTEM volume
> group, which appears there if booting the Ubuntu server.
>

Check if there is something else in /dev/mapper

>
>
> I am not very skilled in the work with LVM, so the only thing what came
> into my mind  was - it looks like if the default binary tarball of Xen
> 3.1.0 has not turned on the LVM support in the kernel, but I think this is
> not possible, because LVM is normally used.
>
> Or would it be the solution to configure and compile the kernel from
> source?

before compiling your own, compare the configuration of ubuntu ditstro kernel, 
and xen kernel, expecially CONFIG_MD_* and CONFIG_DM_* options, to find if 
there is support for LVM.

If the support for LVM is in your xen kernel, then check the contents of 
initrd if there are scripts that activate the logical volume 
i.e. /sbin/vgchange, /scripts/*/lvm

Anyway even if you compile your own kernel you might need initrd to activate 
LVM.

> I found the idea this is some error in GRUB script, but I do not know if it
> is my case - GRUB configuration file "menu.lst" looks like:
>
>
>
> title     Xen 3.1.0, kernel 2.6.18-xen /dev/sda1
> root      (hd0,0)
> kernel    /xen-3.1.0.gz dom0_mem=192M
> module    /vmlinuz-2.6.18-xen root=/dev/mapper/VG_HIGHLAND_SYSTEM-LV_DOM0
> ro max_loop=255 console=tty0
> module    /initrd.img-2.6.18-xen
>

This is OK, I have similar config

-- 
Regards
        Vladislav Kurz


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users