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] Problems with pci passthrough with Xen 3.4.2

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] Problems with pci passthrough with Xen 3.4.2
From: francisco javier funes nieto <esencia@xxxxxxxxx>
Date: Mon, 14 Dec 2009 13:30:22 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 14 Dec 2009 04:31:08 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=7lmba7uzj4jxVF3fJR02Dwuhma0BMvPRBTMZF/X7A4M=; b=SQ/6LIDGYOlWZVt3+xzTumdktU7X5R+oGra5a3cW4h+O190Z1dsUGkmWiIdAgcULiE GHlzcknFaI5bHmf329mVEvxwiVfxo7/gW4UMa+wgLD4m6c9a2bTp2MlOKFHM/FvrDVkC Dm1nJZLYZwjIelilk/136/0F+casiD+8dwg3A=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=f2mlNoGJhRcqKNYnOqTvmDXmDUeiTLOQ0Ca25TuNdSv/ltWhseazHxRAi85vEZqDw8 w6CCFUz3CZKhs8gtPPkxO7gz2aM8Ex+kjAzP00Zesusp2D0Rky+tvcKynuslbwcOkOi+ yVUnDEOvf0E1scqeR+kiErK8OgfH6KWe1yrqA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <30cf90750912140406m4ee90355oa054d69c50fb2ed4@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: <30cf90750912090913o15c7f7fy466509ce063a8145@xxxxxxxxxxxxxx> <20091209183742.GC16033@xxxxxxxxxxx> <30cf90750912091041k79ff7713teb39227fe0cecbdf@xxxxxxxxxxxxxx> <4B20124E.5020803@xxxxxxxxxxxxx> <30cf90750912140330t31ac8242l4abf86f9859faad5@xxxxxxxxxxxxxx> <20091214115817.GL16033@xxxxxxxxxxx> <30cf90750912140406m4ee90355oa054d69c50fb2ed4@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
The domU acting as iPerf Server.

proxy:~# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.2.246 port 5001 connected with 192.168.2.49 port 65339
[  4]  0.0-60.0 sec  6.53 GBytes    934 Mbits/sec


The domU acting as iPerf Client.

proxy:~# iperf -c 192.168.2.49 -t 60
------------------------------------------------------------
Client connecting to 192.168.2.49, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.2.246 port 52712 connected with 192.168.2.49 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-60.0 sec  6.58 GBytes    941 Mbits/sec


That's all folks..

Thanks again ;)



2009/12/14 francisco javier funes nieto <esencia@xxxxxxxxx>:
> Yes!
>
> This is the lspci output from dom0:
>
> main:/etc/xen# lspci |grep Ethernet
> 04:00.0 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit
> Ethernet Controller (Copper) (rev 01)
> 04:00.1 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit
> Ethernet Controller (Copper) (rev 01)
>
>
> And the lspci from domU:
>
> proxy:~# lspci -v
> 00:00.1 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit
> Ethernet Controller (Copper) (rev 01)
>        Subsystem: Super Micro Computer Inc Device 0000
>        Flags: bus master, fast devsel, latency 0, IRQ 19
>        Memory at da020000 (32-bit, non-prefetchable) [size=128K]
>        I/O ports at 3020 [size=32]
>        Capabilities: [c8] Power Management version 2
>        Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ 
> Queue=0/0 Enable-
>        Capabilities: [e0] Express Endpoint, MSI 00
>        Capabilities: [100] Advanced Error Reporting <?>
>        Capabilities: [140] Device Serial Number 22-6c-32-ff-ff-48-30-00
>        Kernel driver in use: e1000e
>        Kernel modules: e1000e
>
> From this moment I'm still working in this domU to use this Ethernet
> passed by passthrough as primary interface for the Squid Proxy.
>
> The dom0 works as expected!
>
>
> I'll put iperf results as soon I configure the Squid.
>
>
> Thanks!
>
> J.
>
>
>
> 2009/12/14 Pasi Kärkkäinen <pasik@xxxxxx>:
>> On Mon, Dec 14, 2009 at 12:30:09PM +0100, francisco javier funes nieto wrote:
>>> Thanks to all, it works like a charm.
>>>
>>> Now I have the Ethernet device in the DomU, once I patched the Xen
>>> Source Tree and recompile with the FLR patch.
>>>
>>> Great!
>>>
>>> Really Great!
>>>
>>
>> Hello.
>>
>> Just to confirm, with the FLR patch, you're able to use the first port
>> in dom0, and passthrough the second port to domU?
>>
>> Thanks!
>>
>> -- Pasi
>>
>>> Javier
>>>
>>> 2009/12/9 Stefan Kuhne <stefan.kuhne@xxxxxxx>:
>>> > francisco javier funes nieto schrieb:
>>> >> Thank's Stefan but I've not found a diff path to apply the source code
>>> >> of Xen... I'll do a deep search, thank's again.
>>> >>
>>> > I've found it in my archiv:
>>> > http://old.nabble.com/Error:-pci:-0000:02:06.0-must-be-co-assigned-to-the-same-guest-with-0000:02:05.0-td21280150.html
>>> >
>>> > Stefan Kuhne
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> _____________________________________________
>>>
>>> Francisco Javier Funes Nieto [esencia@xxxxxxxxx]
>>> CANONIGOS
>>> Servicios Informáticos para PYMES.
>>> Cl. Cruz 2, 1º Oficina 7
>>> Tlf: 958.536759 / 661134556
>>> Fax: 958.521354
>>> GRANADA - 18002
>>>
>>> _______________________________________________
>>> Xen-users mailing list
>>> Xen-users@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-users
>>
>
>
>
> --
> _____________________________________________
>
> Francisco Javier Funes Nieto [esencia@xxxxxxxxx]
> CANONIGOS
> Servicios Informáticos para PYMES.
> Cl. Cruz 2, 1º Oficina 7
> Tlf: 958.536759 / 661134556
> Fax: 958.521354
> GRANADA - 18002
>



-- 
_____________________________________________

Francisco Javier Funes Nieto [esencia@xxxxxxxxx]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002

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