mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: "Paul Rolland" <rol@as2917.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Recovering .config from vmlinuz and System.map
Date: Tue, 18 Feb 2003 09:01:03 -0800	[thread overview]
Message-ID: <20030218090103.01365887.rddunlap@osdl.org> (raw)
In-Reply-To: <012a01c2d75a$1d7b8d20$3f00a8c0@witbe>

On Tue, 18 Feb 2003 15:29:16 +0100
"Paul Rolland" <rol@as2917.net> wrote:

| I've a box running a linux 2.4.18-14 (RH stuff), for which I've lost
| the .config file...
| 
| I've gone through a long .config recovery process by looking at the
| entries in System.map, changing the configuration, building the kernel,
| diffing the new System.map with the reference one, again and again.
| 
| The diff process was done only on the symbol names and the last diff
| states :
| diff -urN System.map-9 System.map-2.4.18-sound | less
| --- System.map-9        Tue Feb 18 13:36:33 2003
| +++ System.map-2.4.18-sound     Tue Feb 18 09:47:47 2003
| @@ -10776,6 +10776,7 @@
|  d __setup_str_console_setup
|  d __setup_str_reserve_setup
|  d startup.0
| +d configs
|  d zone_balance_ratio
|  d zone_balance_min
|  d zone_balance_max
| 
| Could someone direct me to where is located this "configs" stuff
| that I can't find ?

I wrote an optional feature that stores kernel .config info inside
the 'vmlinux' file in an array named 'configs'.  I don't know if
it's included in your kernel or not.

Some patches for this in-kernel-config feature are available at
http://www.osdl.org/archive/rddunlap/patches/ikconfig/
and it's in Alan Cox's 2.4.-recent patches.

--
~Randy

  reply	other threads:[~2003-02-18 16:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-18 14:29 Paul Rolland
2003-02-18 17:01 ` Randy.Dunlap [this message]
2003-02-18 17:09   ` Paul Rolland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030218090103.01365887.rddunlap@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rol@as2917.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®