Re: Seeking kernel params from an active running kernel.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 05, 2001 at 04:52:12PM +0300, Lior Kesos wrote:

> >you can't really do this at all.
> >
> I got that kind of response in the irc channel as well and I'm trying to 
> understand ,why it's impossible?

well as you point out yourself modules can't be determined via this method.
Basically there's no way you can tell from symbols or just the image
what source defines were used. 

> Even if I can somehow "parse" the live kernel in /boot/vmlinuz and 
> search for those traces.

In /theory/ you could match up specific
disassembled sections that indicate config debug or whatever but it would
be obviously ridiculously brittle.

> Anyway if you know of anyone that has gone on a similiar conquest and 
> failed I'd love to learn from their expeiance ...

furthermore I don't see the point in doing this at all. Just keep the config
file file around, cat it to the end of vmlinuz, add /proc/config.gz, whatever

john

-- 
"Do you mean to tell me that "The Prince" is not the set textbook for
CS1072 Professional Issues ? What on earth do you learn in that course ?"
	- David Lester
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux