Hmm no, that's no good. You have the same problem with pygrub, that also needs libgen.so.
A different solution would be to stamp in those extra dependencies: # cd /usr/lib/python2.4/vendor-packages/xen/lowlevel/64/ # ldd scf.so # elfedit scf.so scf.so.new > dyn:value DT_NEEDED index tag value [0] NEEDED 0x4f81 libpthread.so.1 [1] NEEDED 0x4fac libxml2.so.2 [2] NEEDED 0x4fc2 libgcc_s.so.1 > dyn:value -add -s DT_NEEDED libscf.so index tag value [35] NEEDED 0x500d libscf.so > dyn:value DT_NEEDED index tag value [0] NEEDED 0x4f81 libpthread.so.1 [1] NEEDED 0x4fac libxml2.so.2 [2] NEEDED 0x4fc2 libgcc_s.so.1 [35] NEEDED 0x500d libscf.so > :write > :quit # cp scf.so scf.so-orig # mv scf.so.new scf.so # /usr/lib/xend # cd /usr/lib/python2.4/vendor-packages/64/ # elfedit fsimage.so fsimage.so-new > dyn:value -add -s DT_NEEDED libgen.so > :write > :quit # cp fsimage.so fsimage.so-orig # mv fsimage.so-new fsimage.so # /usr/lib/xen/bin/pygrub Usage: /usr/lib/xen/bin/pygrub This make everything start for me, for example: # virt-install --paravirt --name test1 --ram 1500 --nographics --os-type=solaris --os-variant=opensolaris --network bridge --disk path=/dev/zvol/dsk/rpool/xen01 --location /var/tmp/sol-11-exp-201011-text-x86.iso v3.4.2-xvm chgset 'Sun Oct 31 22:46:55 2010 -0700 19676:b9688c96554c' SunOS Release 5.11 Version snv_151a 64-bit Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved. Hostname: solaris I complete the install entirely, without issues, and just as you ask to reboot: 5 Reboot Please enter a number [1]: 5 Nov 22 09:40:59 solaris reboot: initiated by root on /dev/console syncing file systems... done rebooting... libvir: error : Unknown failure Connection to domain 14 closed. Not entirely sure what the error is just before reboot, but starting the domU does not work: POST operation failed: xend_post: error from xen daemon: (xend.err "Boot loader didn't return any data!") Which actually boils down to: # /usr/lib/xen/bin/pygrub /dev/zvol/dsk/rpool/xen01 Traceback (most recent call last): File "/usr/lib/xen/bin/pygrub", line 695, in ? fs = fsimage.open(file, get_fs_offset(file)) IOError: [Errno 48] Operation not supported Or, from truss: 14517/1: -> fsimage:zfs_mount(0x457730, 0x0, 0x7ffffb746420, 0xfffffffffffff940, 0x0, 0xc00000) 14517/1: pread(3, "\fB1BA\0\0\0\0\01F\0\0\0".., 131072, 16581632) = 131072 [snip] 14517/1: pread(3, "\0\0\0\0\0\0\0\0\0\0\0\0".., 2048, 16512000) = 2048 14517/1: pread(3, "\0\0\0\0\0\0\0\0\0\0\0\0".., 2048, 16514048) = 2048 14517/1: close(3) = 0 14517/1: fstat(2, 0x7FFFFFDFF740) = 0 Traceback (most recent call last): 14517/1: write(2, " T r a c e b a c k ( m".., 35) = 35 This is where I am stuck. fsimage does not like any image I give it. Perhaps zfs_mount is broken, but I can confirm that it loads: 14522/1: open("/usr/lib/fs/zfs/64/fsimage.so", O_RDONLY) = 5 ..which I assume would mean it can handle it. -- This message posted from opensolaris.org _______________________________________________ opensolaris-help mailing list opensolaris-help@opensolaris.org