Re: Updated 2.4 TODO List - more on PCI resources...

From: Linus Torvalds (
Date: Wed Oct 11 2000 - 17:17:59 EST

On Wed, 11 Oct 2000, Dag B wrote:
> > drivers/pcmcia/yenta.c to allocate more than 4MB of PCI memory window.
> [snip]
> > align = size = 32*1024*1024;
> Done.
> Didn't work. But it certainly made a difference.
> lspci -v now says:
> 06:00.0 Ethernet controller: Xircom Cardbus Ethernet 10/100 (rev 03)
> Subsystem: Xircom Cardbus Ethernet 10/100
> Flags: medium devsel, IRQ 11
> I/O ports at 1800 [size=128]
> [virtual] Memory at 18000000 (32-bit, non-prefetchable)
> [size=32M]
> [virtual] Memory at 18000000 (32-bit, non-prefetchable)
> [size=32M]
> Expansion ROM at 18000000 [disabled] [size=32M]
> Capabilities: [dc] Power Management version 1

There's something really wrong going on with your ethernet controller. It
seems to try to take up all available space.

Please add a debug printk() to drivers/pci/setup-res.c to the very end of
pci_assign_bus_resource(), just before the "return -EBUSY", something like

        printk("device %s resource %d size %08lx\n", dev->name, resno, size);

just to see what it wants and why it fails..

Also, it's probably worth printing out what the actual bus resources are,
to possibly explain the failure. So add another line that says

        printk("bus res %d %x %08lx-%08lx\n", i, r->flags, r->start, r->end);

just after the line that says

        if (!r)

in the same function.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:20 EST