*BSD News Article 58739


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!spool.mu.edu!howland.reston.ans.net!swrinde!tank.news.pipex.net!pipex!news.mathworks.com!newsfeed.internetmci.com!in1.uu.net!panix!rek.tjls.com!rek.tjls.com!not-for-mail
From: tls@rek.tjls.com (Thor Lancelot Simon)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: NetBSD 1.1 upgrade questions
Date: 2 Jan 1996 15:36:53 -0500
Organization: Never!
Lines: 45
Message-ID: <4cc515$2jh@fearsome.tjls.com>
References: <4cc2tg$jrr@msunews.cl.msu.edu>
NNTP-Posting-Host: fearsome.tjls.com

In article <4cc2tg$jrr@msunews.cl.msu.edu>,
David W Wieringa <wieringa@cps.msu.edu> wrote:
>[ Article crossposted from comp.unix.bsd.misc ]
>[ Author was K.T. Wieringa ]
>[ Posted on Mon, 1 Jan 96 23:25:59 CST ]
>
>
>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.

I'm doing this, and it seems to work just fine.  Are you sure the machine's
seeing the partition table on sd1 correctly?  Are you using a strange kernel
configuration?

I don't know if the generic swap code handles two swap partitions correctly;
I could go look, but I'd guess it doesn't.  So you probably need a custom
kernel configuration to swap on two disks.  From comments below, it looks like
you're running one of the INSTALL kernels, which is probably the cause of a
number of your problems.  Those kernels are only meant to get you up and
running; you need to run one of the GENERIC kernels or build your own.

> 2) While I can load up XFree (3.1) ok, none of the xterms will load.
>    redirecting startx stderr to a file shows that I'm getting a "Error 
>    23,  errno 25: Inappropriate ioctl for device" message.  Again, all the 
>    ttyp*'s are there in /dev.

Are you sure you're not trying to use the INSTADP or INSTOTHER kernel?  Those
don't have option COMPAT_43 in them, so the old-style tty ioctls won't work,
which will make xterm lose because for some reason it doesn't use termios.

> 3) Brain Buhrow had a bi-directional serial patch I was using under 1.0.  
>    I notice the target source file (com.c) has moved in the source tree 
>    and it no longer "patches" cleanly with his old 1.0 patch file.  Does 
>    anyone know if there is an updated 1.1 patch available?

No idea, sorry.
-- 
Thor Lancelot Simon                                             tls@rek.tjls.com

   Where is the day that melted into one rich noise?          --Thomas Wolfe