[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] I meet some problem when using stubdom, anybody could help? -:)


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Ke, Liping" <liping.ke@xxxxxxxxx>
  • Date: Thu, 17 Jul 2008 23:25:53 +0800
  • Delivery-date: Thu, 17 Jul 2008 08:26:17 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcjoIWalvkf1OXXjSU6hjLw7XYiOqg==
  • Thread-topic: I meet some problem when using stubdom, anybody could help? -:)

Hi, 

I am learning to use stubdom today (cs18071). After successful building
stubdom today, 
[1) make 2) make install 3) mkinitrd all succeed.], when boot up, I saw
only Dom0.

Then I follow documents under stubdom/README, trying to launch a hvm
domain. 
I based on a workable hvm config file (Hvmdom.hvm), doing following
changes: (it is almost the same as xmexample.hvm except changing the
image file position)
1) device_model = '/usr/lib/xen/bin/stubdom-dm'
2) comment the disk statement: #disk ['file:XXX']
3) disable pty serial assignments
4) use vif [' '] and also tried comment vif[' ']
vnc = 0
sdl = 0
my hvm guest is named as 'lke'
---------------------------------------------------------
5) Create /etc/xen/stubdom-lke (where "lke" is the name of your HVM
guest) with

kernel = "/usr/lib/xen/boot/ioemu-stubdom.gz"
vif = [ '']
disk = [  'file:XXX'XXXX ], this file position it is workable in last
week changeset.
vfb = [ 'type=sdl' ] 

6) executing following command:

mkdir -p /exports/usr/share/qemu
ln -s /usr/share/qemu/keymaps /exports/usr/share/qemu
mkdir -p /exports/var/lib
ln -s /var/lib/xen /exports/var/lib
/usr/sbin/fs-backend &

xm cr -c hvmdom.hvm
-----------------------------------------------------------
Yet after doing above, I found xend hang. Then I try to use xm list,
xend hang too. 

Can anybody help me to figure what's wrong in my configuration settings?

When dom0 is up, stubdom is not up? Stubdom will be launched after a hvm
domain is up? Am I right?

Btw: It would be very helpful if anyone could help to check in an
example stub_hvm config files just as xmexample.hvm before?  Especially
to those new stubdom users:)

Thanks a lot for your help!

Regards,
Criping


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.