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] Debain Domu Xen PV boot hangs at CRON message

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Debain Domu Xen PV boot hangs at CRON message
From: "Pulkit Gupta" <pulgup@xxxxxxxxx>
Date: Sun, 17 Oct 2010 13:41:39 +0530
Delivery-date: Sun, 17 Oct 2010 01:13:20 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:subject :date:mime-version:content-type:x-priority:x-msmail-priority :x-mailer:x-mimeole; bh=nOrc/nXWbitUFSn0ri/RsMlUjdCtC3mI/VNYvwr7w3c=; b=EmVwbJ2elao3/7qwweieQ2h91aC14uvj0gQ368V47FibP1HhszShkTeslGBDv2Awn8 4bY4gEAXIqVPNbIpwY2M1lJ4P3hAvBVBatdRq5boerDPhPme3VKikAvB7QA4M0+u0/Tj V5uVxMoaEdee01FN6ld+hi90aLoDmYuUb6eu4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:mime-version:content-type :x-priority:x-msmail-priority:x-mailer:x-mimeole; b=RU5RrKPDdCVo0Eu+7EdGqg2feCg8b4Xygss8vMGO3JiCtRUQyTRzG2zefrgDmhynSW aeB4qVgfKW+Jd+DOElSSc7fd6EmdEV29SasD9KVRa1/MVpsrjQV8aQGRT3SQKI6javoG EGFFZEOV7Kryg/75+FwaWy2LF9XAdo/mGjhf8=
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,
 
I am running CentOS 5.5 with Xen.
I wanted to make a Xen Debian 5.0.6 OS template so that I can create any number of Guests by just untarring the whole archieve in the new Guest's LVM (I am using LVMs)
So I created a XEN HVM Debian minimal install and shut it down.
After doing that I mounted the LVM using kpartx to map the partition on the LVM.
I mounted it on /mnt/debian
 
Then I copied the /lib/modules to /mnt/debian/lib/modules for copying the XEN PV modules.
I modified the /mnt/debian/etc/fstab to use /dev/sda1 at '/' and to use /dev/sda2 as SWAP
 
After that I tarred the whole system :
root > cd /mnt/debian
root > tar --zcvp --numeric-owner -f /root/debain-5.tar.gz *
 
Then I made the two LVM one for SWAP and the other as the file system.
/dev/vg/debian - This will be mounted as sda1
/dev/vg/debian_swap - This will be mounted as sda2
 
I mounted /dev/vg/debian and untarred the above archieve in it.
 
Then I created the following Config :
# START---
kernel = "/boot/myXENvmlinuz"
ramdisk = "/boot/myXENinitrd.img"
name = "debian"
memory = "256"
hostname = "debi.com"
cpu_weight = "256"
vcpus = "2"
vif = ["ip=192.168.1.15, vifname=vifdebain.0, mac=myMAC"]
disk = ["phy:/dev/vg/debain,sda1,w" , "phy:/dev/vg/debain_swap,sda2,w"]
root = "/dev/sda1 ro"
serial = "pty"
# END
 
Then  boot the machine :
root> xm create /etc/xen/debian -c
 
The machine boots but hangs after starting the CRON.
This is the same thing that happens with Fedora 13 (I created the template the same way)
 
Virt-Manager shows that the CPU usage jumps to exactly 49.5 - 50 % of the system CPU.
Please let me know what am I doing wrong ???
How should I get this template working ?
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>