public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Winchester <kjwinchester@gmail.com>
To: Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Latest -git ioremap error
Date: Sun, 03 Feb 2008 14:33:28 -0400	[thread overview]
Message-ID: <47A608F8.5080206@gmail.com> (raw)
In-Reply-To: <47A606B5.7090001@gmail.com>

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









  reply	other threads:[~2008-02-03 18:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-03 18:23 Latest -git ioremap error Kevin Winchester
2008-02-03 18:33 ` Kevin Winchester [this message]
2008-02-03 21:33   ` Ingo Molnar
2008-02-04  1:10     ` Kevin Winchester
2008-02-04  6:01 ` Mike Galbraith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47A608F8.5080206@gmail.com \
    --to=kjwinchester@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox