Re: [2.6.23.9] hostap_plx locks up PC when reading PCI I/O memory

From: Andrew Morton
Date: Wed Dec 12 2007 - 05:04:43 EST


On Wed, 12 Dec 2007 08:56:44 +0000 (GMT) Chris Rankin <rankincj@xxxxxxxxx> wrote:

> --- Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> > It might be interesting to see what value of `i' is causing it to fall over.
>
> I tried unrolling the loop, but a single byte read for i = 0 is enough to lock things up.

hm. Could be some platform thing. Strange. It might be worth checking
around that ioremap, make sure that the value which it returned is the one
which is being used in the function-which-hangs, etc.


> > Did any earlier version of the 2.6 kernel work OK?
>
> Unfortunately, I don't know. I swapped this card out of the old 2.4.x machine into a machine
> already running Fedora 7. The card works when I put it back into the 2.4 machine too, so it's not
> a hardware problem with the card.
>
> So I suppose the next step would be trying a linux 2.6.0 kernel? Or was hostap included in the
> kernel later than that?

hostap_plx.c first appeared in 2.6.14.
--
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/