From: WANG Cong <xiyou.wangcong@gmail.com>
To: kexec@lists.infradead.org
Subject: Re: copy of /proc/vmcore
Date: Tue, 14 Jun 2011 08:07:47 +0000 (UTC) [thread overview]
Message-ID: <it74si$5v4$1@dough.gmane.org> (raw)
In-Reply-To: BANLkTimWVOLxhAmEbm_AP1_4h2rP7-Zoyg@mail.gmail.com
On Thu, 02 Jun 2011 18:34:29 -0300, Yermandu Patapitafious wrote:
> Hello,
>
> The /proc/vmcore is not present before or after the crash
>
> I load the kernel from grub pass parameter: crashkernel=256M mem=2048M
> bootmem_debug
> and then kexec -p bzImage --append="root=/dev/sda5 maxcpus=1 irqpool
> reset_devices"
> so i send request : echo c > /proc/sysrq-trigger
>
> ok the kernel broken is loaded
>
> Now i have a question:
> The system is stopped and i receive the message: Switching back to
> console
>
> I assume that i need force reboot in this point, because system is
> freezed.
>
> i dont see the /proc/vmcore , /dev/oldmem contains few datas
Do you have CONFIG_PROC_VMCORE=y in your kernel config?
And after you enable it, did you see "elfcorehdr=X" is passed to your
second kernel?
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
prev parent reply other threads:[~2011-06-14 8:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-02 21:34 copy of /proc/vmcore Yermandu Patapitafious
2011-06-14 8:07 ` WANG Cong [this message]
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='it74si$5v4$1@dough.gmane.org' \
--to=xiyou.wangcong@gmail.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