lkml.org 
[lkml]   [2009]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: The policy on initramfs decompression failure

* Alain Knaff <alain@knaff.lu> 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


\
 
 \ /
  Last update: 2009-01-14 06:43    [W:0.063 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site