Subject: Re: kernel compile..
To: None <port-pmax@NetBSD.ORG>
From: Jorgen Pehrson <jp@spektr.ludvika.se>
List: port-pmax
Date: 01/07/1998 16:29:51
On Tue, 6 Jan 1998, Toru Nishimura wrote:

> jorgen.pehrson@seinf.mail.abb.com wrote
> 
> And, make sure to have swap description in /etc/fstab like this;
> 
> /dev/rz2b       swap    swap    sw      0 0
> 
> If not, your kernel will run swapless.

Hmm, my line in /etc/fstab looks like this:

/dev/rz2b none swap sw 0 0

(That's what 'man fstab' said it should look like?)

Still doesn't make any difference to swapctl though... :(

> The kernel will determine automagically which disk contains root
> filesystem.  Designation of swap space is done on multiuser
> transition, not kernel building parameter any more.  See swapctl(8)
> man page for details.
> 
> Tohru Nishimura
> Nara Institute of Science and Technology

Ok, I've done that.. Still don't see how I can add my swap partition.
Tried 'swapctl -A', 'swapctl -a /dev/rz2b', still says:

swapctl: /dev/rz2b: Device not configured

Although this is using the 1.3_beta kernel that I found at ftp.netbsd.org
somewhere. Maybe it still wants the swap configuration the old way? Ie,
using a swap line in the kernel config file?

I could find out by booting my freshly compiled kernel I guess, but that
kernel can't find clock0 at startup so I get a panic and a halt...

Jorgen Pehrson