Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759532AbYHUOwm (ORCPT ); Thu, 21 Aug 2008 10:52:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755451AbYHUOwf (ORCPT ); Thu, 21 Aug 2008 10:52:35 -0400 Received: from mx17.lb01.inode.at ([62.99.145.19]:57976 "EHLO mx.inode.at" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753237AbYHUOwe (ORCPT ); Thu, 21 Aug 2008 10:52:34 -0400 Message-ID: <48AD8125.7050104@sbg.ac.at> Date: Thu, 21 Aug 2008 16:52:21 +0200 From: Alexander Huemer User-Agent: Thunderbird 2.0.0.16 (X11/20080729) MIME-Version: 1.0 To: Yinghai Lu CC: "Pallipadi, Venkatesh" , "Rafael J. Wysocki" , "linux-kernel@vger.kernel.org" , Andi Kleen Subject: Re: 2.6.27 mtrr fixes do not work References: <4899AF8E.20105@sbg.ac.at> <7E82351C108FA840AB1866AC776AEC46092119D3@orsmsx505.amr.corp.intel.com> <86802c440808071323o3021a90rae51223187bfd47b@mail.gmail.com> <86802c440808071326m21cff146s3fb5e6118a58a2ca@mail.gmail.com> <489B73B7.4090705@sbg.ac.at> <86802c440808071616o23dde07atd694b45375f9d6ac@mail.gmail.com> <86802c440808071617i1344e595wb9cc7c2bf75a5b3f@mail.gmail.com> <489B85A3.7030500@sbg.ac.at> <86802c440808071658yd120d04y370859dcf5a7b759@mail.gmail.com> <48A43CB5.8010709@sbg.ac.at> <86802c440808141031p2712976cqe2c34d3b986ad810@mail.gmail.com> In-Reply-To: <86802c440808141031p2712976cqe2c34d3b986ad810@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4267 Lines: 128 Yinghai Lu wrote: > On Thu, Aug 14, 2008 at 7:09 AM, Alexander Huemer > wrote: > >> Yinghai Lu wrote: >> >>> On Thu, Aug 7, 2008 at 4:30 PM, Alexander Huemer >>> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/