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

[Xen-devel] Problem with Xen 3.4 and vtd on T500 with Intel graphics car

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Problem with Xen 3.4 and vtd on T500 with Intel graphics card
From: Tom Rotenberg <tom.rotenberg@xxxxxxxxx>
Date: Tue, 9 Jun 2009 19:49:02 +0300
Delivery-date: Tue, 09 Jun 2009 09:49:30 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Pt2hbnxRC7CwQ3gFqrr4y97Mqu7ZbfRLEmNGnsJ2NvU=; b=G3tYz/GiGzEWYwJTibAu3Fj4JbdX2+T87E4tnRX71hi1VBOP3EV8SQ1gqCLEfiR5c1 A7jqbWNYBco4PppqNqzfNTwckd7P9LUT0hW7VPBWfPQJX000LLdWBSa8umDGsOkUqIU2 ezC9HTL00wiWjFXUrolRH1R0rhfn/uEJteooY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jBY+J21eAhmO7QYM/ChBPKlFjk49Gbswlak1LbCnthdEFEtpwfvYnRnMGEoLa1NDj2 tcGB9oIo5aYIy7VF+xiRo+aH7IeYv1J/rIzMqjBU8m1ld0pYaoFlPQ0hji68Gqrwg/7k B9ES3Uz3qkzch/04HZvbTYG+cr6cxPazF9xiE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

I tried to use the Xen 3.4 on a Lenovo T500 to try and PT the Intel graphics card (00:02.0, and 00:02.1) to a domU. For some reason, it prints a lot of messages about iommu page faults, and after that causes dom0 to hang (sometimes i get a message which tells that there is a soft lockup on cpu#1).
When i try the same thing on the ATI graphic card on the same T500, it doesn't print any iommu page fault messages.

Does anyone knows anything about this issue? i saw a few other mails talking about what it seems to be the same problem, but none of them had a working solution for this hang. i don't understand why dom0 hangs from a domU PT?

P.S. I am using the 'iommu_inclusive_mapping' in the boot parameters (since otherwise dom0 won't boot).

These are the last lines of the xen console:

(XEN) [VT-D]iommu.c:1364:d0 domain_context_unmap:PCI: bdf = 0:2.0
(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000
(XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow
(XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault
(XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr 0 REASON 2 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007c22c2c0 bdf = 0:2:0 gmfn = 0
(XEN)     root_entry = ffff83007c2ca000
(XEN)     root_entry[0] = 789bd001
(XEN)     context = ffff8300789bd000
(XEN)     context[10] = 0_0
(XEN)     ctxt_entry[10] not present
(XEN) [VT-D]iommu.c:1252:d0 domain_context_mapping:PCI: bdf = 0:2.0
(XEN) [VT-D]iommu.c:1252:d0 domain_context_mapping:PCI: bdf = 0:2.0
(XEN) [VT-D]io.c:251:d0 VT-d irq bind: m_irq = ff device = 2 intx = 0
(XEN) domctl.c:835:d0 memory_map:add: gfn=a0 mfn=a0 nr_mfns=20
(XEN) domctl.c:886:d0 ioport_map:add f_gport=3b0 f_mport=3b0 np=30
(XEN) [VT-D]iommu.c:1364:d0 domain_context_unmap:PCI: bdf = 0:2.1
(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000
(XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow
(XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault
(XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr 3fef8a000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007c22c2c0 bdf = 0:2:0 gmfn = 3fef8a
(XEN)     root_entry = ffff83007c2ca000
(XEN)     root_entry[0] = 789bd001
(XEN)     context = ffff8300789bd000
(XEN)     context[10] = 201_2b4ea001
(XEN)     l3 = ffff83002b4ea000
(XEN)     l3_index = f
(XEN)     l3[f] = 0
(XEN)     l3[f] not present
(XEN) [VT-D]iommu.c:1252:d0 domain_context_mapping:PCI: bdf = 0:2.1
(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000
(XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow
(XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault
(XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr 3fef8a000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007c22c2c0 bdf = 0:2:0 gmfn = 3fef8a
(XEN)     root_entry = ffff83007c2ca000
(XEN)     root_entry[0] = 789bd001
(XEN)     context = ffff8300789bd000
(XEN)     context[10] = 201_2b4ea001
(XEN)     l3 = ffff83002b4ea000
(XEN)     l3_index = f
(XEN)     l3[f] = 0
(XEN)     l3[f] not present
(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000
(XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow
(XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault
(XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr 3fef8a000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007c22c2c0 bdf = 0:2:0 gmfn = 3fef8a
(XEN)     root_entry = ffff83007c2ca000
(XEN)     root_entry[0] = 789bd001
(XEN)     context = ffff8300789bd000
(XEN)     context[10] = 201_2b4ea001
(XEN)     l3 = ffff83002b4ea000
(XEN)     l3_index = f
(XEN)     l3[f] = 0
(XEN)     l3[f] not present

Thanks,
         Tom
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Problem with Xen 3.4 and vtd on T500 with Intel graphics card, Tom Rotenberg <=