From owner-freebsd-current@FreeBSD.ORG Thu Jul 21 15:53:42 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C432106567D; Thu, 21 Jul 2011 15:53:42 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 658B48FC1B; Thu, 21 Jul 2011 15:53:42 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 1C1B046B24; Thu, 21 Jul 2011 11:53:42 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 97F758A02E; Thu, 21 Jul 2011 11:53:41 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Thu, 21 Jul 2011 11:53:27 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110617; KDE/4.5.5; amd64; ; ) References: <4E27399F.7020605@FreeBSD.org> In-Reply-To: <4E27399F.7020605@FreeBSD.org> MIME-Version: 1.0 Message-Id: <201107211153.28148.jhb@freebsd.org> Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Thu, 21 Jul 2011 11:53:41 -0400 (EDT) Cc: Andreas Tobler Subject: Re: pcib1: failed to allocate initial memory window X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2011 15:53:42 -0000 On Wednesday, July 20, 2011 4:25:03 pm Andreas Tobler wrote: > Hi all, > > Built a fresh kernel today (-CURRENT) on my DELL workstation (amd64). > The network card does not get detected. Booted the old kernel again. > > Are there any chances to get this fixed or is this a candidate for a > buggy BIOS? > Attached the devinfo -r from the running kernel. Also the acpidump -dt. > > Any help would be appreciated. Ah, this case is similar to the issue with VirtualBox. Try this patch: Index: acpi_pcib_acpi.c =================================================================== --- acpi_pcib_acpi.c (revision 224217) +++ acpi_pcib_acpi.c (working copy) @@ -207,10 +207,12 @@ acpi_pcib_producer_handler(ACPI_RESOURCE *res, voi length = res->Data.ExtAddress64.AddressLength; break; } - if (length == 0 || - res->Data.Address.MinAddressFixed != ACPI_ADDRESS_FIXED || - res->Data.Address.MaxAddressFixed != ACPI_ADDRESS_FIXED) + if (length == 0) break; + if (min + length - 1 != max && + (res->Data.Address.MinAddressFixed != ACPI_ADDRESS_FIXED || + res->Data.Address.MaxAddressFixed != ACPI_ADDRESS_FIXED)) + break; flags = 0; switch (res->Data.Address.ResourceType) { case ACPI_MEMORY_RANGE: -- John Baldwin