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

[Xen-users] Problems booting Xen with LVM volumes

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problems booting Xen with LVM volumes
From: Matti Pöllä <mpo@xxxxxx>
Date: Fri, 7 Jul 2006 01:19:18 +0300
Delivery-date: Fri, 07 Jul 2006 02:52:40 -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
User-agent: Mutt/1.5.11+cvs20060403
Hello,

I'm having problems booting a Xen kernel (dom0) on a quite standard
Celeron machine running Debian unstable and using LVM for managing
disk space.

My GRUB menu.lst has the followng entry for the Xen kernel

title          Xen 3.0 / XenLinux 2.6
kernel         /xen-3.0-i386.gz noreboot
module         /vmlinuz-2.6.16-2-xen-686 root=/dev/mapper/Debian-root ro
module         /initrd.img-2.6.16-2-xen-686

The boot process panics with the following messages

device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@xxxxxxxxxx
mkdir: cannot create directory '/devfs/Debian': Read-only file system
mount: unknown filesystem type 'devfs'
  Volume group "Debian" not found
umount: /dev: not mounted
umount: devfs: not mounted
mount: unknown filesystem type 'devfs'
umount:devfs: not mounted
pivot_root: No such file or directory
/sbin/init: 432: cannot open dev/console: No such file
Kernel panic - not syncing: Attempted to kill init!

For comparison, the machine boots up just fine with a standard kernel
(menu.lst entry as follows)

title           Debian GNU/Linux, kernel 2.6.17-1-486
root            (hd0,5)
kernel          /vmlinuz-2.6.17-1-486 root=/dev/mapper/Debian-root ro
initrd          /initrd.img-2.6.17-1-486
savedefault
boot

My filesystem looks like this

# mount
/dev/mapper/Debian-root on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda6 on /boot type ext3 (rw)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)

All ideas on how to fix this are appreciated.

cheers,


-Matti


ps. Please cc me in your reply.

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

<Prev in Thread] Current Thread [Next in Thread>