| 
         
xen-devel
Re: [Xen-devel] pci pass-through, NIC card
 
| 
To:  | 
"Kay, Allen M" <allen.m.kay@xxxxxxxxx> | 
 
| 
Subject:  | 
Re: [Xen-devel] pci pass-through, NIC card | 
 
| 
From:  | 
Jean Guyader <jean.guyader@xxxxxxxxxxxxx> | 
 
| 
Date:  | 
Mon, 31 Mar 2008 17:59:12 +0100 | 
 
| 
Cc:  | 
"Li, Haicheng" <haicheng.li@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Han,	Weidong" <weidong.han@xxxxxxxxx>,	Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, "You,	Yongkang" <yongkang.you@xxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> | 
 
| 
Delivery-date:  | 
Mon, 31 Mar 2008 10:00:24 -0700 | 
 
| 
Envelope-to:  | 
www-data@xxxxxxxxxxxxxxxxxx | 
 
| 
In-reply-to:  | 
<1FE6DD409037234FAB833C420AA843ECF235D1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> | 
 
| 
List-help:  | 
<mailto:xen-devel-request@lists.xensource.com?subject=help> | 
 
| 
List-id:  | 
Xen developer discussion <xen-devel.lists.xensource.com> | 
 
| 
List-post:  | 
<mailto:xen-devel@lists.xensource.com> | 
 
| 
List-subscribe:  | 
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=subscribe> | 
 
| 
List-unsubscribe:  | 
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> | 
 
| 
References:  | 
<47EBBD85.8090904@xxxxxxxxxxxxx> <47ECD388.8010602@xxxxxxxxxxxxx>	<1FE6DD409037234FAB833C420AA843ECF23456@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>	<47ED2FD2.7030509@xxxxxxxxxxxxx>	<1FE6DD409037234FAB833C420AA843ECF235D1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> | 
 
| 
Sender:  | 
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx | 
 
| 
User-agent:  | 
Mozilla-Thunderbird 2.0.0.9 (X11/20080110) | 
 
 
 
Kay, Allen M wrote:
 
I would assume you see "Intel VT-d has been enabled" in you full log
file, correct?
Given that dom0 devices are working OK - this means VT-d translation is
working correctly for dom0.
The current code maps entire guest memory in VT-d by sharing with p2m
table.  The vt-d page fault you are seeing should only happen if the
guest is using some DMA address that is not coverred by the P2m page
table - which is shouldn't have happened.
I have seen this type of fault if the BIOS is not programming VT-d HW
correctly.
Who's the vendor of this Stoakley system?  We can try to duplicate the
problem here if we can get hold of the same system.
Allen
 
-----Original Message-----
 From: Jean Guyader [mailto:jean.guyader@xxxxxxxxxxxxx] 
Sent: Friday, March 28, 2008 10:50 AM
To: Kay, Allen M
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] pci pass-through, NIC card
Kay, Allen M wrote:
 
Does this happen during xen/dom0 boot time or during HVM guest boot?
 Are you using and desktop or server platform?  Are you using 
 
the latest
 
BIOS?  Some older BIOS does not initialize VT-d HW properly.
Allen
 
 
It's a server platform, I could indeed check if it is the latest bios.
 This is happen during the HVM guest boot, all initialisation 
in dom0 are 
ok. The device I tried to pass-through was a pci NIC.
 I have tried to pass-through a PCIe NIC and it works better, I 
mean the 
hvm guest boot. The NIC card is well detected by the hvm guest but, 
there is still a problem. When I tried to get an ip address 
from dhcp I 
received a storm of "iommu_page_fault" (enclosed the log).
The pci device I try to pass-through is at the address 8:0:0.
I have disable the pci msi in the guest.
Thanks,
 
 
 
 May be it fails because, the NIC I tried to pass-through is not a PCie 
e1000 card. The MIC card is a 82575EB and it works fine in dom0 with the 
igb driver (http://sourceforge.net/project/showfiles.php?group_id=42302).
--
Jean Guyader
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    |