pcib1: failed to allocate initial memory window
John Baldwin
jhb at freebsd.org
Thu Jul 21 15:53:42 UTC 2011
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
More information about the freebsd-current
mailing list