Subject: Re: Swap space on z50?
To: Jun Ebihara <jun@soum.co.jp>
From: Greg Hughes <greg@particle.dyndns.org>
List: port-hpcmips
Date: 05/17/2001 13:39:37
I'm running the Apr 26, 2001 snapshot (1.5.1 beta 1).

I have read the swapctl man page severally, but cannot find what I am
doing incorrectly.

Both the GENERIC and install kernels return the same error message.  My
own hand-configured/compiled kernel returns the same error message as
well.

Could there be some kernel options that are required to enable swap space?

- Greg

On Thu, 17 May 2001, Jun Ebihara wrote:

> From: Greg Hughes <greg@particle.dyndns.org>
> Subject: Swap space on z50?
> Date: Wed, 16 May 2001 20:39:21 -0400 (EDT)
> 
> > error message: 'swapon: /dev/wd0b: Cannot allocate memory'.
> > Could anyone provide some insight into what needs to be done to configure
> > swap space on the z50?
> 
> On NetBSD 1.5,I still build pkgsrc-current day-by-day.
> 
> % df -k
> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
> /dev/sd0a      117463    35055    76534    31%    /
> /dev/sd0e    28196040 13203118 13583120    49%    /usr
> kernfs              1        1        0   100%    /kern
> % swapctl -k -l
> Device         1K-blocks     Used    Avail Capacity  Priority
> /dev/sd0b         101688     2296    99392     2%    0
> /usr/swapfile     102400     2120   100280     2%    0
> /usr/swapfile2    500000     2124   497876     0%    0
> Total             704088     6540   697548     1%
> 
> I set up my swap space with seeing "man swapctl" and works fine.
> --
> jun ebihara
>