From owner-freebsd-hackers Mon May 21 12:58: 6 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from root.com (unknown [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id F2C1B37B42C for ; Mon, 21 May 2001 12:58:02 -0700 (PDT) (envelope-from dg@root.com) Received: (from dg@localhost) by root.com (8.11.2/8.11.2) id f4LJqcx02693; Mon, 21 May 2001 12:52:38 -0700 (PDT) (envelope-from dg) Date: Mon, 21 May 2001 12:52:38 -0700 From: David Greenman To: Tim Wiess Cc: hackers@freebsd.org Subject: Re: 4GB Message-ID: <20010521125238.R19893@nexus.root.com> References: <20010521110007.J316-100000@akira.ahaza.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010521110007.J316-100000@akira.ahaza.com>; from twiess@ahaza.com on Mon, May 21, 2001 at 11:38:35AM +0000 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 >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