Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 1997 03:14:36 +0200 (CEST)
From:      Mikael Karpberg <karpen@ocean.campus.luth.se>
To:        hackers@freebsd.org
Subject:   Swap problems
Message-ID:  <199706230114.DAA00272@ocean.campus.luth.se>

next in thread | raw e-mail | index | archive | help

Hi!

I have a problem with an installation of FreeBSD 2.2-970618-RELENG.

First of all a small note: The installation program tried to install
                           XFree86 3.3, which where NOWHERE to be found
                           even close to something called 2.2.

Now... My problem is that my computer wont swap.
Why is this not working?

ocean# swapon -a
swapon: /dev/wd0b: Device not configured
ocean# dir /dev/*wd0b*
crw-r-----  1 root  operator    3,   1 Jun 23 01:43 /dev/rwd0b
brw-r-----  1 root  operator    0,   1 Jun 23 01:43 /dev/wd0b
ocean# cat /etc/fstab
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/wd0b               none            swap    sw              0       0
/dev/wd0a               /               ufs     rw              1       1
[...]

It didn't work with the default kernel, so I tried compiling something from
a pretty unchanged GENERIC, and then even added NSWAPDEV to it.
Here's a part of my config file:

[...]
options         UCONSOLE                #Allow users to grab the console
options         FAILSAFE                #Be conservative
options         NSWAPDEV=2

config          kernel  root on wd0

controller      isa0
controller      eisa0

controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk            fd0     at fdc0 drive 0

options         "CMD640"        # work around CMD640 chip deficiency
controller      wdc0    at isa? port "IO_WD1" bio irq 14 vector wdintr
disk            wd0     at wdc0 drive 0
disk            wd1     at wdc0 drive 1
[...]

I really can't figure out what's wrong. I never used to have any problems
with swap before. Anybody got any clue? Any checklist I should go through?
Help me anyone? *puppy eyes* :-)

   /Mikael








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706230114.DAA00272>