NetBSD Problem Report #54254
From firstname.lastname@example.org Fri May 31 20:36:46 2019
Received: from mail.netbsd.org (mail.netbsd.org [188.8.131.52])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 360D17A18A
for <gnats-bugs@gnats.NetBSD.org>; Fri, 31 May 2019 20:36:46 +0000 (UTC)
Date: Fri, 31 May 2019 20:36:45 +0000 (UTC)
Subject: Switch 68K to 8KB pages to increase available address space
>Synopsis: Switch 68K to 8KB pages to increase available address space
>Arrival-Date: Fri May 31 20:40:00 +0000 2019
>Originator: Chris Hanson
In trying to build python27 from pkgsrc-2018Q3, my HP 9000/433s with 128MB of RAM and 384MB of swap running netbsd-8 panicked due to address space exhaustion.
I discussed this on the port-hp300 list and Izumi Tsutsui said that there are restrictions in the 68K pmap code that are causing this, and a simple workaround is to increase the page size to 8KB by setting PGSHIFT to 13.
I set PGSHIFT to 13 and rebuilt the kernel and it works to build python27 and everything else I've tried, so I think this should be adopted until such time as the pmap code can be revised to cover larger address spaces.
Try to build python27 from pkgsrc-2018Q3 on hp300 running netbsd-8 with sufficient virtual memory; you will exhaust address space before the build completes.
Increase page size to 8KB by setting PGSHIFT to 13.
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.