Hi folks, I have installed Debian Lenny 64Bit, have compiled Xen4, and now I am running a Xen4 Hypervisor with a Debian Backports Xen-Kernel (2.6.32) in dom0. That works so far, that means I can start dom0 and it runs. But using xm commands always leads to these errors:> pclus2debi5-03:~# xm list > Traceback (most recent call last): > File "/usr/sbin/xm", line 5, in <module> > from xen.xm import main > File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 54, in > <module> > from xen.xm import console > File "/usr/lib/python2.5/site-packages/xen/xm/console.py", line 19, > in <module> > import xen.lowlevel.xs > ImportError: /usr/lib/python2.5/site-packages/xen/lowlevel/xs.so: > wrong ELF class: ELFCLASS64What I do not understand, is why ELFCLASS64 should be wrong a 64bit system? I have googled a lot for this problem, but found nothing. Any idea where to look at? I am stuck. Dirk _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Why don''t you use xen-linux-system packages in squeeze!? Regards, Mark On 6 Sep 2010, at 07:12, "Dirk H. Schulz" <dirk.schulz@kinzesberg.de> wrote:> Hi folks, > > I have installed Debian Lenny 64Bit, have compiled Xen4, and now I am running a Xen4 Hypervisor with a Debian Backports Xen-Kernel (2.6.32) in dom0. That works so far, that means I can start dom0 and it runs. > > But using xm commands always leads to these errors: > >> pclus2debi5-03:~# xm list >> Traceback (most recent call last): >> File "/usr/sbin/xm", line 5, in <module> >> from xen.xm import main >> File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 54, in <module> >> from xen.xm import console >> File "/usr/lib/python2.5/site-packages/xen/xm/console.py", line 19, in <module> >> import xen.lowlevel.xs >> ImportError: /usr/lib/python2.5/site-packages/xen/lowlevel/xs.so: wrong ELF class: ELFCLASS64 > What I do not understand, is why ELFCLASS64 should be wrong a 64bit system? > > I have googled a lot for this problem, but found nothing. > > Any idea where to look at? I am stuck. > > Dirk > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Am 06.09.10 10:06, schrieb Mark Adams:> Why don''t you use xen-linux-system packages in squeeze!?Because I hoped to get an easier test bed if I do not change everything at once. Will give squeeze a try if I do not find a solution here. Dirk> Regards, > Mark > > On 6 Sep 2010, at 07:12, "Dirk H. Schulz"<dirk.schulz@kinzesberg.de> wrote: > >> Hi folks, >> >> I have installed Debian Lenny 64Bit, have compiled Xen4, and now I am running a Xen4 Hypervisor with a Debian Backports Xen-Kernel (2.6.32) in dom0. That works so far, that means I can start dom0 and it runs. >> >> But using xm commands always leads to these errors: >> >>> pclus2debi5-03:~# xm list >>> Traceback (most recent call last): >>> File "/usr/sbin/xm", line 5, in<module> >>> from xen.xm import main >>> File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 54, in<module> >>> from xen.xm import console >>> File "/usr/lib/python2.5/site-packages/xen/xm/console.py", line 19, in<module> >>> import xen.lowlevel.xs >>> ImportError: /usr/lib/python2.5/site-packages/xen/lowlevel/xs.so: wrong ELF class: ELFCLASS64 >> What I do not understand, is why ELFCLASS64 should be wrong a 64bit system? >> >> I have googled a lot for this problem, but found nothing. >> >> Any idea where to look at? I am stuck. >> >> Dirk >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I have been running just like you are trying. You do have to add some modules to /etc/modules #for xen xenfs blktap xen-evtchn Now to the bad part. Recently after a new xen kernel 2.6.32 upgrade in backports xend will no longer start. Otherwise looks OK. It''s a test system and have not had time to track it down yet but will have to resolve it soon. Attached if a diff new-config old-config. I see nothing obvious. John On Monday 06 September 2010 01:12:19 am Dirk H. Schulz wrote:> Hi folks, > > I have installed Debian Lenny 64Bit, have compiled Xen4, and now I am > running a Xen4 Hypervisor with a Debian Backports Xen-Kernel (2.6.32) in > dom0. That works so far, that means I can start dom0 and it runs. > > But using xm commands always leads to these errors: > > pclus2debi5-03:~# xm list > > Traceback (most recent call last): > > File "/usr/sbin/xm", line 5, in <module> > > from xen.xm import main > > File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 54, in > > <module> > > from xen.xm import console > > File "/usr/lib/python2.5/site-packages/xen/xm/console.py", line 19, > > in <module> > > import xen.lowlevel.xs > > ImportError: /usr/lib/python2.5/site-packages/xen/lowlevel/xs.so: > > wrong ELF class: ELFCLASS64 > > What I do not understand, is why ELFCLASS64 should be wrong a 64bit system? > > I have googled a lot for this problem, but found nothing. > > Any idea where to look at? I am stuck. > > Dirk > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users