Re: ioremap panic

From: Andi Kleen
Date: Wed Aug 20 2008 - 06:08:19 EST


Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> writes:
>
> Please work out what address qla2x00_probe_one() passed into ioremap(),

Note that ioremap doesn't get a virtual address, but a bus/phys one.
The virtual address checked in the BUG above comes internally
out of vmalloc's address space allocation.

> then see if you can work out what was already at that virtual address
> (/proc/iomem, dmesg output, etc).

The bug is more likely that either the kernel page tables or the
vmalloc vmlist are inconsistent somehow. In particularly it looks
like vmalloc gave out an address for ioremap on which there was
already a mapping.

I doubt it is qla2x00's fault.

-Andi
--
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/