Re: pcib1: failed to allocate initial memory window

2011-07-21 Thread John Baldwin
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
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: pcib1: failed to allocate initial memory window

2011-07-21 Thread Andreas Tobler

On 21.07.11 17:53, John Baldwin wrote:

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:


John, thank you very much!

http://people.freebsd.org/~andreast/dmesg_optiplex.txt

Gruss,
Andreas
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


pcib1: failed to allocate initial memory window

2011-07-20 Thread Andreas Tobler

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.

TIA,
Andreas

kernel: pcib1: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci0
 kernel: pcib1: failed to allocate initial memory window: 
0xe800-0xefef
 kernel: pcib1: failed to allocate initial prefetch window: 
0xd800-0xdfff

 kernel: pci1: ACPI PCI bus on pcib1
 kernel: vgapci0: VGA-compatible display irq 16 at device 0.0 on pci1
 kernel: hdac0: Intel 82801G High Definition Audio Controller irq 16 
at device 27.0 on pci0

 kernel: pcib2: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
 kernel: pcib2: failed to allocate initial memory window: 
0xe7f0-0xe7ff

 kernel: pci2: ACPI PCI bus on pcib2
 kernel: pcib3: ACPI PCI-PCI bridge irq 16 at device 28.4 on pci0
 kernel: pci3: ACPI PCI bus on pcib3
 kernel: pcib4: ACPI PCI-PCI bridge irq 17 at device 28.5 on pci0
 kernel: pcib4: failed to allocate initial memory window: 
0xe7e0-0xe7ef

 kernel: pci4: ACPI PCI bus on pcib4
 kernel: bge0: Broadcom NetXtreme Gigabit Ethernet Controller, ASIC 
rev. 0x00b002 irq 17 at device 0.0 on pci4
 kernel: bge0: 0x1 bytes of rid 0x10 res 3 failed (0, 
0x).

 kernel: bge0: couldn't map memory
 kernel: device_attach: bge0 attach returned 6
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: pcib1: failed to allocate initial memory window

2011-07-20 Thread Andreas Tobler

On 20.07.11 22:25, 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.


They got eaten 

Here they are:

http://people.freebsd.org/~andreast/acpidump_optiplex.txt
http://people.freebsd.org/~andreast/devinfo_optiplex.txt

Thanks,
Andreas
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org