"Failed to allocate mem resource" with Broadcom BCM5704 and 8GB of RAM
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
With all 8GB of RAM installed I get the following message using Centos 4.2 (kernel 2.6.9-22 and 2.6.9-22.0.2.106):
Feb 14 04:24:52 localhost kernel: PCI: Failed to allocate mem resource #2:10000@240000000 for 0000:0a:09.0
Feb 14 04:24:52 localhost kernel: PCI: Failed to allocate mem resource #0:10000@240000000 for 0000:0a:09.1
and later in the boot I get:
Feb 14 04:24:53 localhost kernel: tg3.c:v3.27-rh (May 5, 2005)
Feb 14 04:24:53 localhost kernel: ACPI: PCI interrupt 0000:0a:09.0[A] -> GSI 28 (level, low) -> IRQ 217
Feb 14 04:24:53 localhost kernel: PCI: Unable to reserve mem region #3:fffffffe9f400000@240000000 for device 0000:0a:09.0
Feb 14 04:24:53 localhost kernel: tg3: Cannot obtain PCI resources, aborting.
Feb 14 04:24:53 localhost kernel: tg3: probe of 0000:0a:09.0 failed with error -16
Feb 14 04:24:53 localhost kernel: ACPI: PCI interrupt 0000:0a:09.1[B] -> GSI 29 (level, low) -> IRQ 225
Feb 14 04:24:53 localhost kernel: PCI: Unable to reserve mem region #1:fffffffe9f400000@240000000 for device 0000:0a:09.1
Feb 14 04:24:53 localhost kernel: tg3: Cannot obtain PCI resources, aborting.
Feb 14 04:24:53 localhost kernel: tg3: probe of 0000:0a:09.1 failed with error -16
Feb 14 04:24:53 localhost kernel: ACPI: PCI interrupt 0000:00:02.1[B] -> GSI 21 (level, high) -> IRQ 193
The driver (tg3) seems to be loading, but not getting the memory mappings it wants.
If I remove half of the RAM (4GB installed) it starts to work, but I still get these error messages:
Feb 14 10:49:50 dhcp-host-196 kernel: PCI: Cannot allocate resource region 2 of device 0000:0a:09.0
Feb 14 10:49:51 dhcp-host-196 kernel: PCI: Cannot allocate resource region 0 of device 0000:0a:09.1
Feb 14 10:49:51 dhcp-host-196 kernel: PCI-DMA: Disabling IOMMU.
I've been searching Google all day and I can't find anything that seems to help. I'm going to try Fedora Core 4 tomorrow to see if anything changes, but I don't want to use that in production. Anybody else run into problems like this? Are there any BIOS settings or kernel parameters that I need to use to get the netwoking working when I have 8GB of RAM?
Kernel 2.6.9 is an old version and vulnerable. I suggest at least upgrade to 2.6.12 or the next stable kernel version. I am not sure that VMware modules can be compiled well with gcc version 4 compiler which Fedora core 4 uses.
Try running lspci and find out what device points to 0000:0a:09.0 and 0000:0a:09.1. Start disabling SATA, USB, Communication ports or serial ports, parallel ports. If disabling the NICs fixed the problem, call Tyan about the problem.
FYI: Centos 4 = RHEL 4, the 2.6.9 kernel I'm using has all the security patches backported. I'm not sure what other stuff has been backported, but the idea is to have a well tested stable platform for production envroniments.
I did not disable the network card, the only thing I changed is how much RAM I had installed. If I use 2GB of RAM everything works fine, 4GB and I get errors, but the network adapter still works, 6 or 8GB and the network adapter stops working, but still shows up in lspci. The device it is complaining about is the network adapter which I already knew:
Can't help, but I also pulled Centos 4.2 yesterday to play with VMWare.
4 x Xeon (PIII) with 4 Gig of memory.
Seems to run fine with Centos (both base and guest) and an Arch guest - everything gets recognised o.k.
Fedora Core 4 and the 2.6.15-1 kernel seem to work. I'm still getting some of the same errors about not being able to allocate memory, but the network adapter is working and I have 8GB of RAM installed. I'm going to assume at this point that this is a kernel bug, not a BIOS setting.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.