From owner-freebsd-hackers Mon May 21 13:48:29 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dns1.ahaza.com (maitai.ahaza.com [209.180.220.98]) by hub.freebsd.org (Postfix) with ESMTP id D3C8B37B422 for ; Mon, 21 May 2001 13:48:25 -0700 (PDT) (envelope-from twiess@ahaza.com) Received: from relay.ux.ahaza.com ([209.180.221.130]) by dns1.ahaza.com (8.11.1/8.11.1) with ESMTP id f4LKmPF71456 for ; Mon, 21 May 2001 13:48:25 -0700 (PDT) (envelope-from twiess@ahaza.com) Received: from eunice.camelot.ahaza.com (eunice.camelot.ahaza.com [172.16.30.18]) by relay.ux.ahaza.com (8.11.1/8.11.1) with ESMTP id f4LKmPq42637; Mon, 21 May 2001 13:48:25 -0700 (PDT) (envelope-from twiess@ahaza.com) Received: from akira.ahaza.com ([172.16.30.230]) by eunice.camelot.ahaza.com with Microsoft SMTPSVC(5.0.2195.1600); Mon, 21 May 2001 13:45:03 -0700 Date: Mon, 21 May 2001 13:51:28 +0000 (GMT) From: Tim Wiess X-X-Sender: To: David Greenman Cc: Subject: Re: 4GB In-Reply-To: <20010521125238.R19893@nexus.root.com> Message-ID: <20010521135017.A316-100000@akira.ahaza.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 21 May 2001 20:45:03.0710 (UTC) FILETIME=[E95447E0:01C0E236] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David, That was it! Thanks for your help. tim On Mon, 21 May 2001, David Greenman wrote: > >Hello all, > >I've been experiencing some major problems running FreeBSD on 4GB of > >memory, and I was curious if anyone has experienced this before. > > > >Bascially, the problem is that FreeBSD just won't boot. Shortly after the > >kernel gains control of the system, it panics... > > > >Fatal trap 12: page fault while in kernel mode > >mp_lock = 0000000b; cpuid = 0; lapic.id = 00000000 > >fault virtual address = 0xbff11000 > >fault code = supervisor write, page not present > >instruction pointer = 0x8:0xc027e48c > >stack pointer = 0x10:0xc03c4f30 > >frame pointer = 0x10:0xc03c4f3c 95 > >code segment = base 0x0, limit 0xfffff, type 0x1b > > = DPL 0, pres 1, def32 1, gran 1 > >processor eflags = interrupt enabled, resume, IOPL = 0 > >current process = Idle > >interrupt mask = net tty bio cam <- SMP: XXX > >kernel: type 12 trap, code=0 > >Stopped at 0xc027e48c: movl %edx,0xbfc00000(,%eax,4) > > > >The IP is pointing to the pmap_map() loop. So it's clearly having problems > >mapping out the VM. > > > >I have yet to do any rigorous debugging, but I thought I would run this by > >the mailing list before I do. The system is running on a Tyan Tiger LE > >board with dual PIIIs (860Mhz) and 4 1GB (133Mhz) SiliconTech chips. > > > >I have tested Linux on this same configuration, and while it boots > >normally, it will eventually panic with a similar error once you start > >doing some real work. > > > >Any thoughts? > > The kernel is probably running out of the initially allocated kernel page > table pages. Try upping it with 'options NKPT=64' in your kernel config > file. > > -DG > > David Greenman > Co-founder, The FreeBSD Project - http://www.freebsd.org > President, TeraSolutions, Inc. - http://www.terasolutions.com > Pave the road of life with opportunities. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message