From mboxrd@z Thu Jan 1 00:00:00 1970 From: Weidong Han Subject: Re: Memory mapping for PEG/PCIe Graphics Passthrough to DomU Date: Fri, 08 Jan 2010 10:45:59 +0800 Message-ID: <4B469C67.5000606@intel.com> References: <14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F07@heavy-vm03.heavy.org.uk> <27026626.post@talk.nabble.com> <20100107150555.GZ25902@reaktio.net> <27062451.post@talk.nabble.com> <20100107210753.GB25902@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1435718238==" Return-path: In-Reply-To: <20100107210753.GB25902@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: "xen-devel@lists.xensource.com" , Fantu List-Id: xen-devel@lists.xenproject.org --===============1435718238== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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@lists.xensource.com
http://lists.xensource.com/xen-devel
  

--===============1435718238== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1435718238==--