Re: Latest -git ioremap error

From: Kevin Winchester
Date: Sun Feb 03 2008 - 13:33:43 EST


Kevin Winchester wrote:
> Hi Thomas, Ingo,
>
> I noticed that my direct rendering is no longer working, with the
> following in my dmesg:
>
> [ 0.588184] agpgart: Detected AGP bridge 0
> [ 0.588184] agpgart: unable to get memory for graphics translation table.
> [ 0.588184] agpgart: agp_backend_initialize() failed.
> [ 0.588207] agpgart-amd64: probe of 0000:00:00.0 failed with error -12
>
> Tracking down the error somewhat with added printks leads to the
> following block in __ioremap():
>
>
> /*
> * Don't allow anybody to remap normal RAM that we're using..
> */
> for (offset = phys_addr >> PAGE_SHIFT; offset < max_pfn_mapped &&
> (offset << PAGE_SHIFT) < last_addr; offset++) {
> if (page_is_ram(offset))
> return NULL;
> }
>
>
> And git blame lead me to the following commit:
>
> commit 266b9f8727976769e2ed2dad77ac9295f37e321e
> Author: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Date: Wed Jan 30 13:34:06 2008 +0100
>
> x86: fix ioremap RAM check
>
> Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>
>

Lucky first try - reverting this commit fixes the problem for me. Any
ideas?

--
Kevin Winchester








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