*BSD News Article 18012


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!aardvark.ucs.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!clark!spool.mu.edu!uunet!nih-csl!helix.nih.gov!crtb
Newsgroups: comp.os.386bsd.questions
Subject: Re: Need help building kernel 
Message-ID: <1993Jul6.153334.21650@alw.nih.gov>
From: crtb@helix.nih.gov (Chuck Bacon)
Date: Tue, 6 Jul 1993 15:33:34 GMT
Sender: postman@alw.nih.gov (AMDS Postmaster)
References: <1993Jun14.194935.8760@alw.nih.gov> <741897764snz@awfulhak.demon.co.uk>
Organization: National Institutes of Health, Bethesda
Lines: 62

In article <741897764snz@awfulhak.demon.co.uk> Brian@awfulhak.demon.co.uk writes:
>In article <1993Jun14.194935.8760@alw.nih.gov> crtb@helix.nih.gov writes:
>
>>Sorry about the dumb question, but..  How do I rebuild the kernel?
>>
>>I have the bin08, etc08, and src08 distributions, which appear to
>>include some of the kernel sources (somewhere?).  I even found the
>>GENERICISA config file, and ran config to create my own.  It's when I
>>ran make, that I discovered I didn't have param.h.

When I posted this, I had gotten things in a rather bad state.  My 290 MB
(on 2 disks) was getting full, and I had made a lot of symlinks from one
files system to the other.  On the 4th of July 8-) I escaped from the heat
by deleting the etc stuff from my wd0, and reinstalling src01 onto /usr/src
rather than the former /mnt/usr/src.  Then I installed patchkit 0.2.3.
Everything worked.  But when I got ambitious and tried 0.2.4, I found that
many patches required stuff from the etc01 dist. also.

>>I found a param.h in the source tree at agate, and I presume that's the
>>one.  But how much of that source tree should I ftp?  And is there a
>>tarred version of it, so that I don't miss anything?
>>
>
>Perhaps I know the answer...
>
>I originally got 386BSD from a friend, patchkit included.  I also had the
>forsight to tape the bin01, etc01 and src01 archives.  Recently I decided
>to sort out which patch level I was at, so I removed /usr/src, reloaded
>from src01, and ran 'patches' from the 0.2.3 patch-kit.  It didn't work.
>
>After much confusion, I realized that a lot of (if not all) the src .h
>files are on the bin01 distribution......
>
>Is yours the same problem ??!?

Righto.  Seems you really need the bin01, src01 and etc01 on disk
simultaneously, or else you can't do the patchkits-- at least not 0.2.4.

Here are the numbers:
For bin+src+dir, 55874+73381+97796 blocks = 227051 blocks
In other words, you need 112 MB just to hold the three distributions,
assuming no MB needed for the cpio files.  Compressed, they ain't cheap
either.  But my two 98 MB partitions should be enough to hold them.
I reluctantly deleted Xfree386, since I'm not that advanced.  And I
still run out of space.

So what I really need is some guidance, given two 98MB partitions, how
to divide them up among these distributions, to have a system in which
the patches can all be applied.

>-- 
>Brian <brian@awfulhak.demon.co.uk>

Thanks for confirming what I had figured out.  I'll have to delete
everything in which I'm not interested, and try to lay things out cleanly.
Should fit.

		 Chuck Bacon - crtb@helix.nih.gov
		ABHOR SECRECY	-   DEFEND PRIVACY
--
	Chuck Bacon - crtb@helix.nih.gov ( alas, not my 3b1 )-:
		ABHOR SECRECY	-   DEFEND PRIVACY