From: Alexander Huemer <alexander.huemer@sbg.ac.at>
To: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Andi Kleen <andi@firstfloor.org>
Subject: Re: 2.6.27 mtrr fixes do not work
Date: Thu, 21 Aug 2008 16:52:21 +0200 [thread overview]
Message-ID: <48AD8125.7050104@sbg.ac.at> (raw)
In-Reply-To: <86802c440808141031p2712976cqe2c34d3b986ad810@mail.gmail.com>
Yinghai Lu wrote:
> On Thu, Aug 14, 2008 at 7:09 AM, Alexander Huemer
> <alexander.huemer@sbg.ac.at> wrote:
>
>> Yinghai Lu wrote:
>>
>>> On Thu, Aug 7, 2008 at 4:30 PM, Alexander Huemer
>>> <alexander.huemer@sbg.ac.at> wrote:
>>>
>>>
>>>> Yinghai Lu wrote:
>>>>
>>>>
>>>
>>>>>> can you put "debug" in command line too?
>>>>>>
>>>>>>
>>>>>>
>>>>> without mtrr_chunk_size etc in command line...please
>>>>>
>>>>>
>>>>>
>>>> http://xx.vu/~ahuemer/dmesg_3.txt
>>>>
>>>>
>>>>
>>> do you have
>>> CONFIG_MTRR=y
>>> CONFIG_MTRR_SANITIZER=y
>>> CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1
>>> CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
>>>
>>> in your .config?
>>>
>>> YH
>>>
>>>
>> 2.6.27_rc3 does not solve the problem either.
>> what can i do to help?
>>
>
> please send out you config
>
> YH
>
yinghai,
i just tried out 2.6.27-rc4, unfortunately without success.
here are my settings again,
if you need more info, just tell me.
as you can see, the mtrr size values are complete nonsense.
the framebuffer should be at d8000000.
i am unsure if this is the fault of the kernel or the bios.
or should the MTRR_SANITIZER resolv all broken bios issues?
# uname -a
Linux seaburg 2.6.27-rc4-blackbit #1 SMP Thu Aug 21 15:53:38 CEST
2008 x86_64 Intel(R) Xeon(R) CPU E5420 @ 2.50GHz GenuineIntel GNU/Linux
# grep -E "(^\(WW\)|^\(EE\)|^\(NI\)|^\(??\))" /var/log/Xorg.0.log
(WW) VESA(0): Failed to set up write-combining range
(0xd8000000,0x2000000)
# dmesg|grep mtrr
Command line: root=/dev/sda1
video=uvesafb:1280x1024-24@97,mtrr:3,ywrap mtrr_chunk_size=512m
Kernel command line: root=/dev/sda1
video=uvesafb:1280x1024-24@97,mtrr:3,ywrap mtrr_chunk_size=512m
mtrr: type mismatch for d8000000,800000 old: write-back new:
write-combining
mtrr: type mismatch for d8000000,400000 old: write-back new:
write-combining
mtrr: type mismatch for d8000000,200000 old: write-back new:
write-combining
mtrr: type mismatch for d8000000,100000 old: write-back new:
write-combining
mtrr: type mismatch for d8000000,80000 old: write-back new:
write-combining
mtrr: type mismatch for d8000000,40000 old: write-back new:
write-combining
mtrr: type mismatch for d8000000,20000 old: write-back new:
write-combining
mtrr: type mismatch for d8000000,10000 old: write-back new:
write-combining
mtrr: type mismatch for d8000000,8000 old: write-back new:
write-combining
mtrr: type mismatch for d8000000,4000 old: write-back new:
write-combining
mtrr: type mismatch for d8000000,2000 old: write-back new:
write-combining
mtrr: type mismatch for d8000000,1000 old: write-back new:
write-combining
mtrr: type mismatch for d8000000,2000000 old: write-back new:
write-combining
# grep MemTotal /proc/meminfo
MemTotal: 4041088 kB
# grep MTRR /usr/src/linux/.config
CONFIG_MTRR=y
CONFIG_MTRR_SANITIZER=y
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
# dmesg|grep uvesafb
Command line: root=/dev/sda1
video=uvesafb:1280x1024-24@97,mtrr:3,ywrap mtrr_chunk_size=512m
Kernel command line: root=/dev/sda1
video=uvesafb:1280x1024-24@97,mtrr:3,ywrap mtrr_chunk_size=512m
uvesafb: XGI Technology, Inc., Volari Z9s, 1.09.10, OEM: XGI, VBE v3.0
uvesafb: VBIOS/hardware supports DDC2 transfers
uvesafb: monitor limits: vf = 97 Hz, hf = 129 kHz, clk = 364 MHz
uvesafb: scrolling: redraw
uvesafb: framebuffer at 0xd8000000, mapped to 0xffffc20002100000,
using 10240k, total 32768k
# cat /proc/mtrr
reg00: base=0x00000000 ( 0MB), size=198656MB: write-back, count=1
reg01: base=0x80000000 (2048MB), size=197632MB: write-back, count=1
reg02: base=0x100000000 (4096MB), size=197632MB: write-back, count=1
#
--
regards
alex
next prev parent reply other threads:[~2008-08-21 14:52 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-06 14:05 2.6.27-rc1 mtrr fixes do not work Alexander Huemer
2008-08-07 20:14 ` Rafael J. Wysocki
2008-08-07 20:15 ` Pallipadi, Venkatesh
2008-08-07 20:23 ` Yinghai Lu
2008-08-07 20:26 ` Yinghai Lu
2008-08-07 22:14 ` Alexander Huemer
2008-08-07 23:16 ` Yinghai Lu
2008-08-07 23:17 ` Yinghai Lu
2008-08-07 23:30 ` Alexander Huemer
2008-08-07 23:58 ` Yinghai Lu
2008-08-08 0:28 ` Alexander Huemer
2008-08-14 14:09 ` Alexander Huemer
2008-08-14 17:31 ` Yinghai Lu
2008-08-21 14:52 ` Alexander Huemer [this message]
2008-08-21 15:27 ` 2.6.27 " Yinghai Lu
2008-08-21 18:44 ` Alexander Huemer
2008-08-22 10:11 ` 2.6.27 mtrr fixes do not work when X starts Helge Hafting
2008-08-22 17:24 ` Yinghai Lu
2008-08-25 11:10 ` Helge Hafting
2008-08-25 20:08 ` Yinghai Lu
2008-08-25 20:19 ` Alexander Huemer
2008-08-25 20:22 ` Yinghai Lu
[not found] ` <48B31508.6020305@sbg.ac.at>
[not found] ` <86802c440808251344h697a27d0i91486a836d258cb@mail.gmail.com>
[not found] ` <86802c440808251624u181a98eesd8a19ea6fd3d8d8c@mail.gmail.com>
[not found] ` <48B34056.5080100@sbg.ac.at>
[not found] ` <86802c440808251633s7bf8ecb2ua6ef187b5be563db@mail.gmail.com>
2008-08-29 15:09 ` 2.6.27 mtrr fixes do not work Alexander Huemer
2008-08-29 17:43 ` Yinghai Lu
2008-08-29 19:10 ` Alexander Huemer
2008-08-29 21:39 ` Yinghai Lu
2008-08-30 11:11 ` Helge Hafting
2008-08-26 9:32 ` 2.6.27 mtrr fixes do not work when X starts Helge Hafting
2008-08-26 16:43 ` Yinghai Lu
2008-08-27 12:53 ` Helge Hafting
2008-08-27 13:03 ` Andi Kleen
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=48AD8125.7050104@sbg.ac.at \
--to=alexander.huemer@sbg.ac.at \
--cc=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=venkatesh.pallipadi@intel.com \
--cc=yhlu.kernel@gmail.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