From owner-freebsd-current@FreeBSD.ORG Wed Oct 1 22:01:08 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0069116A4B3 for ; Wed, 1 Oct 2003 22:01:08 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D37343F93 for ; Wed, 1 Oct 2003 22:01:07 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 6D15D2A7EA for ; Wed, 1 Oct 2003 22:01:07 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: current@freebsd.org Date: Wed, 01 Oct 2003 22:01:07 -0700 From: Peter Wemm Message-Id: <20031002050107.6D15D2A7EA@canning.wemm.org> Subject: HEADS UP: APM users on -current! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 05:01:08 -0000 I've made a commit that has been reported as breaking APM for some people. I'll be following this up, so could folks please report here if things break? (and feel free to say so if you find the problem :-). It would also be interesting to know that things are ok for a few people too. If you're stuck (hang or reset on boot), take out apm for the time being. Yes, I know that isn't a solution, but please bear with me. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 ------- Forwarded Message Date: Wed, 01 Oct 2003 16:46:08 -0700 From: Peter Wemm To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf ldscript.i386 src/sys/i386/i386 bios.c genass ym.c locore.s machdep.c mp_machdep.c mpboot.s pmap.c src/sys/i386/inc lude pmap.h vmparam.h peter 2003/10/01 16:46:08 PDT FreeBSD src repository Modified files: sys/conf ldscript.i386 sys/i386/i386 bios.c genassym.c locore.s machdep.c mp_machdep.c mpboot.s pmap.c sys/i386/include pmap.h vmparam.h Log: Commit Bosko's patch to clean up the PSE/PG_G initialization to and avoid problems with some Pentium 4 cpus and some older PPro/Pentium2 cpus. There are several problems, some documented in Intel errata. This patch: 1) moves the kernel to the second page in the PSE case. There is an errata that says that you Must Not point a 4MB page at physical address zero on older cpus. We avoided bugs here due to sheer luck. 2) sets up PSE page tables right from the start in locore, rather than trying to switch from 4K to 4M (or 2M) pages part way through the boot sequence at the same time that we're messing with PG_G. For some reason, the pmap work over the last 18 months seems to tickle the problems, and the PAE infrastructure changes disturb the cpu bugs even more. A couple of people have reported a problem with APM bios calls during boot. I'll work with people to get this resolved. Obtained from: bmilekic Revision Changes Path 1.8 +1 -1 src/sys/conf/ldscript.i386 1.63 +12 -12 src/sys/i386/i386/bios.c 1.144 +3 -0 src/sys/i386/i386/genassym.c 1.175 +62 -9 src/sys/i386/i386/locore.s 1.573 +1 -1 src/sys/i386/i386/machdep.c 1.217 +2 -8 src/sys/i386/i386/mp_machdep.c 1.21 +16 -0 src/sys/i386/i386/mpboot.s 1.442 +35 -86 src/sys/i386/i386/pmap.c 1.101 +3 -1 src/sys/i386/include/pmap.h 1.37 +7 -0 src/sys/i386/include/vmparam.h ------- End of Forwarded Message