[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] vtd / pci passthru broken in 3.3?


  • To: "Akio Takebe" <takebe_akio@xxxxxxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Andrew Lyon" <andrew.lyon@xxxxxxxxx>
  • Date: Thu, 27 Nov 2008 16:48:11 +0000
  • Cc:
  • Delivery-date: Thu, 27 Nov 2008 08:48:48 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uFCAQYx/YDuOv1viXomnATuZSBsPq7JeNkhiUBxevYSQRjTI+QamTLd/iESqz2ksHF fgzD3u8/kZoM50Me0TPvQD5KYjv2iz30E8Oi+uy5Qr+M75fSyb32GLHfQA2uXrgP58CN h/GW3kG/0cbKoI7p1D+EyflV+2nxNngJvEFoM=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Thu, Nov 27, 2008 at 1:40 PM, Akio Takebe <takebe_akio@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> I think iommu=1 is needed to command line.
> See the folowing howto.
> http://wiki.xensource.com/xenwiki/VTdHowTo
>
> Best Regards,
>
> Akio Takebe

That is exactly what was wrong, I added iommu=1 and I the xen dmesg
now shows "I/O virtualisation enabled"

Now I have a different problem, the device I want to pass thru is a 4
port pci usb card, it has 3 functions:

08:03.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 62)
08:03.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 62)
08:03.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65)

I can pass through 08:03.0 and in my windows hvm some new VIA Rev 5
USB ports are detected and are functional, but they are usb 1.1 not
2.0, if I try to pass through 08:03.1 or 08:03.2 I get a error:

ValueError: unsupported format character ':' (0x3a) at index 6

I applied the fix for this error:
http://xenbits.xensource.com/xen-unstable.hg?rev/e2a8e3be7bfa but that
just changes the error message to:

non-page-aligned MMIO BAR found

I am not sure if this error is correct, if 08:03.0 can be passed
through successfully shouldn't the other functions on the same card
also be compatible?

I tried applying  fix_find_parent.patch from
http://www.nabble.com/-PATCH--Fix-the-detection-of-the-upmost-bridge-in-the-python-function-find_parent()-td19910861.html
in case the parent device was being misidentified but it didnt make
any difference.

I was reading a thread earlier that seemed to suggest that a patch has
been released which enables passthru for non-page-aligned mmio bar
devices, unfortunately firefox crashed and now I cannot find the
thread again, perhaps already in xen-unstable?

Andy

http://www.nabble.com/-PATCH--Fix-the-detection-of-the-upmost-bridge-in-the-python-function-find_parent()-td19910861.html

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.