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] Memory mapping for PEG/PCIe Graphics Passthrough to <any

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Memory mapping for PEG/PCIe Graphics Passthrough to <any> DomU
From: Weidong Han <weidong.han@xxxxxxxxx>
Date: Fri, 08 Jan 2010 10:45:59 +0800
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Fantu <fantonifabio@xxxxxxxxxx>
Delivery-date: Thu, 07 Jan 2010 18:47:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100107210753.GB25902@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: <14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F07@xxxxxxxxxxxxxxxxxxxxxxx> <27026626.post@xxxxxxxxxxxxxxx> <20100107150555.GZ25902@xxxxxxxxxxx> <27062451.post@xxxxxxxxxxxxxxx> <20100107210753.GB25902@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)
Pasi Kärkkäinen wrote:
On Thu, Jan 07, 2010 at 08:14:47AM -0800, Fantu wrote:
  
i have grub2 also here and i have add dummy=foo before root...

xm dmesg
])
(XEN) [VT-D]dmar.c:548: Host address width 39
(XEN) [VT-D]dmar.c:557: found ACPI_DMAR_DRHD:
(XEN) [VT-D]dmar.c:374:   dmaru->address = fbfff000
(XEN) [VT-D]dmar.c:326:   endpoint: 0:1b.0
(XEN) [VT-D]dmar.c:557: found ACPI_DMAR_DRHD:
(XEN) [VT-D]dmar.c:374:   dmaru->address = fbffe000
(XEN) [VT-D]dmar.c:331:   IOAPIC: f0:1f.7
(XEN) [VT-D]dmar.c:331:   IOAPIC: 0:13.0
(XEN) [VT-D]dmar.c:386:   flags: INCLUDE_ALL
(XEN) [VT-D]dmar.c:561: found ACPI_DMAR_RMRR:
(XEN) [VT-D]dmar.c:446:   RMRR region: base_addr ec000 end_address effff
(XEN) [VT-D]dmar.c:326:   endpoint: 0:1d.0
(XEN) [VT-D]dmar.c:326:   endpoint: 0:1d.1
(XEN) [VT-D]dmar.c:326:   endpoint: 0:1d.2
(XEN) [VT-D]dmar.c:326:   endpoint: 0:1d.7
(XEN) [VT-D]dmar.c:326:   endpoint: 0:1a.0
(XEN) [VT-D]dmar.c:326:   endpoint: 0:1a.1
(XEN) [VT-D]dmar.c:326:   endpoint: 0:1a.2
(XEN) [VT-D]dmar.c:326:   endpoint: 0:1a.7
(XEN) [VT-D]dmar.c:561: found ACPI_DMAR_RMRR:
(XEN) [VT-D]dmar.c:417: RMRR error: base_addr bf7dc000 end_address bf7dbfff
(XEN) Failed to parse ACPI DMAR.  Disabling VT-d.

    

This looks like you have a buggy BIOS, it doesn't have correct DMAR RMRR table..

When RMRR address range is not in reserved memory (BIOS issue), can use
'iommu_inclusive_mapping=1' to work around it. 

So try that options for xen.gz in grub config.

http://wiki.xensource.com/xenwiki/VTdHowTo


  
yes, obviously the RMRR is setting incorrectly in BIOS. The base address shouldn't be greater than end address. "iommu_inclusive_mapping=1" cannot help here. You should report this issue to the vendor and ask for a correct BIOS.

Regards,
Weidong

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

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