Subject: Re: Adding more swap space
To: None <port-arm32@NetBSD.ORG>
From: Markus Baeurle <emw4maba@gp.fht-esslingen.de>
List: port-arm32
Date: 01/01/1997 21:13:48
In message <Pine.GSO.3.93.961230104951.3520A-100000@stingray.ivision.co.uk>
          Jasper Wallace <jasper@ivision.co.uk> wrote:

> Bad news I'm afraid... you have to compile a kernel to add a second swap
> space partition...
> 
> Unfortunatly I've forgottern how to do it, and although I've seen it
> writtern down somewhere can't find it. I'm pretty sure you have to alter
> the:
> 
> config          netbsd  swap generic
> 
> line in the kernel configuration file - but to what I don't know - time for
> some search engineing i think.

I'm not sure about this, I was under the impression that if you put in "swap
generic" the kernel was able to swap on any drive.
Note that most kernels (also on other ports such as i386) are compiled with
"config netbsd swap generic" and they can swap to both IDE and SCSI disks.

OTOH, I just tried to swap to my phasechange-drive (sic) which contains a
minimal swap partition as I set it up with the NetBSD install routine and I
also got the "device not configured" error.

It's the only explanation I have left. Anybody want to compile a kernel with
this line changed? I can't atm as I'd need a new csc.o.

> (I think it could be:
> 
> config netbsd swap generic swap on wd1b

You only name the drive and not the partition, ie. ..."swap on wd1".
A config file for the PC532 port uses this syntax.

MfG MB