*BSD News Article 3462


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!mips!mips!sdd.hp.com!wupost!uunet!email!news.univie.ac.at!news.tu-graz.ac.at!fstgds01!chmr
From: chmr@fstgds01.tu-graz.ac.at (Christoph Robitschko)
Subject: Re: Using Swap partition on 2nd drive?
Message-ID: <1992Aug9.070714.5380@news.tu-graz.ac.at>
Sender: news@news.tu-graz.ac.at (USENET News System)
Nntp-Posting-Host: fstgds01
Organization: Technical University of Graz, Austria
References: <1992Aug7.171205.10281@gumby.dsd.trw.com> <1992Aug7.181344.497@zip.eecs.umich.edu> <1992Aug7.202016.17333@coe.montana.edu> <BsnH56.6G2@obiwan.uucp> <1992Aug8.233253.3870@BitBlocks.COM>
Date: Sun, 9 Aug 92 07:07:14 GMT
Lines: 53

In article <1992Aug8.233253.3870@BitBlocks.COM> bvs@BitBlocks.COM (Bakul Shah) writes:
>bob@obiwan.uucp (Bob Willcox) writes:
>
>>swapon: /dev/wd1b: Device not configured
>
>>Can someone please tell me what I have failed to do or done wrong?
>>I am quite new to BSD systems and have run out of ideas.
>
Bob, I can verify that your configuration file and swap386bsd.c are right.

>I haven't used that patch so this is pure speculation but
>seems like the second disk was not found by the kernel.
>Look for a  startup message of the kind
>
>wd1 <...> at 0x1f0 irq 14 on isa
>
>If you don't see that the disk was not seen by the kernel.

My patch doesn't print 'wd1...', but rather something like
wd0 0:<....> 1:<....> at ...
	     ^^^^^^^^
>
>If the disk was seen, you may not have disklabel'ed it.
>Check by doing a 
>
>disklabel wd1
>
>If the disk was labelled, the above should succeed.
>
>One other possibility is that /dev/wd1b does not exist.
>/dev/MAKEDEV will make these special files for you if
>you do (as root and in the /dev directory)
>
>	MAKEDEV wd1
>
>or you can manually do
>
>	mknod /dev/wd1b b 0 9
>
If it *does* exist, check that the major & minor device numbers are correct
(0, 9). If it didn't exist, the error message would probably be
'No such file or directory'.

>If all of the above works *and* your swapon /dev/wd1b doesn't, 
>maybe the patch hasn't worked for you somehow.
>
All I can say is that it works perfectly for me. (With swap on both disks).

							Christoph
-- 
------------------------------------------------------------------------
Christoph M. Robitschko  | "the only man who got his work done by Friday
chmr@edvz.tu-graz.ac.at  |             was Robinson Crusoe."