* copy of /proc/vmcore
@ 2011-06-02 21:34 Yermandu Patapitafious
2011-06-14 8:07 ` WANG Cong
0 siblings, 1 reply; 2+ messages in thread
From: Yermandu Patapitafious @ 2011-06-02 21:34 UTC (permalink / raw)
To: kexec
[-- Attachment #1: Type: text/plain, Size: 588 bytes --]
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
I miss some step?
--
yermandu
[-- Attachment #2: oldmem.003 --]
[-- Type: application/octet-stream, Size: 4096 bytes --]
[-- Attachment #3: Type: text/plain, Size: 143 bytes --]
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: copy of /proc/vmcore
2011-06-02 21:34 copy of /proc/vmcore Yermandu Patapitafious
@ 2011-06-14 8:07 ` WANG Cong
0 siblings, 0 replies; 2+ messages in thread
From: WANG Cong @ 2011-06-14 8:07 UTC (permalink / raw)
To: kexec
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-14 8:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-02 21:34 copy of /proc/vmcore Yermandu Patapitafious
2011-06-14 8:07 ` WANG Cong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox