All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Fabio M. Di NItto" <fabbione@fabbione.net>
To: sparclinux@vger.kernel.org
Subject: Re: [PATCH] debug: allow to retain boot console via boot option keep_bootcon
Date: Tue, 11 Jan 2011 05:24:48 +0000	[thread overview]
Message-ID: <4D2BE9A0.7030607@fabbione.net> (raw)
In-Reply-To: <1294649883-31614-1-git-send-email-fabbione@fabbione.net>

On 01/10/2011 11:11 PM, David Miller wrote:
> From: "Fabio M. Di Nitto" <fabbione@fabbione.net>
> Date: Mon, 10 Jan 2011 09:58:03 +0100
> 
>> On some architectures, the boot process involves de-registering the boot
>> console (early boot), initialize drivers and then re-register the console.
>>
>> This mechanism introduces a window in which no printk can happen on the console
>> and messages are buffered and then printed once the new console is available.
>>
>> If a kernel crashes during this window, all it's left on the boot console
>> is "console [foo] enabled, bootconsole disabled" making debug of the crash
>> rather 'interesting'.
>>
>> By adding "keep_bootcon" option, do not unregister the boot console, that
>> will allow to printk everything that is happening up to the crash.
>>
>> The option is clearly meant only for debugging purposes as it introduces lots
>> of duplicated info printed on console, but will make bug report from users
>> easier as it doesn't require a kernel build just to figure out where we crash.
>>
>> Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
> 
> Acked-by: David S. Miller <davem@davemloft.net>

Thanks! David, is it an option for you to push it around together with
other sparc fixes or should I just submit it to kernel list? Either ways
work for me.

Fabio

  parent reply	other threads:[~2011-01-11  5:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-10  8:58 [PATCH] debug: allow to retain boot console via boot option keep_bootcon Fabio M. Di Nitto
2011-01-10 22:11 ` [PATCH] debug: allow to retain boot console via boot option David Miller
2011-01-11  5:24 ` Fabio M. Di NItto [this message]
2011-01-11  7:02 ` David Miller
2011-01-11  8:05 ` [PATCH] debug: allow to retain boot console via boot option keep_bootcon Fabio M. Di Nitto
  -- strict thread matches above, loose matches on Subject: below --
2011-01-11  8:57 Fabio M. Di Nitto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D2BE9A0.7030607@fabbione.net \
    --to=fabbione@fabbione.net \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.