Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2011 11:53:27 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Andreas Tobler <andreast@freebsd.org>
Subject:   Re: pcib1: failed to allocate initial memory window
Message-ID:  <201107211153.28148.jhb@freebsd.org>
In-Reply-To: <4E27399F.7020605@FreeBSD.org>
References:  <4E27399F.7020605@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107211153.28148.jhb>