* I meet some problem when using stubdom, anybody could help? -:)
@ 2008-07-17 15:25 Ke, Liping
2008-07-17 15:32 ` Samuel Thibault
2008-07-18 13:30 ` Samuel Thibault
0 siblings, 2 replies; 5+ messages in thread
From: Ke, Liping @ 2008-07-17 15:25 UTC (permalink / raw)
To: xen-devel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: I meet some problem when using stubdom, anybody could help? -:)
2008-07-17 15:25 I meet some problem when using stubdom, anybody could help? -:) Ke, Liping
@ 2008-07-17 15:32 ` Samuel Thibault
2008-07-18 2:37 ` Ke, Liping
2008-07-18 13:30 ` Samuel Thibault
1 sibling, 1 reply; 5+ messages in thread
From: Samuel Thibault @ 2008-07-17 15:32 UTC (permalink / raw)
To: Ke, Liping; +Cc: xen-devel
Ke, Liping, le Thu 17 Jul 2008 23:25:53 +0800, a écrit :
> Yet after doing above, I found xend hang.
> Then I try to use xm list, xend hang too.
Hum, odd... Could you post the relevent parts of /var/log/xen files?
I guess you have upgraded your xen tools and hypervisor?
> Can anybody help me to figure what's wrong in my configuration settings?
I haven't seen anything wrong.
> When dom0 is up, stubdom is not up? Stubdom will be launched after a hvm
> domain is up? Am I right?
The stubdom is created for each hvm domain by the stubdom-dm script,
i.e. only when you run xm cr -c hvmdom.hvm
> Btw: It would be very helpful if anyone could help to check in an
> example stub_hvm config files just as xmexample.hvm before?
I can do that indeed.
Samuel
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: I meet some problem when using stubdom, anybody could help? -:)
2008-07-17 15:32 ` Samuel Thibault
@ 2008-07-18 2:37 ` Ke, Liping
2008-07-18 13:27 ` Samuel Thibault
0 siblings, 1 reply; 5+ messages in thread
From: Ke, Liping @ 2008-07-18 2:37 UTC (permalink / raw)
To: Samuel Thibault; +Cc: xen-devel
Hi, Samuel
Thanks a lot for your quick response.
I pull (18076)top of changeset today. Pull all needed .gz files such as lwip, zlib, newlib, bciutils, grub, etc. Do a clean compile/install. All succeed.
And then I used your sample config files (xmexample.hvm-stubdom, copy stubdom-ExampleHVMDomain to /etc/xen/),the only change I make is the disk file location. Yet I meet same problem two days ago (Yesterday I meet xend hang problem). See below:
[root@lke_linux examples]# /usr/sbin/fs-backend &
[1] 2930
[root@lke_linux examples]# Connection to the xenbus deamon opened successfully.
XS transaction is 5
xenbus_printf (backend/vfs/exports/0/name) <= default.
Path changed backend/vfs/exports/requests
Awaiting next connection.
The error is something like below:
[root@lke_linux configfile]# xm cr xmexample.hvm-stubdom
Using config file "./xmexample.hvm-stubdom".
Error: ('b14ee2c2-d117-65fc-6338-2823a59ab5b8', 'VM_metrics')
So There's something I did wrong here? Thanks!
Regards,
Criping
-----Original Message-----
From: Samuel Thibault [mailto:samuel.thibault@eu.citrix.com]
Sent: 2008年7月17日 23:33
To: Ke, Liping
Cc: xen-devel@lists.xensource.com
Subject: Re: [Xen-devel] I meet some problem when using stubdom, anybody could help? -:)
Ke, Liping, le Thu 17 Jul 2008 23:25:53 +0800, a écrit :
> Yet after doing above, I found xend hang.
> Then I try to use xm list, xend hang too.
Hum, odd... Could you post the relevent parts of /var/log/xen files?
I guess you have upgraded your xen tools and hypervisor?
> Can anybody help me to figure what's wrong in my configuration settings?
I haven't seen anything wrong.
> When dom0 is up, stubdom is not up? Stubdom will be launched after a hvm
> domain is up? Am I right?
The stubdom is created for each hvm domain by the stubdom-dm script,
i.e. only when you run xm cr -c hvmdom.hvm
> Btw: It would be very helpful if anyone could help to check in an
> example stub_hvm config files just as xmexample.hvm before?
I can do that indeed.
Samuel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: I meet some problem when using stubdom, anybody could help? -:)
2008-07-18 2:37 ` Ke, Liping
@ 2008-07-18 13:27 ` Samuel Thibault
0 siblings, 0 replies; 5+ messages in thread
From: Samuel Thibault @ 2008-07-18 13:27 UTC (permalink / raw)
To: Ke, Liping; +Cc: xen-devel
Ke, Liping, le Fri 18 Jul 2008 10:37:46 +0800, a écrit :
> [root@lke_linux configfile]# xm cr xmexample.hvm-stubdom
> Using config file "./xmexample.hvm-stubdom".
> Error: ('b14ee2c2-d117-65fc-6338-2823a59ab5b8', 'VM_metrics')
>
> So There's something I did wrong here? Thanks!
Mmm, I had the same yesterday, but just reinstalling the tools with
latest hg fixed it for me.
Samuel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: I meet some problem when using stubdom, anybody could help? -:)
2008-07-17 15:25 I meet some problem when using stubdom, anybody could help? -:) Ke, Liping
2008-07-17 15:32 ` Samuel Thibault
@ 2008-07-18 13:30 ` Samuel Thibault
1 sibling, 0 replies; 5+ messages in thread
From: Samuel Thibault @ 2008-07-18 13:30 UTC (permalink / raw)
To: Ke, Liping; +Cc: xen-devel
Hello,
Ke, Liping, le Thu 17 Jul 2008 23:25:53 +0800, a écrit :
> 6) executing following command:
>
> mkdir -p /exports/usr/share/qemu
> ln -s /usr/share/qemu/keymaps /exports/usr/share/qemu
BTW, the documentation was actually incorrect, there is a xen/ part
missing.
Samuel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-07-18 13:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-17 15:25 I meet some problem when using stubdom, anybody could help? -:) Ke, Liping
2008-07-17 15:32 ` Samuel Thibault
2008-07-18 2:37 ` Ke, Liping
2008-07-18 13:27 ` Samuel Thibault
2008-07-18 13:30 ` Samuel Thibault
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.