*BSD News Article 59351


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!usenet.eel.ufl.edu!col.hp.com!sdd.hp.com!news1.best.com!shellx.best.com!punk!windsor
From: windsor@hedgehog.com (Rob Windsor)
Newsgroups: comp.unix.bsd.misc
Subject: Re: NetBSD 1.1 upgrade questions
Date: Thu, 11 Jan 1996 02:22:40 PST
Organization: Hedgehog Consulting
Lines: 48
Message-ID: <1996Jan11.022240@punk>
References: <ktw.1s2k@tcsi.sol.net>
NNTP-Posting-Host: punk.hedgehog.com
To: ktw@tcsi.sol.net (K.T. Wieringa)

In article <ktw.1s2k@tcsi.sol.net>, ktw@tcsi.sol.net (K.T. Wieringa) writes:
> 
> Doing the 1.0 to 1.1 upgrade thing (i386) and have run into the following 
> snags:
> 
>  1) I haven't been able to get swapon (swapon -a) to recognize the second 
>     swap partition on sd1.  Keep getting a "device not configured" error. 
>     The sd1b and rsd1b block special devices are freshly created ("MAKEDEV 
>     all") in /dev.

Compile a new kernel.

The last time I tried, "options GENERIC" and "swap generic" didn't like you
specifying a second drive.  IMO, this is a bug, but I do not have the C-power
to fix the problem and send a patch (but I might work on it anyway).

Anyway, what you want in your kernel conf file is something like:

config          netbsd root on sd0 swap on sd0 and sd1
# options       GENERIC

Also, you probably need to specify sd1b in your /etc/fstab.

Here's what I have:

/dev/wd0a /          ffs  rw 1 1
/dev/wd0b none       swap sw 0 0
/dev/wd1b none       swap sw 0 0
/dev/wd0b /tmp       mfs  rw,-s64512
/dev/wd0e /var       ffs  rw 1 2
/dev/wd0f /usr       ffs  rw 1 3
/dev/wd1a /usr/X11R6 ffs  rw 1 4
/dev/wd1e /usr/local ffs  rw 1 5
/dev/wd1f /home      ffs  rw 1 6


As for your other two questions (XFree complaining about ioctl and
bi-directional serial patch), I don't know.  Sorry.

Enjoy.

-- Rob
----------------------------------------
Internet: windsor@pobox.com      Life: Rob@Sunnyvale.California.USA.Earth
"Da Web": http://pobox.com/~windsor/

"Ain't much distance 'tween a pat on the back and a kick in the pants."
    -- David Lee Roth (1990), `The Dogtown Shuffle'