Subject: install/8150: sysinst should enable swap space on small-memory systems.
To: None <gnats-bugs@gnats.netbsd.org>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: netbsd-bugs
Date: 08/05/1999 15:14:42
>Number:         8150
>Category:       install
>Synopsis:       sysinst should enable swap space on small-memory systems.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager (NetBSD system installation bug manager)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Aug  5 14:20:01 1999
>Last-Modified:
>Originator:     Bill Sommerfeld
>Organization:
	
>Release:        19990801
>Environment:
	
System: NetBSD orchard.arlington.ma.us 1.4 NetBSD 1.4 (ORCHARDII) #54: Sun May 16 10:05:51 EDT 1999 sommerfeld@orchard.arlington.ma.us:/usr/src/sys/arch/i386/compile/ORCHARDII i386


>Description:
	report from Mike Cheponis on port-i386 about sysinst on 4M
	system indicates that you can't install with that little VM.  

>How-To-Repeat:
	try to install 4M system with boot-tiny.fs; find it running
	out of memory.

>Fix:
	if sysinst creates a swap partition or finds swap space on the
	disk,  have it try to enable swapping to it.

doing it manually, the user reports:

    Apparently, sysinst does NOT automatically enable the swap space, at least
    on the the boot-tiny.fs that I have to use.  Perhaps it should?

    I ^Z'd as it was asking about details for the FTP (but before the offending
    /sbin/ping that was causing the error), and typed 'swapctl -a /dev/wd0b'
    and it's working great. ('swapctl -lk' showed no devices, that's why I did
    swapctl -a).

    Thanks everybody for all the help!

    -Mike

    p.s. Now I need to go back and try my tiny 40 MB HD ...

>Audit-Trail:
>Unformatted: