• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

how to correctly build a custom kernel under FreeBSD 4.8

LuckyTaxi

Diamond Member
Under the SRC distribution, I only elected to install the following:

/usr/src
/usr/src/bin
/usr/src/sys

What else do I need under there to correctly build a custom kernel? I tried various tutorials and under /usr/src
I typed in 'make buildkernel KERNCONF=MYKERNEL'
and it tells me it doesnt know how to build.

Am I better off installing

base --> TOP-LEVEL files in /usr/src
 
Are you running a fresh off the cd install or have you cvs'uped so you're sure you have all the patches in your src? This http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html should walk you through it. A few points that might be worth checking /usr/src/sys/i386/conf/MYKERNEL exists right?

If you haven't cvsup'ed your src (which I strongly recommend...) did you follow the "traditional" sequence of config, make depend, make, make install?
 
Soybomb said it... does it even exist?

Although, the cvs portion is NOT what i would recommend for stability though... i have seen it do some crazy stuff...
 
Originally posted by: SnapIT
Soybomb said it... does it even exist?

Although, the cvs portion is NOT what i would recommend for stability though... i have seen it do some crazy stuff...

To each his own of course. I've seen service packs for windows do funny things, but its a risk that you've gotta' take to stay secure. Tracking head might be asking for problems but I'd definatley track the appropriate release brance for your version (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html). I personally track RELENG_4_7 and haven't had problems. If you track a development branch like head or RELENG_5 though its safe to expect it could result in problems. 🙂
 
So if I am running 4.8 I should stick with RELENG_4_8
And if I wanted to upgrade my system to the next version of BSD (stabled release obviously) I would do RELENG_5_X

it's safe to assume 5.0 is for development? Is 5.1 going to be the next MAJOR release?
 
So if I am running 4.8 I should stick with RELENG_4_8
And if I wanted to upgrade my system to the next version of BSD (stabled release obviously) I would do RELENG_5_X

it's safe to assume 5.0 is for development? Is 5.1 going to be the next MAJOR release?
 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html
Pick which ever tags reads the best for your situation. For a production box RELENG_4_8 would probably be a good bet. Read alot before jumping to a new version, you'll have to make some tweaks to your system to do so. The handbook covers this more too.

From Freebsd.org's front page:
New Technology Release: 5.0
Although FreeBSD 5.0 contains a number of new and exciting features, it may not be suitable for all users. More conservative users may prefer to continue using FreeBSD 4.X. Information on the various trade-offs involved, as well as some notes on future plans for both FreeBSD 4.X and 5.X, can be found in the Early Adopter's Guide, available here:

http://www.FreeBSD.org/releases/5.0R/early-adopter.html

Release information http://www.freebsd.org/releng/index.html
 
Originally posted by: Soybomb
Originally posted by: SnapIT
Soybomb said it... does it even exist?

Although, the cvs portion is NOT what i would recommend for stability though... i have seen it do some crazy stuff...

To each his own of course. I've seen service packs for windows do funny things, but its a risk that you've gotta' take to stay secure. Tracking head might be asking for problems but I'd definatley track the appropriate release brance for your version (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html). I personally track RELENG_4_7 and haven't had problems. If you track a development branch like head or RELENG_5 though its safe to expect it could result in problems. 🙂

Ehhh... well... of course... define instability "windows service packs" that goes without saying...

I use FreeBSD4.7 and 5... soooo... hrm... i haven't had any problems...
 
Back
Top