xen-devel
RE: [Xen-devel] pci pass-through, NIC card
To: |
"Jean Guyader" <jean.guyader@xxxxxxxxxxxxx> |
Subject: |
RE: [Xen-devel] pci pass-through, NIC card |
From: |
"Kay, Allen M" <allen.m.kay@xxxxxxxxx> |
Date: |
Fri, 28 Mar 2008 11:37:42 -0700 |
Cc: |
"Li, Haicheng" <haicheng.li@xxxxxxxxx>, "You, Yongkang" <yongkang.you@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Han, Weidong" <weidong.han@xxxxxxxxx> |
Delivery-date: |
Fri, 28 Mar 2008 11:40:18 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<47ED2FD2.7030509@xxxxxxxxxxxxx> |
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> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
AciQ/eOC7BuWBn+8SFeGL2zKHQS21AAAiQlg |
Thread-topic: |
[Xen-devel] pci pass-through, NIC card |
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,
>
>--
>Jean Guyader
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|