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

xen-users

[Top] [All Lists]

Re: [Xen-users] Booting Linux OS as a guest domain on RHEL5 on full virt

To: "Henning Sprang" <henning_sprang@xxxxxx>
Subject: Re: [Xen-users] Booting Linux OS as a guest domain on RHEL5 on full virtualized machine.
From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
Date: Thu, 1 Feb 2007 18:55:08 +0530
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2007年2月01日 05:25:11 -0800
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=DJ6Pomhl8VLw1XSKz5YC+k/2GLaZSX8gmxRCKx1vRmrWB5/OatLYWBusQZGn8aNi2rR1jFdqH07Ib1yePBbz0GhL/mtcM4pKdz7KI99ODnvC/6r60AjGGOUYcRIzMrNlt8O1nXPfJa8DJBPxqiqPBEkbVkhTXl4kjXhSvBedsoE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5bb00b3f0701300631y639a8256j797de8518d5c4a7b@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/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>
References: <f58fc26d0701290619l575d9d8w3880fc2fc64678f2@xxxxxxxxxxxxxx> <5bb00b3f0701290653k595d7406xa3809120585176fe@xxxxxxxxxxxxxx> <f58fc26d0701300556o4d3a7390h792a7c1a3cf82d83@xxxxxxxxxxxxxx> <5bb00b3f0701300631y639a8256j797de8518d5c4a7b@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


As per uyour suggestion i modified my config file for guest domain

[root@ca-ostest209 home]# cat /etc/xen/dom.vti
import os, re
arch = os.uname()[4]
if re.search('64', arch):
arch_libdir = 'lib64'
else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
disk = [ 'file:/home/hd.img,ioemu:sda,w' ]
vif = [ 'mac=00:50:56:39:85:78 , bridge=xenbr0' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
builder='hvm'
memory = 1000
name = "domU"
vcpus=1
sdl=0
vnc=1
vncviewer=0
vncpasswd="oracle"
ne2000=1
serial='pty'
usb=1
usbdevice="tablet"


Create the guest domain : on console i got this one*

[root@ca-ostest209 /]# xm create -c /etc/xen/dom.vti
Using config file "/etc/xen/dom.vti".
Started domain domU

[root@ca-ostest209 home]# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 3004 8 r----- 392043.7
domU 5 1008 1 r----- 16320.8


This looks like domU is running on the machine.

I am not getting any error in xend.log

logs in qemu-dm.21952.log

domid: 6
qemu: the number of cpus is 1
qemu_map_cache_init nr_buckets = 3e8
shared page at pfn:3e7ff
buffered io page at pfn:3e7fd
char device redirected to /dev/pts/1
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0

when i open #vncclient on my machine and try to connect the domU.

Then on VNC client screen i found

Boot from hard disk 0 failed
FATAL: Could not read the boot disk

Can i know what wrong in the creation of image file or in config file ?



On 1/30/07, Henning Sprang <henning_sprang@xxxxxx> wrote:
On 1/30/07, trilok nuwal <tc.nuwal@xxxxxxxxx> wrote:
> Firstly i am creating a guest os image by the below method
>

First: you didn't answer the question if you read all available docs,
and it seems like you did not. That's sad, because it's required that
everybody invests some time of it's own before using other's time to
get help.
Come back after you read the docs, and please don't paste web contents
here - if you want to tell us which howto you used, a link is enough.
And dont use html mail.

As for yout problem:

Try vnc=1 (it should be obvious even without knowing xen that vnc is
surely not enabled by setting vnc=0 as you do).
Then try connectin to the vnc server with vncviewer.
-c doesn't work with hvm domains which you want to access via vnc.
and, add usb=1 and usbdevice="tablet" to your config - otherwise you
mouse pointer is messed up in vnc.


Henning

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] xm shutdown and reboot without console , Radu Stanescu
Next by Date: Re: [Xen-users] How to add additional drivers to xen-kernel ? , anant
Previous by Thread: Re: [Xen-users] Problems with xen/kernel / autoloading , Ulrich Windl
Next by Thread: Re: [Xen-users] Booting Linux OS as a guest domain on RHEL5 on full virtualized machine. , Henning Sprang
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /