Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2005 17:54:50 -0800
From:      Jeff Smick <sprsquish@gmail.com>
To:        Kevin Oberman <oberman@es.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ATAPICAM Problem
Message-ID:  <669ac2d05031617544216b6d2@mail.gmail.com>
In-Reply-To: <20050316211259.0BEEC5D07@ptavv.es.net>
References:  <669ac2d050316073078b2e909@mail.gmail.com> <20050316211259.0BEEC5D07@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 16 Mar 2005 13:12:58 -0800, Kevin Oberman <oberman@es.net> wrote:
> > Date: Wed, 16 Mar 2005 07:30:14 -0800
> > From: Jeff Smick <sprsquish@gmail.com>
> > Sender: owner-freebsd-current@freebsd.org
> >
> > If there's an idiot of the week list you can put my name on top. I
> > went back to the handbook and realized I wasn't doing the very first
> > step (I did it the first time, but not after that). I forgot to run
> > 'config KERNEL' after setting new options. It works now.
> >
> > I sincerely appreciate all your efforts.
> 
> Jeff,
> 
> Please don't do this. There was just a case on stable@ (I think) where
> someone had hosed their system this way. It can be dangerous although it
> almost always works and it is needed in current in just one case:
> * If you have installed only the kernel source code
> 
> It is also safe when your sources have not changed since the last kernel
> build (which is likely the case for you), but it is NOT safe on current
> if the sources have been updated, so I tend to strongly discourage its
> use in all normal circumstances.
> 
> I would suggest:
> cd /usr/src
> make -DMODULES_WITH_WORLD kernel KERNCONF=config_file_name
> 
> This will only rebuild the kernel and not the modules, so it will be
> fast. It is also safe in all cases where full sources are present.
> --
> R. Kevin Oberman, Network Engineer
> Energy Sciences Network (ESnet)
> Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
> E-mail: oberman@es.net                  Phone: +1 510 486-8634
> 

Kevin,

Thank you for the tip. I only knew about the options presented in the
handbook on building a custom kernel and running "make buildkernel
KERNCONF=blah" gave me "make: don't know how to make buildkernel.
Stop"

Is there something I need to do to be able to use that tactic or
should I just stick with your suggestion?



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