Date: Sun, 16 Sep 2001 16:24:49 -0700 From: Peter Wemm <peter@wemm.org> To: tlambert2@mindspring.com Cc: Christian Kruse <christiankruse@t-online.de>, freebsd-smp@FreeBSD.ORG Subject: Re: Problems with a Dual Ahtlon 1,2 GHz Message-ID: <20010916232449.379AD3808@overcee.netplex.com.au> In-Reply-To: <3BA52329.36662F9A@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote: > Christian Kruse wrote: > > [ ... ] > > > "Page fault while in kernel mode" > > [ ... ] > > > RAM: 4 * 256MB DDR (PC 266) Infinion RAM > > NOTE: This may or may not be your problem; it was mine, on > similar hardware. > > -- > > With 1G of RAM, you will want to increase the number of open > files, sockets, etc., that are created on static allocations, > in order to force some TLBs which are not flushed by a reload > of %CR3 or an explicit INVTLB to be flushed, to end up being > recycled instead (effectively flushing them), since there are > some subtle problems in the code in locore.s, machdep.c, and > pmap.c in the mp case, when interacting with the PG_G and PG_PSE > bits. Terry, you are on crack. We do not use PG_G in SMP kernels. There cannot be any PG_G and PG_PSE interaction. > An alternative workaround is to add: > > options DISABLE_PSE > > to your configuration file. > > I've locally corrected the problem, and run with 4G of RAM+PG_PSE > without incident, but I had to do some evil to make it work, > which you may not want in your kernel (e.g. I changed the > machdep.c swap and reserve allocations, which get ungodly huge > when you have a lot of memory, and end up being largely useless, > when your physical address space is so close to populate -- Matt > made some changes there in -current, but I don't agree with them, > so my code is "weird", starting with a 3G/1G instead of 1G/3G > split on KVA vs. user space addresses). > > -- Terry > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-smp" in the body of the message > > Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010916232449.379AD3808>