lkml.org 
[lkml]   [2002]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How to check the kernel compile options ?
On Wed, 13 Feb 2002, Richard B. Johnson wrote:

> On Wed, 13 Feb 2002, Bill Davidsen wrote:
>
> > On Wed, 13 Feb 2002, Richard B. Johnson wrote:
> >
> > > The advantage, of course is that if you are executing the kernel,
> > > it can give you all the information necessary to recreate a
> > > new one from the sources because its .config is embeded into
> > > itself. Once you have the ".config" file, you just do `make oldconfig`
> > > and you are home free.
> >
> > But it does no such thing! You not only need the config file, you need the
> > source. So you now need to add to the kernel the entire source tree from
> > which it was built, or perhaps just a diff file from a kernel.org source,
> > which you will suitably compress, of course.
>
> What the F..? You are outa your mind. The PURPOSE is to create a .config
> from which one can do a `make oldconfig` and get the same drivers,
> modules, etc., that you have in the running kernel.
>
> Of course you need a kernel source-code tree.

If you are going to build the same kernel you don't need *a* kernel source
code tree, you need the same kernel source code tree. Anyone who has
turned off an option because it had a bug in one kernel release will
assure you that config files for one kernel are not always safe or
functional on another.

I didn't think anyone would take that literally, I was making the point
that the config is "necessary but not sufficient" to borrow an engineering
term, and that the config is not the whole solution.

Did you build your mail reader with the sarcasm and hyperbole detector
option off?

--
bill davidsen <davidsen@tmr.com>
CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.093 / U:19.732 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site