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-devel

RE: [Xen-devel] iommu: mapping reserved region failed - Q35 -VT-DIssue

To: 'Stefan Bauer' <stefan.bauer@xxxxxxxxxxx>
Subject: RE: [Xen-devel] iommu: mapping reserved region failed - Q35 -VT-DIssue
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Fri, 31 Oct 2008 22:00:37 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 31 Oct 2008 07:01:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <490AB8FC.1020807@xxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <49089D18.4030405@xxxxxxxxxxx><409D32C55C48D34DB5E31C8AB29EB15B071C6E25@xxxxxxxxxxxxxxxxxxxxxx><4908B669.7080108@xxxxxxxxxxx><409D32C55C48D34DB5E31C8AB29EB15B071C6E74@xxxxxxxxxxxxxxxxxxxxxx> <4908BC3C.3070307@xxxxxxxxxxx> <409D32C55C48D34DB5E31C8AB29EB15B071C6EA7@xxxxxxxxxxxxxxxxxxxxxx> <4908C6FC.9030307@xxxxxxxxxxx> <715D42877B251141A38726ABF5CABF2C018686CF47@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <49096151.8090500@xxxxxxxxxxx> <715D42877B251141A38726ABF5CABF2C018686D126@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <49098860.9050309@xxxxxxxxxxx> <715D42877B251141A38726ABF5CABF2C018686D17B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4909C811.9070105@xxxxxxxxxxx> <715D42877B251141A38726ABF5CABF2C018686D23C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <490AB8FC.1020807@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ack7LY0MMfNCtNNJStSBzsWSxfD4OAAKgdrg
Thread-topic: [Xen-devel] iommu: mapping reserved region failed - Q35 -VT-DIssue
Stefan Bauer wrote:
> Han, Weidong schrieb:
>> Yes, this output is complete and helpful. I found the problem exists
>> in domain_context_mapping(), which never succeeds. Thus result in
>> other problems. Can you add some printk to locate where it fails?  
> 
> I will if you advice me how to do where exactly.

I think you can add printk after check of drhd:

     if ( !drhd )
+    {
+        printk("%s: can't find drhd for device (bus=%x dev=%x func=%x)\n",
+                __func__, bus, PCI_SLOT(devfn), PCI_FUNC(devfn));
         return -ENODEV;
+    }

and you also can change XENLOG_INFO to XENLOG_ERR in domain_context_mapping(). 

> 
>> In addition, I suggest you don't add extra graphic card into your
>> machine, as I know it may introduce issues on Q35. 
> 
> Problem is that i want to use the pci-e card for my hvm guest and the
> onboard one for dom0. it seems that both the onboard and pci-e one
> cant work alongside, so iam forced to add another one.
> 

A few months ago,  in xen mailing list I remember some guys reported: when 
using PEG card (turning off integrated Gfx) on Q35, VT-d cannot work. It's the 
bios issue. I suspect it's not fixed yet. So I suggest you to use IGD instead 
of PEG.

Regards,
Weidong
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>