Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2004 06:18:19 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@zabbadoz.net>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/i386/i386 machdep.c
Message-ID:  <Pine.BSF.4.53.0402030615130.17605@e0-0.zab2.int.zabbadoz.net>
In-Reply-To: <200402022322.i12NMOVR098769@repoman.freebsd.org>
References:  <200402022322.i12NMOVR098769@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.53.0402030615130.17605>