I discovered the extract-ikconfig script in the scripts directory however
as you rightly pointed out it is not implemented in 2.4 kernels.
I ran it against my kernel 2.4.26 which gave no output (as the config file
had not been placed in the kernel).
My main issue is that module symbols will be generated differently when
config file is missing an option which is compiled into the kernel. I am
trying to compile in the mp-pppe module for a VPN connection. The kernel
is on a production system and recompiling the whole kernel without the
original config file is not an option. I reckon i will have to guess my
config until modules do not give module dependency failures when running
depmod against them.
Lesson always backup your .config file
At 22:04 11/08/04 +0100, Ronan Cunniffe wrote:
>On Wed, 11 Aug 2004, ger wrote:
>> > Hi all
> > Is there anyway to regenerate your kernel configuration from a running
> > kernel. ??
>>With 2.6.x, if so configured, the config is in /proc/config.gz
>>With 2.4.x, AFAIK, not easily. You could try running strings against
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!