I''m trying to enable XVM on Solaris Express 11 build 151a pkg install xvm-gui svcadm enable milestone/xvm reboot After enabling and rebooting xvm service it fails with the following error: File "/usr/lib/xend", line 36, in ? from xen.xend.server import SrvDaemon File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 26, in ? File "/usr/lib/python2.4/site-packages/xen/xend/server/relocate.py", line 28, in ? File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 36, in ? File "/usr/lib/python2.4/site-packages/xen/xend/XendOptions.py", line 37, in ? ImportError: ld.so.1: isapython2.4: fatal: relocation error: file /usr/lib/python2.4/vendor-packages/xen/lowlevel/64/scf.so: symbol scf_error: referenced symbol not found [ wrz 2 22:25:27 Method "start" exited with status 1. ] uname -a SunOS storage-big 5.11 snv_151a i86pc i386 i86pc Solaris I googlead around and found couple of similar issues but no real solution. many thanks in advance. -- This message posted from opensolaris.org
Le 05/12/10 19:29, Alxen4 a écrit :> I''m trying to enable XVM on Solaris Express 11 build 151a > > pkg install xvm-gui > svcadm enable milestone/xvm > reboot > > After enabling and rebooting xvm service it fails with the following error: > > > > File "/usr/lib/xend", line 36, in ? > from xen.xend.server import SrvDaemon > File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 26, in ? > File "/usr/lib/python2.4/site-packages/xen/xend/server/relocate.py", line 28, in ? > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 36, in ? > File "/usr/lib/python2.4/site-packages/xen/xend/XendOptions.py", line 37, in ? > ImportError: ld.so.1: isapython2.4: fatal: relocation error: file /usr/lib/python2.4/vendor-packages/xen/lowlevel/64/scf.so: symbol scf_error: referenced symbol not found > [ wrz 2 22:25:27 Method "start" exited with status 1. ] > > > uname -a > > SunOS storage-big 5.11 snv_151a i86pc i386 i86pc Solaris > > > I googlead around and found couple of similar issues but no real solution. > > many thanks in advance.well I found a "solution" for this problem : Cf. http://opensolaris.org/jive/thread.jspa?messageID=505908&tstart=0 # 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 Do the same with 32 bit versions (to prevent relocation with xm) I checked as well another file not found problem with flask.so not finding libflask.so.1.0 and solved it this way ln -s /usr/lib/64/libflask.so /usr/lib/64/libflask.so.1 ln -s /usr/lib/64/libflask.so.1 /usr/lib/64/libflask.so.1.0 ln -s /usr/lib/libflask.so /usr/lib/libflask.so.1 ln -s /usr/lib/libflask.so.1 /usr/lib/libflask.so.1.0 To be honest I have no idea of what I really did and what is the cause of breakage. Anyway, it sort of worked, I could start my (previously configured) HVM guests (Windows 2008R2, Windows 7) and it seems quite stable. Good luck Bruno PS : I really would love to be able to continue using xvm +solaris 11 express... such a killer setup with zfs
Le 05/12/10 19:39, Bruno Damour a écrit :> Le 05/12/10 19:29, Alxen4 a écrit : >> I''m trying to enable XVM on Solaris Express 11 build 151a >> >> pkg install xvm-gui >> svcadm enable milestone/xvm >> reboot >> >> After enabling and rebooting xvm service it fails with the following >> error: >> >> >> >> File "/usr/lib/xend", line 36, in ? >> from xen.xend.server import SrvDaemon >> File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", >> line 26, in ? >> File "/usr/lib/python2.4/site-packages/xen/xend/server/relocate.py", >> line 28, in ? >> File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line >> 36, in ? >> File "/usr/lib/python2.4/site-packages/xen/xend/XendOptions.py", line >> 37, in ? >> ImportError: ld.so.1: isapython2.4: fatal: relocation error: file >> /usr/lib/python2.4/vendor-packages/xen/lowlevel/64/scf.so: symbol >> scf_error: referenced symbol not found >> [ wrz 2 22:25:27 Method "start" exited with status 1. ] >> >> >> uname -a >> >> SunOS storage-big 5.11 snv_151a i86pc i386 i86pc Solaris >> >> >> I googlead around and found couple of similar issues but no real >> solution. >> >> many thanks in advance. > well I found a "solution" for this problem : > > Cf. http://opensolaris.org/jive/thread.jspa?messageID=505908&tstart=0 > > # 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 > > Do the same with 32 bit versions (to prevent relocation with xm) > > I checked as well another file not found problem with flask.so not > finding libflask.so.1.0 and solved it this way > > ln -s /usr/lib/64/libflask.so /usr/lib/64/libflask.so.1 > ln -s /usr/lib/64/libflask.so.1 /usr/lib/64/libflask.so.1.0 > ln -s /usr/lib/libflask.so /usr/lib/libflask.so.1 > ln -s /usr/lib/libflask.so.1 /usr/lib/libflask.so.1.0 > > To be honest I have no idea of what I really did and what is the cause > of breakage. Anyway, it sort of worked, I could start my (previously > configured) HVM guests (Windows 2008R2, Windows 7) and it seems quite > stable. > > Good luck > > Bruno > > PS : I really would love to be able to continue using xvm +solaris 11 > express... such a killer setup with zfs > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.orgI probably should add that my solaris 11 express is an upgrade of snv_134 via image-update, and that I did NOT upgrade the zfs pools/file systems : zfs version 4 (not 6) zpool version 22 (not 31) Bruno
Hi, "Bruno Damour" <llama@ruomad.net> írta 2010-12-05 19:50-kor:> Le 05/12/10 19:39, Bruno Damour a écrit : > I probably should add that my solaris 11 express is an upgrade of > snv_134 via image-update, and that I did NOT upgrade the zfs pools/file > systems :I have the same situation, but..> zfs version 4 (not 6)zfs version is 4, but zfs upgrade -v shows me 5 as the latest version.> zpool version 22 (not 31)The same is here. Aaand, the big "BUT" is that, "solution" didn''t work for me: root@node06:~# uname -a SunOS node06 5.11 snv_151a i86pc i386 i86pc Solaris root@node06:~# xm list Traceback (most recent call last): File "/usr/sbin/xm", line 5, in ? from xen.xm import main File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 55, in ? File "/usr/lib/python2.4/site-packages/xen/util/xsm/xsm.py", line 3, in ? File "/usr/lib/python2.4/site-packages/xen/xend/XendOptions.py", line 37, in ? ImportError: ld.so.1: isapython2.4: fatal: relocation error: file /usr/lib/python2.4/vendor-packages/xen/lowlevel/scf.so: symbol scf_error: referenced symbol not found root@node06:~# pkg install xvm-gui No updates necessary for this image. root@node06:~# cd /usr/lib/python2.4/vendor-packages/xen/lowlevel/64/ root@node06:/usr/lib/python2.4/vendor-packages/xen/lowlevel/64# ldd scf.so libxenctrl.so.3.4 => /usr/lib/64/libxenctrl.so.3.4 libxenguest.so.3.4 => /usr/lib/64/libxenguest.so.3.4 libxenstore.so.3.0 => /usr/lib/64/libxenstore.so.3.0 libgcc_s.so.1 => /usr/sfw/lib/amd64/libgcc_s.so.1 libpthread.so.1 => /lib/64/libpthread.so.1 libbz2.so.1 => /usr/lib/64/libbz2.so.1 libz.so.1 => /lib/64/libz.so.1 libsocket.so.1 => /lib/64/libsocket.so.1 libc.so.1 => /lib/64/libc.so.1 libnsl.so.1 => /lib/64/libnsl.so.1 libmp.so.2 => /lib/64/libmp.so.2 libmd.so.1 => /lib/64/libmd.so.1 libm.so.2 => /lib/64/libm.so.2 root@node06:/usr/lib/python2.4/vendor-packages/xen/lowlevel/64# elfedit scf.so scf.so.new> dyn:value DT_NEEDEDindex tag value [0] NEEDED 0x315 libxenctrl.so.3.4 [1] NEEDED 0x327 libxenguest.so.3.4 [2] NEEDED 0x33a libxenstore.so.3.0 [3] NEEDED 0x2ff libgcc_s.so.1> dyn:value -add -s DT_NEEDED libscf.soindex tag value [33] NEEDED 0x384 libscf.so> dyn:value DT_NEEDEDindex tag value [0] NEEDED 0x315 libxenctrl.so.3.4 [1] NEEDED 0x327 libxenguest.so.3.4 [2] NEEDED 0x33a libxenstore.so.3.0 [3] NEEDED 0x2ff libgcc_s.so.1 [33] NEEDED 0x384 libscf.so> :write > :quitroot@node06:/usr/lib/python2.4/vendor-packages/xen/lowlevel/64# cp scf.so scf.so-orig root@node06:/usr/lib/python2.4/vendor-packages/xen/lowlevel/64# mv scf.so.new scf.so root@node06:/usr/lib/python2.4/vendor-packages/xen/lowlevel/64# /usr/lib/xend Traceback (most recent call last): File "/usr/lib/xend", line 36, in ? from xen.xend.server import SrvDaemon File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 26, in ? File "/usr/lib/python2.4/site-packages/xen/xend/server/relocate.py", line 28, in ? File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 36, in ? File "/usr/lib/python2.4/site-packages/xen/xend/XendOptions.py", line 37, in ? ImportError: ld.so.1: isapython2.4: fatal: relocation error: file /usr/lib/python2.4/vendor-packages/xen/lowlevel/scf.so: symbol scf_error: referenced symbol not found root@node06:/usr/lib/python2.4/vendor-packages/xen/lowlevel/64# cd /usr/lib/python2.4/vendor-packages/64/ root@node06:/usr/lib/python2.4/vendor-packages/64# elfedit fsimage.so fsimage.so-new> dyn:value -add -s DT_NEEDED libgen.soindex tag value [32] NEEDED 0x519a libgen.so> :write > :quitroot@node06:/usr/lib/python2.4/vendor-packages/64# cp fsimage.so fsimage.so-orig root@node06:/usr/lib/python2.4/vendor-packages/64# mv fsimage.so-new fsimage.so root@node06:/usr/lib/python2.4/vendor-packages/64# /usr/lib/xen/bin/pygrub Traceback (most recent call last): File "/usr/lib/xen/bin/pygrub", line 24, in ? import fsimage ImportError: ld.so.1: isapython2.4: fatal: relocation error: file /usr/lib/python2.4/vendor-packages/fsimage.so: symbol mkdirp: referenced symbol not found root@node06:/usr/lib/python2.4/vendor-packages/64# xm Traceback (most recent call last): File "/usr/sbin/xm", line 5, in ? from xen.xm import main File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 55, in ? File "/usr/lib/python2.4/site-packages/xen/util/xsm/xsm.py", line 3, in ? File "/usr/lib/python2.4/site-packages/xen/xend/XendOptions.py", line 37, in ? ImportError: ld.so.1: isapython2.4: fatal: relocation error: file /usr/lib/python2.4/vendor-packages/xen/lowlevel/scf.so: symbol scf_error: referenced symbol not found So, I stucked here, and I don''t know what to do. Any clue? Cheers, PÁSZTOR György
> zfs version is 4, but zfs upgrade -v shows me 5 as the latest version. >my bad, it''s 5 in deed.> Aaand, the big "BUT" is that, "solution" didn''t work for me: > > root@node06:~# uname -a > SunOS node06 5.11 snv_151a i86pc i386 i86pc Solaris > root@node06:~# xm list > Traceback (most recent call last): > File "/usr/sbin/xm", line 5, in ? > from xen.xm import main > File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 55, in ? > File "/usr/lib/python2.4/site-packages/xen/util/xsm/xsm.py", line 3, in ? > File "/usr/lib/python2.4/site-packages/xen/xend/XendOptions.py", line 37, in ? > ImportError: ld.so.1: isapython2.4: fatal: relocation error: file /usr/lib/python2.4/vendor-packages/xen/lowlevel/scf.so: symbol scf_error: referenced symbol not found > root@node06:~# pkg install xvm-gui > No updates necessary for this image. > root@node06:~# cd /usr/lib/python2.4/vendor-packages/xen/lowlevel/64/ > root@node06:/usr/lib/python2.4/vendor-packages/xen/lowlevel/64# ldd scf.so > libxenctrl.so.3.4 => /usr/lib/64/libxenctrl.so.3.4 > libxenguest.so.3.4 => /usr/lib/64/libxenguest.so.3.4 > libxenstore.so.3.0 => /usr/lib/64/libxenstore.so.3.0 > libgcc_s.so.1 => /usr/sfw/lib/amd64/libgcc_s.so.1 > libpthread.so.1 => /lib/64/libpthread.so.1 > libbz2.so.1 => /usr/lib/64/libbz2.so.1 > libz.so.1 => /lib/64/libz.so.1 > libsocket.so.1 => /lib/64/libsocket.so.1 > libc.so.1 => /lib/64/libc.so.1 > libnsl.so.1 => /lib/64/libnsl.so.1 > libmp.so.2 => /lib/64/libmp.so.2 > libmd.so.1 => /lib/64/libmd.so.1 > libm.so.2 => /lib/64/libm.so.2 > root@node06:/usr/lib/python2.4/vendor-packages/xen/lowlevel/64# elfedit scf.so scf.so.new >strange thing is that (after fix) I have more dependencies for the same scf.so : amber 64 # ldd /usr/lib/python2.4/vendor-packages/xen/lowlevel/64/scf.so libxenctrl.so.3.4 => /usr/lib/64/libxenctrl.so.3.4 libxenguest.so.3.4 => /usr/lib/64/libxenguest.so.3.4 libxenstore.so.3.0 => /usr/lib/64/libxenstore.so.3.0 libgcc_s.so.1 => /usr/sfw/lib/amd64/libgcc_s.so.1 libscf.so => /lib/64/libscf.so libpthread.so.1 => /lib/64/libpthread.so.1 libbz2.so.1 => /usr/lib/64/libbz2.so.1 libz.so.1 => /lib/64/libz.so.1 libsocket.so.1 => /lib/64/libsocket.so.1 libc.so.1 => /lib/64/libc.so.1 libuutil.so.1 => /lib/64/libuutil.so.1 libgen.so.1 => /lib/64/libgen.so.1 libnsl.so.1 => /lib/64/libnsl.so.1 libnvpair.so.1 => /lib/64/libnvpair.so.1 libsmbios.so.1 => /usr/lib/64/libsmbios.so.1 libmp.so.2 => /lib/64/libmp.so.2 libmd.so.1 => /lib/64/libmd.so.1 libm.so.2 => /lib/64/libm.so.2 amber 64 # md5sum /usr/lib/python2.4/vendor-packages/xen/lowlevel/64/scf.so 6969199e5893e95cf0a5ab4fb0d0e9b1 /usr/lib/python2.4/vendor-packages/xen/lowlevel/64/scf.so amber 64 # md5sum /usr/lib/python2.4/vendor-packages/xen/lowlevel/64/scf.so.orig c0bd43d166942f581a97e9670a50d2ef /usr/lib/python2.4/vendor-packages/xen/lowlevel/64/scf.so.orig amber 64 # uname -a SunOS amber 5.11 snv_151a i86pc i386 i86xpv may be our systems are not exactly identical ?
Did anyone get this to work? I''m having the same issues as the Op, even after the suggested fix. -- This message posted from opensolaris.org
I got this to work. please read the url below. http://ar.opensolaris.org/jive/thread.jspa?threadID=135906&tstart=0 I think you have to do the same steps. Ryo On 2011/04/10, at 7:23, Luke Sheldrick wrote:> Did anyone get this to work? I''m having the same issues as the Op, even after the suggested fix. > -- > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org
Hi Ryo, Yes, I have read the thread, and as noted, still having the same issues that the op mentioned. They''re still having issues after the ''fix''... -- This message posted from opensolaris.org
an0key, Double check your error messages. I had update usr/lib/python2.4/vendor-packages/xen/lowlevel/scf.so. The previous messages instead indicate to update the 64 bit version, which didn''t work for me either. LnxGnome -- This message posted from opensolaris.org
Hi LnxGnome could you state in short steps how you finally got xvm to run on solaris express 151a ? Regards cudimax> an0key, > > Double check your error messages. I had to update > usr/lib/python2.4/vendor-packages/xen/lowlevel/scf.so > o get it to work. The previous messages instead > indicated to update the 64 bit version, which didn''t > work for me either. > > LnxGnome-- This message posted from opensolaris.org