From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erwan PILLET Subject: Re: [Bug] PVUSB, Ubuntu 12.04, Xen 4.1.2 Date: Wed, 29 May 2013 17:08:18 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7394235977679786702==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xensource.com" Cc: Erwan PILLET List-Id: xen-devel@lists.xenproject.org --===============7394235977679786702== Content-Type: multipart/alternative; boundary=089e0122f134b806ac04dddcc109 --089e0122f134b806ac04dddcc109 Content-Type: text/plain; charset=ISO-8859-1 On 29 May 2013 15:25, George Dunlap wrote: > On Wed, May 29, 2013 at 2:11 PM, Erwan PILLET > wrote: > > Hi everyone, > > > > I installed xen from packages on Ubuntu 12.04, getting the version 4.1.2 > . > > I wanted to use pvusb which I understand was functional on this version > to > > pass an USB hard drive to my DomU, but I only manage to get this error > > trying to attach the device to a domain. > > > > It may also be worth mentionning that "xm usb-hc-destroy mydomu 0" > doesn't > > have any effect, so it doesn't give back any error (I get one if I try > on an > > unregistered devId) but don't remove the host controller. > > > > So should pvusb be fonctionnal on this version of xen/xm ? If yes, any > help > > would be highly appreciated. > > PVUSB requires support both from the toolstack and from the dom0 > kernel. I believe PVUSB is only available in "classic Xen" kernels > such as those supported by SuSE; I'm pretty sure that Ubuntu does not > have one. > > To see if usbback is present, you can do the following: > > ls /sys/bus/usb/drivers/usbback > > If it gives you an error, then the problem is that your Ubuntu dom0 > kernel doesn't have PVUSB support. > > -George > First, thanks for your help ! Indeed, there is no such file on my hypervisor, so I guess this kernel doesn't support PVUSB. Do you know if there is a way to patch the kernel to include this feature ? -- Erwan --089e0122f134b806ac04dddcc109 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 29 May 2013 15:25, George Dunlap <George.Dunlap@eu.citrix.com= > wrote:
On Wed, May 29, 2013 at 2:11 PM, Erwan PILLET
<e= rwan.pillet@telecom-bretagne.eu> wrote:
> Hi everyone,
>
> I installed xen from packages on Ubuntu 12.04, getting the version 4.1= .2 .
> I wanted to use pvusb which I understand was functional on this versio= n to
> pass an USB hard drive to my DomU, but I only manage to get this error=
> trying to attach the device to a domain.
>
> It may also be worth mentionning that "xm usb-hc-destroy mydomu 0= " doesn't
> have any effect, so it doesn't give back any error (I get one if I= try on an
> unregistered devId) but don't remove the host controller.
>
> So should pvusb be fonctionnal on this version of xen/xm ? If yes, any= help
> would be highly appreciated.

PVUSB requires support both from the toolstack and from the dom0
kernel. =A0I believe PVUSB is only available in "classic Xen" ker= nels
such as those supported by SuSE; I'm pretty sure that Ubuntu does not have one.

To see if usbback is present, you can do the following:

ls /sys/bus/usb/drivers/usbback

If it gives you an error, then the problem is that your Ubuntu dom0
kernel doesn't have PVUSB support.

=A0-George


First, thanks f= or your help !
Indeed, there is no such file on my hypervisor, so= I guess this kernel doesn't support PVUSB.
Do you know if th= ere is a way to patch the kernel to include this feature ?

--=A0
Erwan
--089e0122f134b806ac04dddcc109-- --===============7394235977679786702== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============7394235977679786702==--