From: Marc Milgram <mmilgram@redhat.com>
To: kexec@lists.infradead.org
Subject: Re: kexec on panic
Date: Wed, 15 Feb 2017 16:45:10 -0500 [thread overview]
Message-ID: <7455e38d-cdf8-df93-2d8d-027ebf744c51@redhat.com> (raw)
In-Reply-To: <864d8c8b-4573-9915-e164-aee5f1dd014b@clifhouck.com>
It is possible to boot into a new kernel as documented on the following
page:
https://access.redhat.com/discussions/682993
That said, even though this is documented on a Red Hat page, Red Hat
does not officially support it.
Marc
On 02/15/2017 12:29 PM, Clif Houck wrote:
> Is it possible to kexec on demand (not panic!) into another kernel with
> the idea being to avoid a reboot?
>
> For instance, say you had Linux running in a ramdisk, and all that
> ramdisk Linux did was lay down a bootable Linux image onto the main
> disk, and then awaited a command to kexec to the Linux image on disk? Is
> something like that possible? Would I still need to specially craft the
> initrd? If so, is there any literature available on how to do that?
>
> Thanks,
> Clif Houck
>
> On 2/10/2017 9:43 AM, Petr Tesarik wrote:
>> On Fri, 10 Feb 2017 10:14:02 +0200
>> Denys Fedoryshchenko <nuclearcat@nuclearcat.com> wrote:
>>
>>> Hello,
>>>
>>> After years of using kexec and recent unpleasant experience with modern
>>> (supposed to be blazing fast to boot) hardware that need 5-10 minutes
>>> just to pass POST tests,
>>> one question came up to me:
>>> Is it possible anyhow to execute regular (not special "panic" one to
>>> capture crash data) kexec on panic to reduce reboot time?
>>
>> No. But you can load a specially crafted panic initrd which kexec's
>> back to the production kernel.
>>
>> HTH,
>> Petr T
>>
>> _______________________________________________
>> kexec mailing list
>> kexec@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/kexec
>>
>
> _______________________________________________
> kexec mailing list
> kexec@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec
>
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next prev parent reply other threads:[~2017-02-15 21:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-10 8:14 kexec on panic Denys Fedoryshchenko
2017-02-10 15:43 ` Petr Tesarik
2017-02-15 17:29 ` Clif Houck
2017-02-15 21:45 ` Marc Milgram [this message]
2017-02-18 7:42 ` Jon Masters
2017-02-18 8:09 ` Denys Fedoryshchenko
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=7455e38d-cdf8-df93-2d8d-027ebf744c51@redhat.com \
--to=mmilgram@redhat.com \
--cc=kexec@lists.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