Ke, Liping
2008-Jul-17 15:25 UTC
[Xen-devel] 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@lists.xensource.com http://lists.xensource.com/xen-devel
Samuel Thibault
2008-Jul-17 15:32 UTC
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ke, Liping
2008-Jul-18 02:37 UTC
RE: [Xen-devel] I meet some problem when using stubdom, anybody could help? -:)
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Samuel Thibault
2008-Jul-18 13:27 UTC
Re: [Xen-devel] I meet some problem when using stubdom, anybody could help? -:)
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Samuel Thibault
2008-Jul-18 13:30 UTC
Re: [Xen-devel] I meet some problem when using stubdom, anybody could help? -:)
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/qemuBTW, the documentation was actually incorrect, there is a xen/ part missing. Samuel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel