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] Re: Coming across a problem when using "xm create".

To: Xen-Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Re: Coming across a problem when using "xm create".
From: 程辉 <chenghui2050@xxxxxxxxx>
Date: Tue, 21 Jul 2009 09:53:23 +0800
Delivery-date: Mon, 20 Jul 2009 18:54:08 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=sH21l/J7irjJmWysY/CU+OEEmGj0p0UtaOma+1WmLZk=; b=wYVLfdInVSy+Vm8ly0XG2wMFLR5CwiUDdVAxR6z0Sh/Vt3gmSJWYEVUYGJh5XrQ6jR 4AEMeEmZm8OAJo6SCcVdPVHM2mT9Iw66BowGfZI0DoCdSU/ekI1qHPWd+Q7xWfiBE78T EhOo3o4Rgt9Kfv6XxA8l0inAPCSrNGiVb4cBs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=lHhNUFJO3tfp2/F6WE9Q3g1CmPCYiyY2wWJduu00T2vqWTiUDMuCBsNm1lrcqzeWuy OP1AVQyPmnZuHz61Kqedv9p9+HsKqU8rVpS+2Nf3hsxhUxVs7RMTuMC/ToalZsCXYzHo OWjN1vJW1gUv5NvGIaMotoVG4gm8uW7954W24=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <c609aacd0907151923p440548a0qbee0530b746d9783@xxxxxxxxxxxxxx>
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>
References: <c609aacd0907151923p440548a0qbee0530b746d9783@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Anyone who are willing to help me?

2009/7/16 程辉 <chenghui2050@xxxxxxxxx>
I followed the book called "Professional Xen Virtualization" written by William von Hagen,and published by Wiley Publishing,Inc.

Here are some configuration files:
#cat /xen/ubuntu/ubuntu.xen3.cfg

kernel = "/boot/vmlinuz-2.6.18-128.1.16.el5xen"
ramdisk = "/boot/initrd-2.6.18-128.1.16.el5xen-no-scsi.img"
memory = "512"
name = "Ubuntu804"
vif = ['']
dhcp = "dhcp"
disk = ['tap:aio:/home/samuel/VirtualMachines/ubuntu.8-04.img,xvdb,w']
root = "/dev/xvdb ro"

The initrd-2.6.18-128.1.16.el5xen-no-scsi.img is created using
"mkinitrd --omit-scsi-modules --with=xennet --with=xenblk --preload=xenblk initrd-2.6.18-128.1.16.el5xen-no-scsi.img 2.6.18-128.1.16.el5xen"

This is a prebuilt image which is downloaded in Jailtime.org.

After do some checks,I start creating.
xm create /xen/ubuntu/ubuntu.xen3.cfg -c
This starts happily at first,but it hangs at
" * Running local boot scripts (/etc/rc.local)               [ OK ]"

According to some solutions I get from Google,"Try adding 'extra = 'xencons = tty1'' or 'extra='console=hvc0 xencons=tty''"is recommended.
So I add this to the "ubuntu.xen3.cfg" and "etc/rc.local"(after mount the img to /mnt/img).

However,it also stop there saying "etc/rc.local : 13 :extra : not found."

I'm so confused with this,what can I do?


Sometimes,I also get another error:

error:"kernel.maps_protect" is an unknown key.

and

"/dev/xvdb:12171/128256 files(1.0%non-contiguous),59907/256256 blocks fsck died with exit status 3   [fail]
* The file system check corrected errors on the root partition but requested that the system should be restart.
*The system will be restart in 5 seconds.
Restarting system "


How to solve all the errors that I come across???Can you Help?





--
God more,self less.



--
God more,self less.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users