lkml.org 
[lkml]   [2008]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Latest -git ioremap error
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@linutronix.de>
> Date: Wed Jan 30 13:34:06 2008 +0100
>
> x86: fix ioremap RAM check
>
> Signed-off-by: Ingo Molnar <mingo@elte.hu>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
>

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

--
Kevin Winchester










\
 
 \ /
  Last update: 2008-02-03 19:37    [W:0.055 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site