From: Venki Pallipadi <venkatesh.pallipadi@intel.com>
To: Rufus & Azrael <rufus-azrael@numericable.fr>
Cc: "Siddha, Suresh B" <suresh.b.siddha@intel.com>,
Ingo Molnar <mingo@elte.hu>,
Linux-kernel Mailing List <linux-kernel@vger.kernel.org>,
"Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
Subject: Re: [2.6.25-git18 => 2.6.26-rc1-git1] Xorg crash with xf86MapVidMem error
Date: Mon, 5 May 2008 16:25:36 -0700 [thread overview]
Message-ID: <20080505232536.GA28026@linux-os.sc.intel.com> (raw)
In-Reply-To: <481F87F2.70005@numericable.fr>
On Mon, May 05, 2008 at 03:19:30PM -0700, Rufus & Azrael wrote:
> Suresh Siddha a ecrit :
> > On Sun, May 04, 2008 at 11:03:52AM +0200, Rufus & Azrael wrote:
> >
> >> Ingo Molnar a ecrit :
> >>
> >>> * Rufus & Azrael <rufus-azrael@numericable.fr> wrote:
> >>>
> >>>> When upgrading to 2.6.25-git18 and above kernel this Xorg error
> occurs :
> >>>>
> >>>> xf86MapVidMem: Could not mmap framebuffer (0xf0000000,0x8000000)
> (Invalid
> >>>> argument)
> >>>>
> >>>> The latest working kernel was 25-git17 and perhaps is it related to
> >>>> [1]http://lkml.org/lkml/2008/4/28/52
> >>>>
> >>>>
> >>> does this X-does-not-start-up problem go away if you disable this
> >>> option:
> >>>
> >>>
> >>>> CONFIG_X86_PAT=y
> >>>>
> >>>>
> >>> ?
> >>>
> >>>
> >> Thanks for your help Ingo, all work fine when CONFIG_PAT=n :-)
> >>
> >
> > hi, Can you please send us the "dmesg" output in the failing scenario
> > with PAT enabled, after the X crash?
> >
> > thanks,
> > suresh
> >
> >
> Hi,
>
> Here is my dmesg with 2.6.26-rc1-git3 and CONFIG_X86_PAT=y
>
> Hope it can help you to fixe the crash.
>
Did you capture dmesg after X failed to start? Only relevent msg I see is
> [ 0.333352] [drm] Initialized radeon 1.28.0 20060524 on minor 0
> [ 0.334110] uvesafb: (C) 1988-2005, ATI Technologies Inc. RS69001.00, RS69001.00, 01.00, OEM: ATI ATOMBIOS(C) 1988-2005, ATI Technologies Inc. RS69001.00, VBE v3.0
> [ 0.351570] uvesafb: VBIOS/hardware supports DDC2 transfers
> [ 0.410125] uvesafb: monitor limits: vf = 75 Hz, hf = 83 kHz, clk = 140 MHz
> [ 0.410313] uvesafb: scrolling: redraw
> [ 0.412579] uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.
> [ 0.657370] uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.
> [ 0.894472] Console: switching to colour frame buffer device 160x64
> [ 0.894532] uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.
> [ 1.128483] uvesafb: framebuffer at 0xf0000000, mapped to 0xffffc20010a80000, using 16384k, total 16384k
> [ 1.128518] fb0: VESA VGA frame buffer device
Which seems to be mapping framebuffer successfully.
Can you please try the patch below and capture the dmesg after you get the
above xf86MapVidMem error and send it. That should give us more information
on the failure.
Thanks,
Venki
Index: linux-2.6/arch/x86/mm/pat.c
===================================================================
--- linux-2.6.orig/arch/x86/mm/pat.c 2008-05-05 14:13:16.000000000 -0700
+++ linux-2.6/arch/x86/mm/pat.c 2008-05-05 15:54:21.000000000 -0700
@@ -7,6 +7,8 @@
* Loosely based on earlier PAT patchset from Eric Biederman and Andi Kleen.
*/
+#define DEBUG
+
#include <linux/mm.h>
#include <linux/kernel.h>
#include <linux/gfp.h>
next prev parent reply other threads:[~2008-05-05 23:25 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-04 8:24 [2.6.25-git18 => 2.6.26-rc1-git1] Xorg crash with xf86MapVidMem error Rufus & Azrael
2008-05-04 8:52 ` Ingo Molnar
2008-05-04 9:03 ` Rufus & Azrael
2008-05-05 17:26 ` Suresh Siddha
2008-05-05 22:19 ` Rufus & Azrael
2008-05-05 23:25 ` Venki Pallipadi [this message]
2008-05-05 23:49 ` Ingo Molnar
2008-05-06 2:09 ` Venki Pallipadi
2008-05-06 11:55 ` Ingo Molnar
[not found] ` <4820962B.6050702@numericable.fr>
2008-05-06 20:34 ` Pallipadi, Venkatesh
2008-05-06 21:56 ` Rufus & Azrael
2008-05-06 22:05 ` Pallipadi, Venkatesh
2008-05-07 20:58 ` Rufus & Azrael
2008-05-07 22:12 ` Pallipadi, Venkatesh
2008-05-08 7:08 ` Rufus & Azrael
2008-05-08 13:18 ` Pallipadi, Venkatesh
[not found] ` <B5B0CFF685D7DF46A05CF1678CFB42ED20E04609@orsmsx423.amr.corp.intel.com>
2008-05-08 19:25 ` Venki Pallipadi
2008-05-08 20:08 ` Rufus & Azrael
2008-05-08 21:37 ` Venki Pallipadi
2008-05-08 21:42 ` H. Peter Anvin
[not found] ` <20080508215931.GA5035@jamoon.sc.intel.com>
2008-05-08 23:40 ` Venki Pallipadi
2008-05-08 23:54 ` H. Peter Anvin
2008-05-09 0:34 ` Venki Pallipadi
2008-05-09 0:49 ` H. Peter Anvin
2008-05-09 0:52 ` H. Peter Anvin
2008-05-09 13:46 ` Pallipadi, Venkatesh
2008-05-29 19:01 ` Venki Pallipadi
2008-05-29 21:51 ` Rufus & Azrael
2008-05-31 8:10 ` Ingo Molnar
2008-05-06 22:51 ` Venki Pallipadi
2008-05-07 7:06 ` Ingo Molnar
2008-05-07 21:42 ` Yinghai Lu
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=20080505232536.GA28026@linux-os.sc.intel.com \
--to=venkatesh.pallipadi@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rufus-azrael@numericable.fr \
--cc=suresh.b.siddha@intel.com \
/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