From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753144AbYICQy4 (ORCPT ); Wed, 3 Sep 2008 12:54:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751332AbYICQyt (ORCPT ); Wed, 3 Sep 2008 12:54:49 -0400 Received: from py-out-1112.google.com ([64.233.166.181]:52331 "EHLO py-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751255AbYICQys (ORCPT ); Wed, 3 Sep 2008 12:54:48 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=g7LHdQ6/wiCGcKfg0lmeTzVh+r5GCcSPi21WPbJqTzukSfmkTDYwPqTtMP3P5gFLeV /qWtAkjtF4Fzk0wAQYJKJCwYKgaksToTYq+luWuHNAt4JD291lJ9jPaNgu8QzUyZliHy 0kvoDbkceTUpgU1tSLYWHT6E5FduTXbOZdplM= Message-ID: <86802c440809030954s32ac76e3m3f6a17b89d0fc073@mail.gmail.com> Date: Wed, 3 Sep 2008 09:54:46 -0700 From: "Yinghai Lu" To: "Andrew Morton" Subject: Re: [Bugme-new] [Bug 11490] New: Old mtrr bug comeback Cc: "Ingo Molnar" , "Thomas Gleixner" , bugme-daemon@bugzilla.kernel.org, linux-kernel@vger.kernel.org, ak@axet.ru In-Reply-To: <20080903091842.dc0982ee.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080903091842.dc0982ee.akpm@linux-foundation.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 3, 2008 at 9:18 AM, Andrew Morton wrote: > > (switched to email. Please respond via emailed reply-to-all, not via the > bugzilla web interface). > > On Wed, 3 Sep 2008 08:44:27 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote: > >> http://bugzilla.kernel.org/show_bug.cgi?id=11490 >> >> Summary: Old mtrr bug comeback >> Product: Memory Management >> Version: 2.5 >> KernelVersion: v2.6.27-rc5 >> Platform: All >> OS/Version: Linux >> Tree: Mainline >> Status: NEW >> Severity: normal >> Priority: P1 >> Component: MTTR >> AssignedTo: akpm@osdl.org >> ReportedBy: ak@axet.ru >> >> >> Latest working kernel version:v2.6.26.3 >> >> Old mtrr bug comeback, when i boot my notebook with last kerenl they going to >> work really slow as turttle. to boot on normal speed i need use kernel param >> mem=1000M >> >> when i use 2.6.26.3 everyting going fine. as i remember that bug fixed in >> 2.6.26 stable release and was in 2.6.25 and earlier. >> >> probably you can find more details in bugzilla.redhat.com or >> bugzilla.mozilla.com i do no remember where is exactly i have been posted that >> old bug. >> >> here the point (warning on 2.6.26.3 kernel): >> >> WARNING: BIOS bug: CPU MTRRs don't cover all of memory, losing 7MB of RAM. >> ------------[ cut here ]------------ >> WARNING: at arch/x86/kernel/cpu/mtrr/main.c:706 >> mtrr_trim_uncached_memory+0x103/0x168() >> Modules linked in: >> Pid: 0, comm: swapper Not tainted 2.6.26.3 #1 >> [] ? printk+0xf/0x16 >> [] warn_on_slowpath+0x41/0x7b >> [] ? _spin_unlock_irqrestore+0x10/0x14 >> [] ? _spin_unlock_irqrestore+0x10/0x14 >> [] ? release_console_sem+0x181/0x189 >> [] ? vprintk+0x2e6/0x30b >> [] ? vprintk+0x2e6/0x30b >> [] ? generic_get_mtrr+0x53/0x8a >> [] mtrr_trim_uncached_memory+0x103/0x168 >> [] ? mtrr_bp_init+0x204/0x20c >> [] setup_arch+0x27b/0x6ce >> [] ? printk+0xf/0x16 >> [] start_kernel+0x64/0x2da >> [] __init_begin+0x8/0xa >> ======================= >> ---[ end trace 4eaa2a86a8e2da22 ]--- >> update e820 for mtrr >> modified physical RAM map: >> > > A post-2.6.26 regression. > > We have a couple of mtrr fixes pending: > > http://userweb.kernel.org/~akpm/mmotm/broken-out/x86-delay-early-cpu-initialization-until-cpuid-is-done.patch > > http://userweb.kernel.org/~akpm/mmotm/broken-out/x86-move-mtrr-cpu-cap-setting-early-in-early_init_xxxx.patch > > but I don't know if they'll fix this regression? > cpu? dmesg with debug and initcall_debug cat /proc/mtrr YH