Hello everyone,

I would like to run a PV domu with OpenSolaris 2009.06 under a dom0 also with 
OpenSolaris 2009.06.
So I set up dom0 and domu as described in [1-3]. Fine so far, domu boots and 
works as expected.

However, if I pass a further hard disk to the domu using [i]xm block-attach[/i] 
the domu does not boot properly:

r...@opensolaris:~# uname -a
SunOS opensolaris 5.11 snv_111b i86pc i386 i86xpv Solaris
r...@opensolaris:~# dd if=/dev/urandom of=/var/xen/test1.hdd bs=1024 count=10240
r...@opensolaris:~# chown xvm:xvm /var/xen/test1.hdd 
r...@opensolaris:~# ls -l /var/xen/test1.hdd 
-rwxrwxrwx 1 xvm xvm 10485760 2009-08-17 20:40 /var/xen/test1.hdd
r...@opensolaris:~# xm block-attach domu-samba file:/var/xen/test1.hdd 1 w
r...@opensolaris:~# xm block-list domu-samba
Vdev  BE handle state evt-ch ring-ref BE-path
0      -1   0     -1     -1     -1    0                               
1      -1   0     -1     -1     -1    ??                              
r...@opensolaris:~# xm start domu-samba
r...@opensolaris:~# xm console domu-samba
v3.1.4-xvm chgset 'Wed Apr 08 14:27:49 2009 -0700 15914:cd2d74aa8832'
SunOS Release 5.11 Version snv_111b 64-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hostname: samba
Reading ZFS config: done.
Mounting ZFS filesystems: (6/6)
Aug 17 21:19:13 svc.startd[7]: svc:/system/hal:default: Method 
"/lib/svc/method/svc-hal start" failed with exit status 95.
Aug 17 21:19:13 svc.startd[7]: system/hal:default failed fatally: transitioned 
to maintenance (see 'svcs -xv' for details)
Aug 17 21:24:48 svc.startd[7]: 
svc:/application/desktop-cache/icon-cache:default: Method or service exit timed 
out.  Killing contract 46.
Aug 17 21:24:48 svc.startd[7]: 
svc:/application/desktop-cache/icon-cache:default: Method 
"/lib/svc/method/icon-cache start" failed due to signal KILL.

Once I tried to pass the disk as hdc instead but that doesn't help either:

r...@opensolaris:~# xm block-attach domu-samba file:/var/xen/test1.hdd hdc w
r...@opensolaris:~# xm start domu-samba
r...@opensolaris:~# xm console domu-samba
v3.1.4-xvm chgset 'Wed Apr 08 14:27:49 2009 -0700 15914:cd2d74aa8832'
SunOS Release 5.11 Version snv_111b 64-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Aug 17 22:06:38 svc.startd[7]: svc:/network/routing-setup:default: Method or 
service exit timed out.  Killing contract 36.
Aug 17 22:06:38 svc.startd[7]: svc:/network/routing-setup:default: Method 
"/lib/svc/method/net-routing-setup" failed due to signal KILL.

In both cases the domu does not respond any more, not even to xm shutdown 
domu-samba.

Help gratefully appreciated ;-)
Regards, Ben

[1]http://www.opensolaris.org/os/community/xen/docs/2008_11_dom0/
[2]http://www.opensolaris.org/os/community/xen/docs/configuring-dom0/
[3]http://www.opensolaris.org/os/community/xen/docs/opensolaris_domu/
-- 
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to