From owner-freebsd-bugs Wed Jan 2 9: 0:12 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A391937B405 for ; Wed, 2 Jan 2002 09:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g02H03s94947; Wed, 2 Jan 2002 09:00:03 -0800 (PST) (envelope-from gnats) Date: Wed, 2 Jan 2002 09:00:03 -0800 (PST) Message-Id: <200201021700.g02H03s94947@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Hiten Pandya Subject: Re: i386/29679: FreeBSD and 4GB of ram not working Reply-To: Hiten Pandya Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/29679; it has been noted by GNATS. From: Hiten Pandya To: freebsd-gnats-submit@FreeBSD.org, sagi@webair.com Cc: Subject: Re: i386/29679: FreeBSD and 4GB of ram not working Date: Wed, 02 Jan 2002 16:54:41 +0000 hi, This issue has been discussed on the FreeBSD-Hackers mailing list, and possible fixes have been provided by various developers according to their situations with 4GB of RAM. The solution was discussed by Terry Lambert on the -hackers list. The specific thread to search for would be: 4G phisical memory kernel trap The reason is due to the limitations imposed in src/sys/i386/i386/machdep.c, which can be changed. I am giving a short guideline on how to acomplish this: 1) Try changing the KVA space in the src/sys/i386/i386/machdep.c, and recompile the kernel. 2) If that doesn't work, it could be that you are running out of page table pages (originially pointed out by Tim Wiess ). The issue can be resolved by changing the NKPT #define in src/sys/i386/include/pmap.h to 64 and the KVA_PAGES #define to a multiple of 4 (default value is 256). This should resolve the issue. If there are no further more problems, then this PR can be gracefully closed. regards, - Hiten - -- 1024 45:a5:9c:f2:fb:07:da:70:18:02:0b:f3:63:f1:7a:a6 hitenp@hpdi.ath.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message