Re: [RFC][PATCH] introduce panic_gently

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

 



Bodo Eggert schrieb:
If the boot process failes to find init or the root fs, the cause has usually scrolled off the screen, and because of the panic, it can't be reached anymore.

This patch introduces panic_gently, which will allow to use the scrollback buffer and to reboot, but it can't be called from unsafe context.

In the case where you introduced panic_gently() there is IMHO no reason
to panic() at all. There is no bug which got hit, the machine just needs
user intervention because of wrong boot parameters (in most cases).

What about asking the user for the correct root= or init= parameters
and just retry/continue the boot process?

The 180seconds reboot timeout also doesn't make sense here. The problem
won't go away after a reboot without user interaction.

Regards,
--
Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany

http://www.anagramm-technology.com
Phone: +49-89-741518-50
Fax: +49-89-741518-19
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux