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] Problem running Debian 5-0 from stacklet.com as DomU

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problem running Debian 5-0 from stacklet.com as DomU
From: rohan nigam <locaterohan@xxxxxxxxx>
Date: Fri, 28 Aug 2009 11:00:03 -0700 (PDT)
Cc:
Delivery-date: Fri, 28 Aug 2009 11:01:01 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1251482404; bh=HdKNCfIp/FMFDWJG1/33EUJWvR34zElsRToXPCckzWo=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=N2TmyVag5EGniNPBiNYAOnhN1Vyj5IM+Pi79d6Bi/gpMKDHSn7eZn1hyKWFLixV3c6Wsvixi7MW8X9lU/IAjkXMWqHJTKdKzvSMqzQmIy9SoFwclTMP8abt48BmhsVVA39Bn9K4l7475TZ4URYQu7EKXghsHZOaAlyd4JqvPX6A=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=rxt+JUWtaB8vLeo+XFRtZ0Uc0TPKwteK35SJLNsYWpRn0Uh1h3aNjxbc0zapqgGWp+3bk1ksPutW2qDnuqD4J9QO9f53AtwXIcScpFTBVhzs5GAsJ4hC5YkLEbFzOBUBtzaHNB20tmHed8oakoVjbHLwSalLON29IhWXYS2+70I=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi All,

I am running "2.6.18-128.1.10.el5xen" kernel as Dom0 on the machine that has dual socket quad-core AMD Opteron and is running CentOS 5.3.  Now I tried to start the Dom U on the machine and downloaded an image from stacklet.com. Here's my config file.

kernel = "/boot/vmlinuz-2.6.18-128.1.10.el5xen"
ramdisk = "/boot/initrd-2.6.18-128.1.10.el5xen.img"
memory = "256"
name = "debian.5-0"
vcpus=1
vif = ['']
dhcp = "dhcp"
disk = ['file:/opt/xen/debian-5.0/debian.5-0.x86.img,sda,w']
root = "/dev/sda ro"
extra = 'xencons=tty'


When I do am 'xm create cfgfile -c' everything seems to be loading correctly until i get this:

USB Mass Storage support registered.
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised: dm-devel@xxxxxxxxxx
device-mapper: dm-raid45: initialized v0.2429
Kernel panic - not syncing: Attempted to kill init!

Strangely, the domu is running and I can see it running when I am doing xm list but I cannot do xm console because I get that Kernel Panic error.

[root@vmtest debian-5.0]# xm list
Name           ID Mem(MiB) VCPUs State   Time(s)
Domain-0        0     7660     8 r-----    448.1
debian.5-0    142      256     1 -b----      0.3

I am sure it has got something to do with my 'disk' and 'root' options in the config file or it might have something to do with the fact that I am running both dom0 and dom U on the same node. But I am not able to figure out what it is even after trying lot of things from the previous threads on this topic.

my fstab.sys:
/dev/vg_root/lv_root    /        ext3    defaults        1 1
/dev/vg_root/lv_var     /var     ext3    defaults        1 2
/dev/vg_root/lv_virt    /virt    ext3    defaults        1 2
LABEL=/boot             /boot    ext3    defaults        1 2
tmpfs                   /dev/shm tmpfs   defaults        0 0
devpts                  /dev/pts devpts  gid=5,mode=620  0 0
sysfs                   /sys     sysfs   defaults        0 0
proc                    /proc    proc    defaults        0 0
/dev/vg_root/lv_swap    swap     swap    defaults        0 0

fdisk -l:
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start         End      Blocks   Id  System
/dev/sda1         1           8       64228+  de  Dell Utility
/dev/sda2   *     9         270     2104515    c  W95 FAT32 (LBA)
/dev/sda3       271         283      104422+  83  Linux
/dev/sda4       284        9726    75850897+  8e  Linux LVM


my grub.conf:

default=1
imeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
serial --unit=1 --speed=57600
terminal --timeout=10 serial console

title CentOS (2.6.18-128.2.1.el5xen)
        root (hd0,2)
        kernel /xen.gz-2.6.18-128.2.1.el5 com2=57600n8 console=com2,vga sched=sedf
        module /vmlinuz-2.6.18-128.2.1.el5xen ro root=/dev/vg_root/lv_root selinux=0  console=tty0 console=ttyS1,57600n8 selinux=0
        module /initrd-2.6.18-128.2.1.el5xen.img
title CentOS (2.6.18-128.1.10.el5xen)
        root (hd0,2)
        kernel /xen.gz-2.6.18-128.1.10.el5 com2=57600n8 console=com2,vga sched=sedf
        module /vmlinuz-2.6.18-128.1.10.el5xen ro root=/dev/vg_root/lv_root selinux=0  console=tty0 console=ttyS1,57600n8 selinux=0
        module /initrd-2.6.18-128.1.10.el5xen.img
title CentOS (2.6.18-92.1.22.el5xen)
        root (hd0,2)
        kernel /xen.gz-2.6.18-92.1.22.el5 com2=57600n8 console=com2,vga sched=sedf
        module /vmlinuz-2.6.18-92.1.22.el5xen ro root=/dev/vg_root/lv_root selinux=0  console=tty0 console=ttyS1,57600n8 selinux=0
        module /initrd-2.6.18-92.1.22.el5xen.img
title CentOS (2.6.18-92.1.13.el5xen)
        root (hd0,2)
        kernel /xen.gz-2.6.18-92.1.13.el5
        module /vmlinuz-2.6.18-92.1.13.el5xen ro root=/dev/vg_root/lv_root selinux=0
        module /initrd-2.6.18-92.1.13.el5xen.img
title Other
        rootnoverify (hd0,1)
        chainloader +1
t


Can someone please tell me where I am going wrong? I am relatively new at this.

Thanks.
Rohan




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Problem running Debian 5-0 from stacklet.com as DomU, rohan nigam <=