-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 01 May 2004 09:56, you wrote: > Hi all, > > Does anyone know of a mechanism that will allow me to have a kernel > automatically reboot on panic? > > When remote upgrading a kernel, the most common problems have to do with > either initrd creation or some other form of not finding the root > partition. Once the root partition is mounted, it is very rare to have > any problems after that point. > > Now, LILO has this wonderful mechanism, where you can have a certain > kernel for your next boot, and a different kernel for all subsequent > reboots. This is great as you can do two commands before the crucial > reboot: lilo -D failsafe > lilo -R newkernel > > and the new kernel will boot once, and the failsafe kernel will boot the > rest of the times. This still leaves one problem - how do you recover if > the new kernel did not start properly? Today, I have to call the > co-location ISP, convince them that the machine is indeed down, and ask > them to reboot it. I then try to fix the problem, and reboot again, > which may cause the machine to hang again, and so on and so forth. > > What I'm looking for is a kernel command option (I can put it in > lilo.conf) that tells it "if you panic, just reboot". This will save me > the phone call in the middle, and yeild much more robust behaviour. > > Anyone know of such an option? > > Shachar
IIRC there's a kernel boot param which handles this (append in lilo), something like: panic=30 for 30secs timeout. - -- Meir Kriheli MKsoft systems http://www.mksoft.co.il -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAk6TlRkS5DWK1mZkRAqeBAJ9bu8W4yOuaz/GnrGKYTZfpFnQHvQCbBusG bNBvJK2AHY/Ab1h2VbdGVGc= =jySg -----END PGP SIGNATURE----- ================================================================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]