Re: Why does printk helps PCMCIA card to initialise?

From: Martin Drohmann
Date: Tue Feb 22 2005 - 05:14:23 EST


Russell King wrote:
On Sun, Feb 20, 2005 at 12:38:17PM +0000, Russell King wrote:

The first thing that needs solving is why you're getting the "odd IO
request" crap. That may explain why the resource can't be allocated.


In cs.c, alloc_io_space(), find the line:

if (*base & ~(align-1)) {

delete the ~ and rebuild. This may resolve your problem.

This looks like a long standing bug in the PCMCIA code, going back to
2.4 kernels.

I tried that, but it didn't work. Just the "odd IO request" is away. But
the error remains the same.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/