From: Makito SHIOKAWA <mshiokawa@miraclelinux.com>
To: Matthew McClintock <msm@freescale.com>
Cc: kexec@lists.infradead.org
Subject: Re: Can't kexec/kdump on mpc85xx
Date: Thu, 30 Sep 2010 19:20:39 +0900 [thread overview]
Message-ID: <4CA46477.80704@miraclelinux.com> (raw)
In-Reply-To: <1880BF7C-E151-401D-B20A-EC1113B92A6F@freescale.com>
(2010/09/30 0:58), Matthew McClintock wrote:
> There are some other patches I sent upstream after 2.6.35 that fix these issues...
I've missed your recent patches. After applying below patches to linux-2.6.35,
CONFIG_CRASH_DUMP, CONFIG_PROC_VMCORE were settable and second kernel booted
normally on "kexec -p".
* powerpc/kexec: Adds correct calling convention for kexec purgatory
* powerpc/85xx: kexec for SMP 85xx BookE systems
* powerpc/crashdump: Fix issues with kexec and 36bit physical addr
And at last, I could see /proc/vmcore!
---
# gdb /boot/vmlinux /proc/vmcore
GNU gdb Red Hat Linux (6.5-16rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "ppc-asianux-linux-gnu"...Using host libthread_db lib
rary "/lib/libthread_db.so.1".
warning: exec file is newer than core file.
#0 0xc01b8054 in sysrq_handle_crash (key=99, tty=0x0)
at drivers/char/sysrq.c:135
135 drivers/char/sysrq.c: No such file or directory.
in drivers/char/sysrq.c
(gdb) bt
#0 0xc01b8054 in sysrq_handle_crash (key=99, tty=0x0)
at drivers/char/sysrq.c:135
#1 0xc01b831c in __handle_sysrq (key=99, tty=0x0, check_mask=0)
at drivers/char/sysrq.c:523
#2 0xc01b847c in write_sysrq_trigger (file=<value optimized out>,
buf=<value optimized out>, count=2, ppos=0xc01bf3b0)
at drivers/char/sysrq.c:768
#3 0xc00f1cfc in proc_reg_write (file=0x63, buf=0x0, count=4294967295,
ppos=0xc01bf3b0) at fs/proc/inode.c:185
#4 0xc00a94e0 in vfs_write (file=0xdfb84400,
buf=0x48020000 <Address 0x48020000 out of bounds>,
count=<value optimized out>, pos=0xdfbbbf20) at fs/read_write.c:366
#5 0xc00a96bc in sys_write (fd=<value optimized out>,
buf=0x48020000 <Address 0x48020000 out of bounds>, count=2)
at fs/read_write.c:418
#6 0xc001059c in syscall_dotrace_cont ()
#7 0xc01b831c in __handle_sysrq (key=2, tty=0xfeb2ff4, check_mask=0)
at drivers/char/sysrq.c:523
#8 0x00000000 in ?? ()
---
After all, problem was only kexec-tools' cross compiling optimization issue.
Thanks a lot!
--
Makito SHIOKAWA <mshiokawa@miraclelinux.com>
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next prev parent reply other threads:[~2010-09-30 10:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-27 1:59 Can't kexec/kdump on mpc85xx Makito SHIOKAWA
2010-09-27 15:55 ` Matthew McClintock
2010-09-28 3:40 ` Makito SHIOKAWA
2010-09-28 15:47 ` Matthew McClintock
2010-09-29 8:38 ` Makito SHIOKAWA
2010-09-29 15:58 ` Matthew McClintock
2010-09-30 10:20 ` Makito SHIOKAWA [this message]
2010-09-30 16:03 ` Matthew McClintock
2010-10-01 3:15 ` Makito SHIOKAWA
2010-10-01 3:28 ` Matthew McClintock
2010-09-29 16:01 ` Matthew McClintock
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=4CA46477.80704@miraclelinux.com \
--to=mshiokawa@miraclelinux.com \
--cc=kexec@lists.infradead.org \
--cc=msm@freescale.com \
/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