From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RW4m4-0003ay-9h for qemu-devel@nongnu.org; Thu, 01 Dec 2011 06:26:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RW4m0-0004jT-Bs for qemu-devel@nongnu.org; Thu, 01 Dec 2011 06:25:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:25026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RW4m0-0004jN-4r for qemu-devel@nongnu.org; Thu, 01 Dec 2011 06:25:52 -0500 Message-ID: <4ED7640D.5060203@redhat.com> Date: Thu, 01 Dec 2011 12:25:01 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <4ED58108.3090903@endace.com> <20111130074903.GD17781@redhat.com> <4ED70E71.3030003@endace.com> In-Reply-To: <4ED70E71.3030003@endace.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [BUG] [Seabios] PCI 64bit BARs on Win2008 - unable to start the device. (ACPI lacks the _DSM method) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Korolev Cc: sfd@endace.com, yamahata@valinux.co.jp, seabios@seabios.org, qemu-devel@nongnu.org, "Michael S. Tsirkin" Hi, > Ok Here are logs the faulty device is: 00:05.0. > In the first case the BAR1 size is 512MB and it fails in Windows (Linux > is fine, the kernel enumerates the bus and assigns the resource above 4GB), > In the second case the BAR1 size is 256M and works fine. > === PCI new allocation pass #1 === > PCI: check devices bus 0 Hmm, with 512 MB seabios should have paniced here with: PCI: out of address space > PCI: map device bus 0, bfd 0x28 > bar 0, addr febe0000, size 10000 [mem] > bar 1, addr 0, size 20000000 [mem] Somehow seabios didn't recognise the bar correctly it seems (both 512 and 256 MB cases look the same). For the 256 MB case seabios should have mapped the bar @ 0xe0000000. cheers, Gerd