Re: The policy on initramfs decompression failure

From: Ingo Molnar
Date: Wed Jan 14 2009 - 00:40:45 EST



* Alain Knaff <alain@xxxxxxxx> wrote:

> There is also the additional issue that continuing to boot might hide
> the original error message. [...]

I have hit this pointless panic during testing, that's the motivation for
this whole question. The initrd was unimportant in that bootup - but that
is generally true of bzImage bootups.

And your argument makes little sense: if there is something wrong then one
looks at the logs _anyway_. Are you suggesting that all warnings that
signal some potential badness should result in a panic? That is
nonsensical.

What you seem to be arguing for is to introduce a kernel option that says
"panic on warnings" - so that folks cannot miss warnings. _That_ would be
a fair argument.

Panics are rarely good, unless the user asks for it, period. We've been
flipping over BUG_ON()s to WARN_ON() everywhere where it matters in
practice.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/