lkml.org 
[lkml]   [2008]   [Feb]   [3]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateSun, 03 Feb 2008 14:33:28 -0400
FromKevin Winchester <>
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 18:37    [from the cache]
©2003-2008