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

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

To: "Akio Takebe" <takebe_akio@xxxxxxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] vtd / pci passthru broken in 3.3?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=RKOl7oAZPOukSzvUyT+Jc7xIkcCzTZ0MmExH60agFeI=; b=SeDLPtq9ufrO2/CovPO/Coqol7XY4E5+VNjOv179GOvshFuwSdT6gLBo1kUYMNAXCZ fTjXWL/NG8E49QAT5HLLc8AGvf6rFry55iL7PAIFTq5Hshqf5C8NR/5FXpA++9f18m15 gtSrz/cO8+R35Bdc/7B34wOrp1fe7ZEiwGyfg=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <D2C95095B97091takebe_akio@xxxxxxxxxxxxxx>
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>
References: <f4527be0811270140q523143a8g6a37e166c86ab87f@xxxxxxxxxxxxxx> <D2C95095B97091takebe_akio@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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