linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Recovering .config from vmlinuz and System.map
@ 2003-02-18 14:29 Paul Rolland
  2003-02-18 17:01 ` Randy.Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Rolland @ 2003-02-18 14:29 UTC (permalink / raw)
  To: linux-kernel

Hello,

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 ?

Second question : the addresses in front of the symbols don't match
(except for the first ones)... I'm using the same kernel tree, the
same compiler... Any idea ? First diff is :
--- /usr/src/linux/System.map   Tue Feb 18 14:12:14 2003
+++ /boot/System.map-2.4.18-sound       Wed Nov 20 17:52:19 2002
@@ -441,244 +441,244 @@
 c010d380 T sys_modify_ldt
 c010d3de t .text.lock.ldt
 c010d400 t show_cpuinfo
-c010d5f0 t c_start
-c010d620 t c_next
-c010d640 t c_stop
...
+c010d5e0 t c_start
+c010d610 t c_next
+c010d630 t c_stop
...

Thanks in advance,

Paul



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Recovering .config from vmlinuz and System.map
  2003-02-18 14:29 Recovering .config from vmlinuz and System.map Paul Rolland
@ 2003-02-18 17:01 ` Randy.Dunlap
  2003-02-18 17:09   ` Paul Rolland
  0 siblings, 1 reply; 3+ messages in thread
From: Randy.Dunlap @ 2003-02-18 17:01 UTC (permalink / raw)
  To: Paul Rolland; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Recovering .config from vmlinuz and System.map
  2003-02-18 17:01 ` Randy.Dunlap
@ 2003-02-18 17:09   ` Paul Rolland
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Rolland @ 2003-02-18 17:09 UTC (permalink / raw)
  To: 'Randy.Dunlap'; +Cc: linux-kernel

Hello Randy,

Not sure if it's your patch that RH has included, but that was it,
the .config stuff in the kernel...

Thanks very much !

Regards,
Paul

Paul Rolland, rol@witbe.net
Witbe.net SA
Directeur Associe

--

Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un
navigateur

"Some people dream of success... while others wake up and work hard at
it"

> -----Original Message-----
> From: Randy.Dunlap [mailto:rddunlap@osdl.org] 
> Sent: Tuesday, February 18, 2003 6:01 PM
> To: Paul Rolland
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: Recovering .config from vmlinuz and System.map
> 
> 
> 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
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-18 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-18 14:29 Recovering .config from vmlinuz and System.map Paul Rolland
2003-02-18 17:01 ` Randy.Dunlap
2003-02-18 17:09   ` Paul Rolland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).