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/
Home Products Support Community News


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

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Problem with xen boot if DOM0 is on the LVM, which is on RAID
From: "Artur Linhart - Linux communication" <AL.LINUX@xxxxxxxxxxx>
Date: Tue, 29 May 2007 20:45:59 +0200
Delivery-date: Tue, 29 May 2007 11:44:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceiIS1Qu6aeQqVFRkCG83l1vOYnYg==



            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.


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.


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?


Does somebody some other idea, why the volume group is not recogized and cannot be found in /dev/mapper ?

The logical partitions also are invisible in the result of cat /proc/partitions


                        Thank You very much in advance for any advice or help...


                                   With best regards, Archie


            P.S. In http://groups.google.cz/group/linux.debian.bugs.dist/browse_thread/thread/eafa7a66782c206e/630c5180caa580dd?lnk=st&q=ALERT!+%2Fdev%2Fmapper%2FVG+does+not+exist.+Dropping+to+shell!&rnum=1&hl=cs#630c5180caa580dd

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

and the working Ubuntu server boot-configuration looks like


title     Ubuntu 7.04 server, kernel 2.6.20-15-server /dev/sda1
root      (hd0,0)
kernel    /vmlinuz-2.6.20-15-server root=/dev/mapper/VG_HIGHLAND_SYSTEM-LV_DOM0 ro console=tty0
initrd    /initrd.img-2.6.20-15-server ro splash

Unfortunatelly I cannot get to the log because there is nothing written to the logfiles because the system partition cannot be mounted... etc.





Xen-users mailing list