*BSD News Article 13829


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!uunet!tinman2!tdphette
From: tdphette@mke.ab.com (Thad Phetteplace x4461)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Kernel building?
Date: 1 Apr 1993 15:14:38 GMT
Organization: Allen-Bradley Co.
Lines: 53
Message-ID: <1pf0suINNc2c@scarecrow.mke.ab.com>
References: <C4t7pL.7IF@nmrdc1.nmrdc.nnmc.navy.mil>
NNTP-Posting-Host: tinman.mke.ab.com
X-Newsreader: Tin 1.1 PL4

dsc3pzp@nmrdc1.nmrdc.nnmc.navy.mil (Philip Perucci) writes:
: 1st-time kernel compile...
: 
: 1) Install of bin01/src01/etc01 - no problem
: 2) Install patchkit 0.2.2       - no problem
: 3) config                       - PROBLEM
: 
: Is there a doc somewhere that explains kernel compiling a bit more
: than the instructions that come with patchkit 0.2.2? 
: 
: I had to do "config GENERICISA" to get config to work (doing make
: right now).  I created directory "MYCONFIG" in /sys/compile, and 
: tried "config MYCONFIG" ... no joy (file not found error).
: BTW- I did NOT do "rm -r /sys/compile/GENERICISA" before config ...
:      had a bad feeling about that.

Try this...

1) cd /sys/i386/conf
2) cp GENERICISA MYCONFIG

You can now edit MYCONFIG if you want, customizing it for your setup.
I added more PTYs to mine.

3) config MYCONFIG

Step 3 creates the compile/MYCONFIG directory for you.

4) cd /sys/compile/MYCONFIG
5) make depend
6) make

Now comes the fun part. testing the kernel.

7) cp /386bsd /386bsd.old

Step 7 is important.  You want a backup of a working kernel in case
the new one crashes.

8) cp 386bsd /386bsd
9) Sync the drives and reboot.

Hope this helps,

--
Thad Phetteplace
Network Systems Analyst, Allen-Bradley Co.
Phone: (414)382-4461
Email: tdphette@mke.ab.com

The opinions expressed here are entirely my own and not that of my employer.
I am not a slob, I am simply doing an experiment in domestic entropy!