Ira Abramov wrote:

Quoting Yedidyah Bar-David, from the post of Mon, 29 Nov:


I have a bzImage. It was built with 2.6.* kernel. I do not know the configuarion
( More rpecisely :I'm not sure I have the .config file it was built with ).


2.6 added the option to include this file in the kernel itself, as
/proc/config.gz. You might look there.



Didi... it's a chicken and egg thing, you see... to look in /proc under
that kernel, it has to be booted on a machine. we are talking about a
bzimage that is not yet running. if running it was an option the
question would not rise. in fact, if he reboots a remote server without
a watchdog, and the ext3 driver is not there, he doesn't need /proc to
find out as the kernel will panic and halt, which is a silly thing to do
on a remote machine.


Running a remote machine on a kernel you're not sure was compiled correctly, or what "correctly" stands for, is a silly thing.

Then again, if you're running a remote machine, add to the kernel's command line "panic=10". This will cause a reboot 10 seconds after a panic. You can then do the usual lilo -R trick to make sure you revert to a failsafe configuration in case of problems.

in other words, correct solution, but wrong answer :)


      Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting ltd.
http://www.lingnu.com/


================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to