*BSD News Article 57917


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!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!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: 3 Jan 1996 12:34:21 -0500
Organization: Never!
Lines: 94
Message-ID: <4ceemt$86v@fearsome.tjls.com>
References: <4cc2tg$jrr@msunews.cl.msu.edu> <4cc515$2jh@fearsome.tjls.com> <4ce8pn$44m@news.siemens.at>
NNTP-Posting-Host: fearsome.tjls.com

In article <4ce8pn$44m@news.siemens.at>,
Bernd Salbrechter <salb@pc2213.gud.siemens.co.at> wrote:
>Thor Lancelot Simon (tls@rek.tjls.com) wrote:
>: 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:
>
>I started also to upgrade from 1.0 to 1.1 and will make a custom kernel and
>have some questions on that.
>
>[stuff deleted]
>
>: 
>: 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.
>
>From the FAQ I know that I should add only things I realy need. The
>config-files, which come with the distribution document very good, which
>feature the enable in the kernel. But I have very little knowlage, which
>of the features I need for which application.
>
>Now the specific questions on the options:
>  1. Do I need the TCP_COMPAT_42, if I run XFree-3.1?

I don't believe so, but I don't think it hurts much to leave it in.

>  2. Can I savely remove the MFS (memory file system)?

Yes, certainly.  Remove all the filesystems you don't plan to use -- I'd leave
FDESC, FIFO, FFS, and the NFS options if you plan to use them.  NULLFS, UNION,
PORTAL, and the rest are either special-purpose (but useful!) or don't work
well, like LFS.  (Actually, I think right now LFS doesn't work at all.)

>  3. Is DDB (the in-kernel debuger) only usefull to develop kernel moduls?

Unless your machine crashes all the time and you think you'll need detailed
help from one of the NetBSD developers, I'd leave it out.  If you have DDB
in your kernel it'll drop to the debugger instead of rebooting if it crashes.

>  4. Should I switch on DIAGNOSTIC?

I don't use it; there's a slight speed penalty.  Again, if your machine is
acting weird or unreliable, leave it in -- elsewise you can probably do
without.

>and on the devices:
>  5. Should I remove additional devices of a type, if I have one of that type?
>     i.e. If I have only lpt0 should I remove lpt1 and lpt2?

Yes.  Definitely.

>  6. Should I replace the * ? lines whith line, which have the right value
>     there?

In general, ? or * mean that the device-driver automatically detects the
revelant values for that device.  There might be one or two bogus lines of
that type in the GENERIC kernel config; I seem to rember an incorrect 'bt2'
line.

>Till now I have succesfully installed all the NetBSD1.1 stuff and I am working
>on the custom kernel. The first build of the kernel failed because of
>undefined symbols when linking. I gusse that I should leave at least one
>enthernet card in the configuration or remove something more, which will my
>next steps in research, if I finde the time to continue :-).

If you got undefined symbols, you probably removed one of the "magic" options
like INET or DEVPAGER or VNODEPAGER.  There are only a few of those, and it's
confusing that they're "options", but you shouldn't remove them.  Off the top
of my head, options to not remove are probably INET, DEVPAGER, VNODEPAGER,
SWAPPAGER, MACHINE_NONCONTIG, FDESC, FIFO, and FFS -- and don't remove option
GENERIC unless you change the "swap generic" line to put swap on a specific
device or devices.

>Congatulations to the good work I am using NetBSD since Version 0.9 on a
>standalone PC whithout any serious problem and a release update evry year
>is quite ok, even I miss the posibility to format disks.

There are a jillion people to thank, some of whom we missed in the list in
the release.  Thank *you* for using NetBSD.

-- 
Thor Lancelot Simon                                             tls@rek.tjls.com

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