Skip to contentSkip to conversation

VT-d could not work on ThinkPad T500 well

DISCUSSION kazushi takahashi 4 participants 4 messages May 25, 2009 – May 26, 2009

lore
Share & tools
lore
#0 lore raw

Hi all.
Does anybody hear that Xen-3.4.0-rc3 works with VT-d on ThinkPad T500 well ?

ThinkPad T500 hardware space is here:
CPU: Intel(R) Core 2 Duo Processor T9400
chipset: Moble Intel(R) GM45 Express chipset network card: Intel(R) 82567LM Gigabit network Connection

I tried passthrough with network card (82567LM) which is allocated 00:19.0 But, I could not start the privilege Dom0 with the following messages:
(XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disable
(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 ffffff000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83015bde12c0 bdf = 0:2:0 gmfn = ffffff

(XEN)      root_entry = ffff83015bdcf000
(XEN)      root_entry[0] = 157a5f001
(XEN)      context = ffff830157a5f000
(XEN)      context[10] = 101_15bdb2001
(XEN)      l3 = ffff83015bdb2000
(XEN)      l3_index = 3f
(XEN)      l3[3f] = 0
(XEN)      l3[3f] not present

(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu-reg = ffff828bfff54000 <freeze here>

any advice?
thanks.

#1 lore raw
Quoted 7 lines · kazushi takahashi
(XEN)      l3_index = 3f
(XEN)      l3[3f] = 0
(XEN)      l3[3f] not present

(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu-reg = ffff828bfff54000 <freeze here>

any advice?

Try adding iommu_inclusive_mapping to your Xen command line.

-- Keir

#2 lore raw
Quoted 1 line · Keir Fraser

Try adding iommu_inclusive_mapping to your Xen command line.

Although being a workaround, would it hurt to make that the default behaviour when iommu is enabled? There seem to be more broken implementations around than actually working...

Best regards,
Christian

#3 lore raw
Quoted 5 lines · Christian Tramnitz
Quoted 1 line · Keir Fraser

Try adding iommu_inclusive_mapping to your Xen command line.

Although being a workaround, would it hurt to make that the default behaviour when iommu is enabled?

iommu_inclusive_mapping just works around BIOS issue, it won't impact VT-d functionality.

Does your system hang at the iommu fault? Does iommu_inclusive_mapping really work around your issue?

Regards,
Weidong

Quoted 12 lines

There seem to be more broken implementations around than actually working...

Best regards,
Christian

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel