Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP
id AA5156 ; Tue, 22 Dec 92 07:00:19 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uunet!pilchuck!pugsley!bachesta
From: bachesta@pugsley.Data-IO.COM (Jim Bachesta)
Subject: swapping on a second drive.
Message-ID: <1992Dec18.171556.3158@data-io.com>
Sender: bachesta@pugsley (Jim Bachesta)
Organization: Data I/O Corporation
References: <BzE981.2An@watserv1.uwaterloo.ca>
Date: Fri, 18 Dec 1992 17:15:56 GMT
Lines: 38
This problem probably has been addressed on the net before, but I'm having
a problem getting my swap space to work on my second drive. I currently have
Two ESDI drives running with a wd1007 controller. The first drive is a
Micropolis 1355 (/dev/wd0x) and the second is a CDC Wren V (/dev/wd1x). I have
rebuilt my kernel defining the wd1 in the swap like this:
config "386bsd" root on wd0 swap on wd0 and wd1
I have checked the file swap386bsd.c in the compile directory and the
data struct. swdevt has been updated with the wd1b major and minor number.
It looks like this:
struct swdevt swdevt[] {
{ makedev(0,1), 0, 0 }, /* wd0b */
{ makedev(0,9), 0, 0 }, /* wd1b */
{0, 0, 0}
};
I also updated my /etc/fstab to define swapping on drive wd1b. The entry looks
like this:
/dev/wd1b none swap sw 0 0
The disklabel on the second drive (the CDC Wren V) has been partitioned. The
partion wd1b is defined to be a swap partition.
On boot up I get the following error:
swapon: /dev/wd1b: device not configured.
I also get this error when I do a "swapon -a" or a "swapon /dev/wd1b".
If you have any ideas please let me know. I appreciate any help in tracking
this problem down. Thanks in advance.
--
Jim Bachesta
Data I/O Corporation
bachesta@Data-IO.COM