From owner-cvs-all@FreeBSD.ORG Mon Feb 2 22:20:11 2004 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 011C016A4CF; Mon, 2 Feb 2004 22:20:11 -0800 (PST) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5C3743D48; Mon, 2 Feb 2004 22:20:09 -0800 (PST) (envelope-from bz@zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 6B5131FF91D; Tue, 3 Feb 2004 07:20:08 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id B1FB01FF90C; Tue, 3 Feb 2004 07:20:06 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 2B24F154BE; Tue, 3 Feb 2004 06:18:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 176A915384; Tue, 3 Feb 2004 06:18:19 +0000 (UTC) Date: Tue, 3 Feb 2004 06:18:19 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: John Baldwin In-Reply-To: <200402022322.i12NMOVR098769@repoman.freebsd.org> Message-ID: References: <200402022322.i12NMOVR098769@repoman.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-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: Tue, 03 Feb 2004 06:20:11 -0000 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. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/