linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Theodore Y. Ts'o" <tytso@mit.edu>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: AIAMUZZ <muzafsh.113@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: Magic Sysrq key option ... What is the option to record the boot logs to my hard disk before i issue a reboot command ?
Date: Mon, 19 Nov 2018 18:46:54 -0500	[thread overview]
Message-ID: <20181119234654.GD17374@thunk.org> (raw)
In-Reply-To: <e901d13d-68e7-c9be-96d6-9f49d3a44ceb@infradead.org>

On Mon, Nov 19, 2018 at 11:31:21AM -0800, Randy Dunlap wrote:
> 
> Yes, all of that.
> Having some kind of pstore on x86 would be wonderful.
> 
> kexec/kdump used to be an option also.  I haven't tried it lately.

Sure, but kexec/kdump won't work to debug a boot failure during early
boot.  You need to be able to get the root file system mounted at the
very least, and usually kexec/kdump doesn't get set up until the init
scripts are running.

Fortunately, usually only kernel developers need to debug early boot
failures, and most of us can usually use serial consoles (for those of
us who can't just cheat and use VM's.  :-)

       	     	  	    	       - Ted

  reply	other threads:[~2018-11-19 23:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-19 15:21 Magic Sysrq key option ... What is the option to record the boot logs to my hard disk before i issue a reboot command ? AIAMUZZ
2018-11-19 18:48 ` Theodore Y. Ts'o
2018-11-19 19:31   ` Randy Dunlap
2018-11-19 23:46     ` Theodore Y. Ts'o [this message]
2019-01-10 10:36   ` Pavel Machek

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=20181119234654.GD17374@thunk.org \
    --to=tytso@mit.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=muzafsh.113@gmail.com \
    --cc=rdunlap@infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).