PCI: Failed to allocate resource 0 for PCI device 1011:0019

Josip Loncaric (josip@icase.edu)
Sat, 14 Jul 2001 10:52:46 -0400


Upon installing Red Hat 7.1 w/kernel 2.4.3-12 on an IBM ThinkPad i1460
laptop, the pcmcia network card (NetGear FA510C) does not work. The
problem is caused by PCI:

PCI: Failed to allocate resource 0 for PCI device 1011:0019

and further investigation ('cat /proc/pci', 'lspci -vvv') indicates that
although I/O port base is correctly identified, the size is not (lspci
shows no size, /proc/pci has end address lower than start address).

I've checked mailing list archives and even compared source differences
between 2.4.6 and 2.4.3 versions of drivers/pci/pci.c, but this problem
does not seem to have been addressed yet.

BTW, the suggestion to scan all subordinate busses instead of just
leaving 4 bus numbers produces mixed results. The change (see below)
helps (the card is finally seen) but the card does not work right (it
generates tons of Rx traffic which gets discarded). Also, with the
change, a bootup message "PCI: Unable to handle 64-bit address for
device..." shows up (unmodified kernel does not have this problem).

Any ideas? Sorry, until the network becomes operational, I cannot
download more detailed information from the laptop...

Sincerely,
Josip

P.S. The change to linux-2.4.3-12/drivers/pci/pci.c I tested was:

- if (!is_cardbus) {
+ if (is_cardbus) {
/* Now we can scan all subordinate buses... */
max = pci_do_scan_bus(child);
} else {
/*
* For CardBus bridges, we leave 4 bus numbers
* as cards with a PCI-to-PCI bridge can be
* inserted later.
*/
max += 3;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/