From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Guyader Subject: Re: pci pass-through, NIC card Date: Mon, 31 Mar 2008 17:59:12 +0100 Message-ID: <47F11860.6010109@eu.citrix.com> References: <47EBBD85.8090904@eu.citrix.com> <47ECD388.8010602@eu.citrix.com> <1FE6DD409037234FAB833C420AA843ECF23456@orsmsx424.amr.corp.intel.com> <47ED2FD2.7030509@eu.citrix.com> <1FE6DD409037234FAB833C420AA843ECF235D1@orsmsx424.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1FE6DD409037234FAB833C420AA843ECF235D1@orsmsx424.amr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Kay, Allen M" Cc: "Li, Haicheng" , xen-devel@lists.xensource.com, "Han, Weidong" , Ian Pratt , "You, Yongkang" , Keir Fraser List-Id: xen-devel@lists.xenproject.org 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@eu.citrix.com] >> Sent: Friday, March 28, 2008 10:50 AM >> To: Kay, Allen M >> Cc: xen-devel@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. >>> >>> 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