Skip to contentSkip to conversation

Problems with XEN 3.0.4 and Python

DISCUSSION Velten Spägele 2 participants 5 messages Dec 25, 2006 – Mar 13, 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

USB in domU - usblp: probe of 1-2:1.0 failed with error -5

Hi,

i ried to install a networkprinter, with USB, so i start to hide the USB in dom0 and include it in domU, compile a new kernel with pci and usb include so that

:/# lspci
0000:00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02)
:/#

seem to be working.
But /var/log/messages show this:

Mar  9 20:10:32 MLDONKEY kernel: usb 1-2: USB disconnect, address 2
Mar  9 20:10:57 MLDONKEY kernel: usb 1-2: new full speed USB device using uhci_hcd and address 3
Mar  9 20:10:57 MLDONKEY kernel: usb 1-2: configuration #1 chosen from 1 choice
Mar  9 20:10:57 MLDONKEY kernel: usblp: probe of 1-2:1.0 failed with error -5
Mar  9 20:35:47 MLDONKEY -- MARK --

How can I get USB in domU working ?

#2 lore raw

USB in domU - usblp: probe of 1-2:1.0 failed with error -5

In reply to Velten Spägele

Hi,

i ried to install a networkprinter, with USB, so i start to hide the USB in dom0 and include it in domU, compile a new kernel with pci include and USB in modules

SAMBA:/# lspci
0000:00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02)
SAMBA:/# lsusb
Bus 001 Device 002: ID 04a9:1093 Canon, Inc.
Bus 001 Device 001: ID 0000:0000

seem to be working.

But /var/log/messages show this:

Mar 12 23:31:16 MLDONKEY kernel: usb 1-2: new full speed USB device using uhci_hcd and address 2
Mar 12 23:31:17 MLDONKEY kernel: usb 1-2: configuration #1 chosen from 1 choice
Mar 12 23:31:17 MLDONKEY kernel: usblp: probe of 1-2:1.0 failed with error -5
Mar 12 23:31:17 MLDONKEY kernel: usbcore: registered new driver usblp
Mar 12 23:31:17 MLDONKEY kernel: drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver

So I didn't get an printer device

SAMBA:/# lpinfo -v
network socket
network beh
network http
network ipp
network lpd
SAMBA:/#

How do i get an orinter device ?

#3 lore raw

USB in domU - usblp: probe of 1-2:1.0 failed with error -5

In reply to Velten Spägele

Hi,

i ried to install a networkprinter, with USB, so i start to hide the USB in dom0 and include it in domU, compile a new kernel with pci include and USB in modules

SAMBA:/# lspci
0000:00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02)
SAMBA:/# lsusb
Bus 001 Device 002: ID 04a9:1093 Canon, Inc.
Bus 001 Device 001: ID 0000:0000

seem to be working.

But /var/log/messages show this:

Mar 12 23:31:16 MLDONKEY kernel: usb 1-2: new full speed USB device
using uhci_hcd and address 2
Mar 12 23:31:17 MLDONKEY kernel: usb 1-2: configuration #1 chosen from 1
choice
Mar 12 23:31:17 MLDONKEY kernel: usblp: probe of 1-2:1.0 failed with
error -5
Mar 12 23:31:17 MLDONKEY kernel: usbcore: registered new driver usblp
Mar 12 23:31:17 MLDONKEY kernel: drivers/usb/class/usblp.c: v0.13: USB

Printer Device Class driver

So I didn't get an printer device

SAMBA:/# lpinfo -v
network socket
network beh
network http
network ipp
network lpd
SAMBA:/#

How do i get an orinter device ?

#4 lore raw

USB in domU - usblp: probe of 1-2:1.0 failed with error -5

In reply to Velten Spägele

Hi,

i ried to install a networkprinter, with USB, so i start to hide the USB in dom0 and include it in domU, compile a new kernel with pci include and USB in modules

SAMBA:/# lspci
0000:00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02)
SAMBA:/# lsusb
Bus 001 Device 002: ID 04a9:1093 Canon, Inc.
Bus 001 Device 001: ID 0000:0000

seem to be working.

But /var/log/messages show this:

Mar 12 23:31:16 MLDONKEY kernel: usb 1-2: new full speed USB device
using uhci_hcd and address 2
Mar 12 23:31:17 MLDONKEY kernel: usb 1-2: configuration #1 chosen from 1
choice
Mar 12 23:31:17 MLDONKEY kernel: usblp: probe of 1-2:1.0 failed with
error -5
Mar 12 23:31:17 MLDONKEY kernel: usbcore: registered new driver usblp
Mar 12 23:31:17 MLDONKEY kernel: drivers/usb/class/usblp.c: v0.13: USB

Printer Device Class driver

So I didn't get an printer device

SAMBA:/# lpinfo -v
network socket
network beh
network http
network ipp
network lpd
SAMBA:/#

How do i get an orinter device ?