From owner-cvs-all@FreeBSD.ORG Tue Oct 7 23:47:44 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD0C316A4B3; Tue, 7 Oct 2003 23:47:44 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id A728A43FBF; Tue, 7 Oct 2003 23:47:41 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.9/8.12.9) with ESMTP id h986lVN1056096; Tue, 7 Oct 2003 23:47:35 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <200310080647.h986lVN1056096@gw.catspoiler.org> Date: Tue, 7 Oct 2003 23:47:31 -0700 (PDT) From: Don Lewis To: nectar@FreeBSD.org In-Reply-To: <20031007125325.GA28894@madman.celabo.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 pmap.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2003 06:47:45 -0000 On 7 Oct, Jacques A. Vidrine wrote: > On Tue, Oct 07, 2003 at 05:34:37AM -0700, Jacques A. Vidrine wrote: >> nectar 2003/10/07 05:34:37 PDT >> >> FreeBSD src repository >> >> Modified files: (Branch: RELENG_4) >> sys/i386/i386 pmap.c >> Log: >> Disable PSE at boot time for Pentium 4 processors. On many such CPUs, >> data corruption will result otherwise. It seems that the bug is >> aggravated by recent work related to PAE. >> >> This change was originally based on rev 1.386, but now the test for >> CPU type is correct and the display of the warning is postponed until >> we have initialized the kernel message buffer (e.g. for dmesg). >> >> peter@ believes that only certain revisions of the Pentium 4 processor >> are affected. However, we are unsure which so we choose to be safe by >> disabling PSE on all Pentium 4s. >> >> The test can be disabled entirely with NO_PSE_HACK. >> >> Approved by: re >> >> Revision Changes Path >> 1.250.2.22 +34 -0 src/sys/i386/i386/pmap.c > > The symptoms from this bug that I experienced on an ``Intel(R) > Celeron(R) CPU 2.00GHz'' system were SIGBUS and SIGSEGV during `make > buildworld'. Celeron != Pentium 4, though both appear to be CPUCLASS_686. As I've noted many times in the past, my P II box (also CPUCLASS_686) is also affected, with the symptoms being random corruption in /usr/obj that shows up with repeated "make buildworld" runs which disappeared when I added the DISABLE_PSE option. My Athlon box running -current was also affected, which would seem to indicate that the problem isn't limited to Intel CPUs. I believe that Terry has claimed that the problem is memory size dependent, so the amount of memory in the box may determine whether the problem occurs rather than the CPU type.