WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] USB at domU PV domain & PVUSB

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] USB at domU PV domain & PVUSB
From: "Nacho Alegre Alvarez" <nacho@xxxxxxxxx>
Date: Wed, 27 Jul 2011 22:07:37 +0200 (CEST)
Delivery-date: Wed, 27 Jul 2011 13:09:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: High
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: nacho@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.15
Good Evenight

I try to do working usb's into domU xen guest, SO of xen server is Debian
Squenze 6.0, into HVM guest usb works and can make use but with
ParaVirtual guest PV can find this devices with lsusb or into /dev/
directory.

Kernel load into xend and guest is the same and is the kernel provided by
this package:

ii  linux-image-2.6.32-5-xen-amd64          2.6.32-35                   
Linux 2.6.32 for 64-bit PCs, Xen dom0 support
ii  linux-image-xen-amd64                   2.6.32+29                   
Linux for 64-bit PCs (meta-package), Xen dom0 support

this is the version of kernel:

Linux version 2.6.32-5-xen-amd64 (Debian 2.6.32-35) (dannf@xxxxxxxxxx)
(gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Tue Jun 14 12:46:30 UTC 2011


Configuration of PV  guest domain is:

bootloader = '/usr/lib/xen-default/bin/pygrub'
vcpus       = '2'
memory      = '512'
root        = '/dev/xvda2 ro'
disk        = [
                  
'file:/disco/xen/maquinas/domains/debian-prueba/disk.img,xvda2,w',
                  
'file:/disco/xen/maquinas/domains/debian-prueba/swap.img,xvda1,w',
              ]
name        = 'debian-prueba'
vif         = [ 'ip=192.168.0.200,mac=00:16:3E:D2:D7:46' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'
usb=1
vusb = ['usbver=2, numports=10,port_1=1-3,port_2=1-2'

oput get in  XEN whi xm about usb is the next info:

root@xen-servidor:/etc/grub.d# xm usb-list debian-prueba
Idx BE  state usb-ver  BE-path
0   0   1     USB2.0  /local/domain/0/backend/vusb/17/0
port 1: 1-3
port 2: 1-2 [ID 0402:5661 ALi Corp. Audio Player]
port 3:
port 4:
port 5:
port 6:
port 7:
port 8:
port 9:
port 10:

available devices are this:

root@xen-servidor:/etc/grub.d# xm usb-list-assignable-devices
1-2          : ID 0402:5661 ALi Corp. Audio Player
root@xen-servidor:/etc/grub.d#


kernel of this PV domain "debian-prueba" is next:

root@debian-prueba:~# cat /proc/version
Linux version 2.6.32-5-xen-amd64 (Debian 2.6.32-35) (dannf@xxxxxxxxxx)
(gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Tue Jun 14 12:46:30 UTC 2011
root@debian-prueba:~#

but into this guest domain "debian-prueba" when exec lsusb command get
nothing, see below:

root@debian-prueba:~# lsusb
root@debian-prueba:~#

at dmesg  of this PV domain, can watch only this info about usb and xen:

[    0.316730] XENBUS: Device with no driver: device/vbd/51714
[    0.316740] XENBUS: Device with no driver: device/vbd/51713
[    0.316749] XENBUS: Device with no driver: device/vif/0
[    0.316757] XENBUS: Device with no driver: device/vusb/0
[    0.316766] XENBUS: Device with no driver: device/console/0
[    0.316796]
/build/buildd-linux-2.6_2.6.32-35-amd64-aZSlKL/linux-2.6-2.6.32/debian/build/source_amd64_xen/drivers/rtc/hctosys.c:
unable to open rtc device (rtc0)
[    0.316837] Initalizing network drop monitor service

Anyone have the same situation with PV guest domain working with usb throw
PVUSB techonology, can anyone guide me to make run usb at this domain,
need connect four devices 2.0  (printer, disc, scanner and modem with
serial port throw usb-serial converter)

If any one can help me, because i read something about PVUSB but can't
make work usb at PV domains  or not know steps to do this devices work.

Thanks and Best Regards.

Nacho Alegre.

e-mail: nacho@xxxxxxxxx




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>