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] Kernel panic while starting my guest domain

To: xen-users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Kernel panic while starting my guest domain
From: "Rajiv Rajaian" <rajiv.grid@xxxxxxxxx>
Date: Mon, 23 Jun 2008 13:06:45 +0000
Delivery-date: Mon, 23 Jun 2008 06:07:20 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=quKI0Dr/TlcnNZkvl14fl9BZuLQOEDCeWv+1mfBVw40=; b=NcGoqSOLNkpcK4Pxgrsc2nPakQff09FtFAH/+YOZqmF3u7xOyDUAx+IdYT3OyRvucf 2pNLZWh+HtzTAxboTIQMHiImfmzFxkPTyHXWU0xdtv2r46ResyM48HFHTcUsA5nVpvGS QJW0GwVs6MDlOrkSLKU6UenOyPKz97pVS/sc4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=qrWQdfpGxpchZBAvtFrcE7SVm++iAHBzuwKd3hteesdeGtyLT3D1gUyGBy3bmEqpcU TutV+ftQNL0pGg51cfJqToCfiKkAFGn2vFCkuOMea5JtRN8YZt6MD91xMprDdbGEPPlY EfOxWL6LJvpPP73ROfFD52i0gux3WpNBxq5dY=
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
Hi

Ive installed Fedora core 6 and enabled virtualization support.
Now I tried to create guest os with scientific linux 3 image file (
slc3-root.img )

Logical volumes compnode,swap and module have been created with the
following steps

lvcreate -L10G -n compnode vg
lvcreate -L1G -n compswap vg
lvcreate -L1G -n compswap vg
mkdir /mnt/tmp
mount -o loop slc3-root.img /mnt/tmp

Also in /mnt/tmp/etc/fstab



/dev/sda6                /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
proc                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/sda8               swap                    swap    defaults        0 0
/dev/sda6               /lib/modules            ext2   defaults        0 1


My  /etc/xen/xmdefconfig looks like

def vmid_check(var, val):
    val = int(val)
    if val <= 0:
         raise ValueError
    return val
#Define the 'vmid' variable so that 'xm create' knows about it.
xm_vars.var('vmid', use="Virtual machine id. Integer greater than 0.",
check=vmid_check)

#Check the defined variables have valid values..
xm_vars.check()

#General settings

kernel = "/boot/vmlinuz-2.6.18-1.2798.fc6xen"
memory = 128
gateway = "172.16.10.1"
extra = "fastboot"
vif = ['']
ramdisk = "/boot/initrd-2.6.18-1.2798.fc6xen.img"
if vmid == 1:
  disk = ['phy:vg/compnode,sda7,w','phy:vg/compswap,sda8,w',
'phy:vg/modules,sda6,r']
  ip = "172.16.10.201"
  vif=['bridge=xenbr0']
  hostname = "compnode"
  name = "compnode"
# Set root device.

root = "/dev/sda7 ro"

while creating the xen domain with command
xm create -c vmid=1
Im getting the kernel panic error..

Is there any thing wrong with  my configurations??

Here is my Error


Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Kernel panic while starting my guest domain, Rajiv Rajaian <=