From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: IO_PAGE_FAULT while booting. Date: Fri, 28 Jan 2011 16:44:43 +0100 Message-ID: <20110128154443.GS6376@8bytes.org> References: <20110117140328.GM6376@8bytes.org> <20110117175339.GP6376@8bytes.org> <20110128151522.GR6376@8bytes.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Prasad Joshi Return-path: Received: from 8bytes.org ([88.198.83.132]:58555 "EHLO 8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752338Ab1A1Poo (ORCPT ); Fri, 28 Jan 2011 10:44:44 -0500 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Jan 28, 2011 at 03:31:17PM +0000, Prasad Joshi wrote: >On Fri, Jan 28, 2011 at 3:15 PM, Joerg Roedel wrote: > > On Thu, Jan 27, 2011 at 06:43:19PM +0000, Prasad Joshi wrote: > > AMD-Vi: Event logged [IO_PAGE_FAULT device=02:00.0 domain=0x0002 > > address=0x00000000bb447000 flags=0x0000] > > AMD-Vi: Event logged [IO_PAGE_FAULT device=02:00.0 domain=0x0002 > > address=0x00000000bb447040 flags=0x0000] > > AMD-Vi: Event logged [IO_PAGE_FAULT device=02:00.0 domain=0x0002 > > address=0x00000000bb447080 flags=0x0000] > > Hard to tell whats going wrong here. How many memory have you given to > the guest? > >I am allocating 1 GB memory to the VM The address of the page-faults is around 3GB, so the guest sends DMA commands to the GFX card which contains addresses outside its memory. I Cc the list again, maybe they can bring some light into this issue. In general GFX passthrough is not expected to work. But if it works for you with -net none and doesn't without there must be another issue. Joerg > > > What type of GFX card do you try to pass through? > ># lspci -vvv >02:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B64 [FireGL >V3100 (PCIE)] (rev 80) (prog-if 00 [VGA controller]) > Subsystem: ATI Technologies Inc Device 0102 > Interrupt: pin A routed to IRQ 32 > Region 0: Memory at c0000000 (32-bit, prefetchable) [size=128M] > Region 1: I/O ports at a000 [size=256] > Region 2: Memory at f9cf0000 (32-bit, non-prefetchable) [size=64K] > Expansion ROM at f9cc0000 [disabled] [size=128K] > ># dmidecode >Handle 0x002E, DMI type 9, 17 bytes >System Slot Information > Designation: PCIEX16_2 > Type: 32-bit PCI Express > Current Usage: In Use > Length: Short > ID: 27 > Characteristics: > 3.3 V is provided > Opening is shared > PME signal is supported > Bus Address: ffff:02:00.0 > > > > Joerg