From: merc1984@f-m.fm Subject: Re: Bug: USB Bridge Will Not PassThru Date: Wed, 18 Jun 2014 12:02:26 -0700 Message-ID: <1403118146.17739.130292293.641B034D@webmail.messagingengine.com> References: <1403071231.18741.130039173.1102B089@webmail.messagingengine.com> <20140618064857.GY18930@reaktio.net> <1403099135.28919.130179277.1700E6D0@webmail.messagingengine.com> <20140618141053.GA18930@reaktio.net> <1403105326.24953.130218681.5D1F239F@webmail.messagingengine.com> <20140618154720.GD18930@reaktio.net> <1403108816.8679.130244925.4FE0CBA9@webmail.messagingengine.com> <20140618172239.GE18930@reaktio.net> <1403115228.4030.130283885.5F4A6FDB@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7171430114790966678==" Return-path: In-Reply-To: <1403115228.4030.130283885.5F4A6FDB@webmail.messagingengine.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: =?ISO-8859-1?Q?Pasi=20K=E4rkk=E4inen?= Cc: Xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============7171430114790966678== Content-Transfer-Encoding: 7bit Content-Type: multipart/alternative; boundary="_----------=_1403118146177390"; charset="utf-8" This is a multi-part message in MIME format. --_----------=_1403118146177390 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="ISO-8859-1" On Wed, Jun 18, 2014, at 11:13, [1]merc1984@f-m.fm wrote: On Wed, Jun 18, 2014, at 10:22, Pasi K=E4rkk=E4inen wrote: On Wed, Jun 18, 2014 at 09:26:56AM -0700, [2]merc1984@f-m.fm wrote: On Wed, Jun 18, 2014, at 8:47, Pasi K=E4rkk=E4inen wrote: PVUSB is another option, it supports passthru of USB2 devices, but it requires special drivers in both dom0 and guest kernel. Thanks. It appears though that most info is 5 years old. And that the newest drivers are for kernel 2.6.32. (I'm running 3.14.1) The consensus (at least 2 years ago) was that it doesn't work well. In any case I can't find xen-usbback or xen-usbfront to compile. [3]http://wiki.xen.org/wiki/Xen_USB_Passthrough et al. Suse SLES11 classic xenlinux kernels do contain PVUSB drivers (Linux 3.x). Also Konrad's git tree has some experimental version of PVUSB for 3.x. But agreed getting PVUSB (drivers) to work requires some work. Another thing you could do is to add the qemu-upstream VGA/GPU passthru patches, and use qemu-upstream. I guess I'm in trouble now. I crapped out and installed a USB PCIe adapter, set it for PCI passthru, and set the mouse, keyboard, and USB bridge for USB passthru to the domU. Now when I boot the hypervisor kernel, it does not respond to the keyboard. I -can- make a grub selection with it, but then can not enter the luks disk password for /. (of course I have a cleartext /boot) I unplugged the keyboard from the PCIe interface and into several of the mobo USB ports, reset the machine, but no response. Starting to feel damned. I believe that I'm missing a couple of luks modules in /etc/initramfs-tools/modules. Unfortunately the Debian rescue CD can't mount /dev/mapper/sda2_crypt due to some hidden error. Chrooting into the installer environment also gives some hidden error when I try to mount. References 1. mailto:merc1984@f-m.fm 2. mailto:merc1984@f-m.fm 3. http://wiki.xen.org/wiki/Xen_USB_Passthrough --=20 http://www.fastmail.fm - IMAP accessible web-mail --_----------=_1403118146177390 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="ISO-8859-1"
On Wed, Jun 18, 2014, at 10:22, Pasi K=E4rkk=E4inen wrote:
On Wed, Jun 18, 2014 at 09:26:56AM -0700, merc1984@f-m.fm wrote:
  On Wed, Jun 18, 2014, at 8:47, Pasi K=E4rkk=E4inen wrote:
 
    PVUSB is another option, it supports passthru of USB2 de= vices,
    but it requires special drivers in both dom0 and guest k= ernel.
 
 
  Thanks.  It appears though that most info is 5 years old.&= nbsp; And that the
  newest drivers are for kernel 2.6.32. (I'm running 3.14.1)&= nbsp; The consensus
  (at least 2 years ago) was that it doesn't work well. = In any case I can't
  find xen-usbback or xen-usbfront to compile.
 
 
 
Suse SLES11 classic xenlinux kernels do contain PVUSB drivers (Linux
3.x).
Also Konrad's git tree has some experimental version of PVUSB for = 3.x.
 
But agreed getting PVUSB (drivers) to work requires some work.
 
Another thing you could do is to add the qemu-upstream VGA/GPU passthr= u
patches,
and use qemu-upstream.
 
I guess I'm in trouble now.  I crapped out and installed a US= B PCIe adapter, set it for PCI passthru, and set the mouse, keyboard, and U= SB bridge for USB passthru to the domU.
 
Now when I boot the hypervisor kernel, it does not respond to the keyb= oard.  I -can- make a grub selection with it, but then can not enter t= he luks disk password for /. (of course I have a cleartext /boot)  I u= nplugged the keyboard from the PCIe interface and into several of the mobo = USB ports, reset the machine, but no response.
 
Starting to feel damned.
 
I believe that I'm missing a couple of luks modules in /etc/initra= mfs-tools/modules.  Unfortunately the Debian rescue CD can't mount= /dev/mapper/sda2_crypt due to some hidden error.  Chrooting into the = installer environment also gives some hidden error when I try to mount.
 
 
--=20
http://www.fastmail.fm - IMAP accessible web-mail
= --_----------=_1403118146177390-- --===============7171430114790966678== 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 --===============7171430114790966678==--