Re: "PCI: Cannot allocate resource region" messages at boot

Peter Osterlund (petero2@telia.com)
15 Jul 2002 13:04:59 +0200


"D. Sen" <dsen@homemail.com> writes:

> I am getting these messages during bootup time on an IBM Thinkpad T30:
>
> Jul 11 17:17:24 calliope kernel: PCI: Cannot allocate resource region
> 0 of device 02:00.0
> Jul 11 17:17:24 calliope kernel: PCI: Cannot allocate resource region
> 0 of device 02:00.1

I had a similar problem on my notebook, but this patch seems to fix
it:

--- linux/drivers/pcmcia/yenta.c.orig Mon Jul 15 12:40:54 2002
+++ linux/drivers/pcmcia/yenta.c Mon Jul 15 12:40:39 2002
@@ -736,7 +736,7 @@
return;
}

- align = size = 4*1024*1024;
+ align = size = 128*1024;
min = PCIBIOS_MIN_MEM; max = ~0U;
if (type & IORESOURCE_IO) {
align = 1024;

I have no idea if this is the right thing to do. I found the
suggestion in an earlier message from Andreas Bombe.

-- 
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340
-
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/