Re: Kernel config for Sun 3/50

Chris Hanson <[email protected]> Wed, 25 Jan 2023 17:32:23 -0800
Newsgroups gmane.os.netbsd.ports.sun3
Message-ID <[email protected]>
On Jan 20, 2023, at 9:11 PM, Trent McNair <[email protected]> wrote:
>=20
> I commented out the kernel size check code and built a minimal kernel,
> it does boot and tries to go into single-user mode but only after a
> very long time . After that, things start crashing, complaining about
> swap space. I'm not sure at what point in the boot sequence the swap
> gets activated, but I don't see any indication on my NFS server that
> the swap file is mounted or accessed. I tried swapctl -A from the
> shell prompt but that crashed as well. I've attached a boot log below.

One thing I've done when booting minimal-memory systems (such as an HP =
9000-332 with 8MB) is put attaching a swap file at the very top of =
/etc/rc, because I was seeing the attempt to execute rc failing due to =
lack of memory. Normally swap is attached towards the middle or end of =
/etc/rc, from what I recall anyway.

  -- Chris