From owner-cvs-src@FreeBSD.ORG Tue Feb 3 08:00:26 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10E1B16A4CE; Tue, 3 Feb 2004 08:00:26 -0800 (PST) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C90843D2F; Tue, 3 Feb 2004 08:00:09 -0800 (PST) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 1E05E1FF91D; Tue, 3 Feb 2004 17:00:08 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id 526B41FF90C; Tue, 3 Feb 2004 17:00:06 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 631F0154BE; Tue, 3 Feb 2004 15:50:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 5FD3315384; Tue, 3 Feb 2004 15:50:50 +0000 (UTC) Date: Tue, 3 Feb 2004 15:50:50 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: John Baldwin In-Reply-To: <200402031013.22310.jhb@FreeBSD.org> Message-ID: References: <200402022322.i12NMOVR098769@repoman.freebsd.org> <200402031013.22310.jhb@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 16:00:26 -0000 On Tue, 3 Feb 2004, John Baldwin wrote: > On Tuesday 03 February 2004 01:18 am, Bjoern A. Zeeb wrote: > > On Mon, 2 Feb 2004, John Baldwin wrote: > > > > Hi, > > > > > jhb 2004/02/02 15:22:24 PST > > > > > > FreeBSD src repository > > > > > > Modified files: > > > sys/i386/i386 machdep.c > > > Log: > > > Set PCPU_GET(curpcb) for the BSP to thread0's pcb. Otherwise, the boot > > > CPU doesn't have a pcb until after it's first context switch. This can > > > cause secondary panics if a page fault happens during bootup. > > > > > > Revision Changes Path > > > 1.586 +1 -0 src/sys/i386/i386/machdep.c > > > > this gave me a fatal trap 9 gen. protection fault while in km > > last time I tried with your patch. > > You have a double panic and this fixed the first panic. You are still getting > another panic that I'm not sure how to fix. *hmm* while this is true w/o ACPI enabled with ACPI enabled I do not get a panic while booting a kernel prior to this commit (which is equal to the patch you had sent me). With your patch (thus also with this commit I guess) I do get the panic with and without ACPI. Conclusion: with this patch/commit I will no longer be able to boot this problematic machine here. Any more ideas ? -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/