Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Dec 2015 20:00:24 -0600
From:      Brandon J. Wandersee <brandon.wandersee@gmail.com>
To:        kpneal@pobox.com
Cc:        Georgi Manov <lobo1@abv.bg>, freebsd-questions@freebsd.org
Subject:   Re: Kernel compile error
Message-ID:  <86si2zurif.fsf@WorkBox.Home>
In-Reply-To: <20151218201307.GB87773@neutralgood.org>
References:  <1171783145.1510695.1450455797069.JavaMail.apache@nm21.abv.bg> <20151218201307.GB87773@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help

kpneal@pobox.com writes:

> Try compiling GENERIC first. Then remove one or two options and
> recompile. Repeat until satisfied.

While I second the spirit behind this, there are some shortcuts you can
take. If you don't have a RAID controller on your machine, for example,
you can just delete the lines for all the RAID drivers. It's when you
get to more nebulous-yet-vital stuff like network and disk drivers that
you'll want to be more careful.

It's still not a bad idea to build the GENERIC kernel, then build your
custom, uniquely named kernel afterward. This way you at least have a
backup GENERIC kernel at the ready if something goes even more wrong
than expected. ;)

-- 
=================================================================
   		      :: Brandon Wandersee ::
                  :: brandon.wandersee@gmail.com ::
==================================================================
'A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete
fools.'
                            			- Douglas Adams
==================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86si2zurif.fsf>