Re: How to check the kernel compile options ?

From: Ben Greear (greearb@candelatech.com)
Date: Wed Feb 13 2002 - 17:17:38 EST


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.

Heh, if you want to exactly copy your existing kernel, just use the
'cp' command! Saving the config is more useful for those of us who
want to build a new kernel with new source that is *similar* to some
existing kernel. Also, when an interesting bug (ie panic) occurs,
we can extract the .config automagically and send it along with
the ksymoops decode to the maintainers. It's always easier to reproduce
the bug if you have the .config to the kernel that produced it.

Remember, you do not have to enable the feature.

Enjoy,
Ben

-- 
Ben Greear <greearb@candelatech.com>       <Ben_Greear AT excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear

- 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/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:57 EST