Skip to contentSkip to conversation

Problems with XEN 3.0.4 and Python

DISCUSSION Velten Spägele 5 participants 5 messages Dec 26, 2006 – Jan 2, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

today i have hg clone XEN 3.0.4 and compile it with

make world and make install

it has been successfully installed

update-rc.d xend defaults 20 21
update-rc.d xendomains defaults 21 20

after making a initrd with mkinitrd.yaird and updating grub it was booting successfull

but now:

DEBIAN:~# xm
Traceback (most recent call last):
  File "/usr/sbin/xm", line 8, in ?
    from xen.xm import main
  File "//usr/lib/python/xen/xm/main.py", line 51, in ?
    from xen.util import security
  File "//usr/lib/python/xen/util/security.py", line 25, in ?
    from xen.lowlevel import acm
ImportError: libxenctrl.so.3.0: cannot handle TLS data
DEBIAN:~#

Python is installed:

Python 2.3.5 with python
Python 2.4.1 with python2.4

do i need python2.5 ?

or where is the error ?

Greets ( M.f.G ;) )

#1 lore raw
Quoted 36 lines · Velten Spägele

Hi,

today i have hg clone XEN 3.0.4 and compile it with

make world and make install

it has been successfully installed

update-rc.d xend defaults 20 21
update-rc.d xendomains defaults 21 20

after making a initrd with mkinitrd.yaird and updating grub it was booting successfull

but now:

DEBIAN:~# xm
Traceback (most recent call last):
  File "/usr/sbin/xm", line 8, in ?
    from xen.xm import main
  File "//usr/lib/python/xen/xm/main.py", line 51, in ?
    from xen.util import security
  File "//usr/lib/python/xen/util/security.py", line 25, in ?
    from xen.lowlevel import acm
ImportError: libxenctrl.so.3.0: cannot handle TLS data
DEBIAN:~#

Python is installed:

Python 2.3.5 with python
Python 2.4.1 with python2.4

do i need python2.5 ?

or where is the error ?

Quoted 7 lines

Greets ( M.f.G ;) )

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Google.

Signature · 1 line
Christopher G. Stach II
#2 lore raw
In reply to Velten Spägele
Quoted 2 lines · Velten Spägele

ImportError: libxenctrl.so.3.0: cannot handle TLS data DEBIAN:~#

You need a TLS-capable glibc. Of course you don't have one because you renamed /lib/tls. :-) A short-term workaround is to rename it back; for full performance you need a TLS-capable glibc that doesn't do -ve segment accesses. We will see about making a suitable debian package available in the new year.

-- Keir

#3 lore raw
Quoted 6 lines · Keir Fraser

[...]
You need a TLS-capable glibc. Of course you don't have one because you renamed /lib/tls. :-) A short-term workaround is to rename it back; for full performance you need a TLS-capable glibc that doesn't do -ve segment accesses. We will see about making a suitable debian package available in the new year.

Probably it is not necessary for XenSource to do this:
There's libc6-xen in testing. It can be installed quite easy (at least when I treid it the last time, some while ago) with apt-pinning on sarge. Maybe there's even a backport.

Henning

#4 lore raw

Problems with xen 3.0.3 install on debian sarge

In reply to Velten Spägele

Hi,

Having issues installing xen 3.0.3 source on debian sarge
I am still at the install level and when I run "make install" it ends with the error:

collect2: ld returned 1 exit status
make[3]: *** [tapdisk] Error 1
make[3]: Leaving directory '/usr/src/xen-3.0.3_0-src/tools/blktap/drivers' make[2]: *** [install] Error 2
make[2]: Leaving directory '/usr/src/xen-3.0.3_0-src/tools/blktap' make[1]: *** [install] Error 2
make[1]: Leaving directory '/usr/src/xen-3.0.3_0-src/tools'
make: *** [install-tools] Error 2

Please help

Signature · 2 lines
View this message in context: http://www.nabble.com/Problems-with-XEN-3.0.4-and-Python-tf2882875.html#a8132718
Sent from the Xen - Dev mailing list archive at Nabble.com.