Re: 2.6.27-rc1 mtrr fixes do not work

From: Yinghai Lu
Date: Thu Aug 07 2008 - 19:17:20 EST


On Thu, Aug 7, 2008 at 4:16 PM, Yinghai Lu <yhlu.kernel@xxxxxxxxx> wrote:
> On Thu, Aug 7, 2008 at 3:14 PM, Alexander Huemer
> <alexander.huemer@xxxxxxxxx> wrote:
>> Yinghai Lu wrote:
>>>
>>> On Thu, Aug 7, 2008 at 1:23 PM, Yinghai Lu <yhlu.kernel@xxxxxxxxx> wrote:
>>>
>>>>
>>>> On Thu, Aug 7, 2008 at 1:15 PM, Pallipadi, Venkatesh
>>>> <venkatesh.pallipadi@xxxxxxxxx> wrote:
>>>>
>>>>>
>>>>> Adding Yinghai.
>>>>>
>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Rafael J. Wysocki [mailto:rjw@xxxxxxx]
>>>>>> Sent: Thursday, August 07, 2008 1:14 PM
>>>>>> To: Alexander Huemer
>>>>>> Cc: linux-kernel@xxxxxxxxxxxxxxx; Andi Kleen; Pallipadi, Venkatesh
>>>>>> Subject: Re: 2.6.27-rc1 mtrr fixes do not work
>>>>>>
>>>>>> [Adding CCs.]
>>>>>>
>>>>>> On Wednesday, 6 of August 2008, Alexander Huemer wrote:
>>>>>>
>>>>>>>
>>>>>>> hi,
>>>>>>>
>>>>>>> mtrr is wrong on my machine. the fixes of 2.6.27-rc1 do not
>>>>>>>
>>>>>>
>>>>>> seem to work.
>>>>>>
>>>>>>>
>>>>>>> bios is the newest version, mainboard vendor says it's not
>>>>>>>
>>>>>>
>>>>>> their fault.
>>>>>>
>>>>>>>
>>>>>>> mainboard is tyan i5000pw.
>>>>>>> please tell me how i can help and cc me on answers, i am not
>>>>>>>
>>>>>>
>>>>>> subscribed.
>>>>>>
>>>>>>>
>>>>>>> seaburg ~ # 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
>>>>>>> seaburg ~ # zcat /proc/config.gz | grep MTRR
>>>>>>> CONFIG_MTRR=y
>>>>>>> CONFIG_MTRR_SANITIZER=y
>>>>>>> CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1
>>>>>>> CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
>>>>>>> seaburg ~ # uname -a
>>>>>>> Linux seaburg 2.6.27-rc1-blackbit #3 SMP Wed Aug 6 00:34:51 CEST 2008
>>>>>>> x86_64 Intel(R) Xeon(R) CPU E5420 @ 2.50GHz GenuineIntel GNU/Linux
>>>>>>> seaburg ~ #
>>>>>>>
>>>>
>>>> alexander,
>>>>
>>>> please send out
>>>> dmesg -s 262144 > dmesg.txt
>>>> or
>>>> dmesg -s 524288 > dmesg.txt
>>>>
>>>> you may need to set
>>>> CONFIG_LOG_BUF_SHIFT=19
>>>>
>>>
>>> without mtrr_gran_size=64m mtrr_chunk_size=1024m on command line
>>>
>>> guess mtrr_chunk_size=512m could work
>>>
>>> YH
>>>
>>
>> yinghai,
>>
>> thanks for the response.
>> i booted with
>> mtrr_gransize_64m mtrr_chunk_size_512m
>> mtrr_chunk_size_512m
>> here are the 2 dmesg outputs:
>> http://xx.vu/~ahuemer/dmesg_1.txt
>> http://xx.vu/~ahuemer/dmesg_2.txt
>>
>
> can you put "debug" in command line too?

without mtrr_chunk_size etc in command line...please

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/