7 messages in com.xensource.lists.xen-develRE: [Xen-devel] pci pass-through, NIC...
FromSent OnAttachments
Jean Guyader27 Mar 2008 08:29.Other, .dmesg, .lspci, 1 more
Jean Guyader28 Mar 2008 04:16 
Kay, Allen M28 Mar 2008 10:29 
Jean Guyader28 Mar 2008 10:49.Other
Kay, Allen M28 Mar 2008 11:37 
Jean Guyader28 Mar 2008 11:51 
Jean Guyader31 Mar 2008 09:58 
Subject:RE: [Xen-devel] pci pass-through, NIC card
From:Kay, Allen M (alle@intel.com)
Date:03/28/2008 11:37:19 AM
List:com.xensource.lists.xen-devel

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@eu.citrix.com] Sent: Friday, March 28, 2008 10:50 AM To: Kay, Allen M Cc: xen-@lists.xensource.com 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.

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,