All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: George Dunlap <dunlapg@umich.edu>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Erwan PILLET <erwan.pillet@telecom-bretagne.eu>
Subject: Re: [Bug] PVUSB, Ubuntu 12.04, Xen 4.1.2
Date: Wed, 29 May 2013 14:00:41 -0400	[thread overview]
Message-ID: <20130529180041.GA10845@phenom.dumpdata.com> (raw)
In-Reply-To: <CAFLBxZbJWBnptQ6WkBAEzbTi5FLZhBmY+bx3-FBcNqCoFMoDKw@mail.gmail.com>

On Wed, May 29, 2013 at 05:14:08PM +0100, George Dunlap wrote:
> On Wed, May 29, 2013 at 4:08 PM, Erwan PILLET
> <erwan.pillet@telecom-bretagne.eu> wrote:
> > 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
> >> <erwan.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 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 ?
> 
> I think there are some trees with PVUSB, but I don't think it's very
> reliable.  Konrad will know more.

There is devel/xen-usb.v1.1 in  git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git
but it is so old that I fear it has many bugs in it.

> 
>  -George

      reply	other threads:[~2013-05-29 18:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-29 13:11 [Bug] PVUSB, Ubuntu 12.04, Xen 4.1.2 Erwan PILLET
2013-05-29 13:25 ` George Dunlap
2013-05-29 15:08   ` Erwan PILLET
2013-05-29 16:14     ` George Dunlap
2013-05-29 18:00       ` Konrad Rzeszutek Wilk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130529180041.GA10845@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=dunlapg@umich.edu \
    --cc=erwan.pillet@telecom-bretagne.eu \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.