* Linux kernel crash dumps for ARM [not found] <EB1A7C66AD0C92419BFFC785A947865A09EA8C9129@BLRINMSMBX01.bglrodc.lntinfotech.com> @ 2010-01-05 4:51 ` Venkappa Mala 2010-01-05 5:20 ` Eric W. Biederman 1 sibling, 0 replies; 7+ messages in thread From: Venkappa Mala @ 2010-01-05 4:51 UTC (permalink / raw) To: linux-kernel@vger.kernel.org Hi, With respect to "Linux kernel crash dumps for ARM", i have some doubts which are described as below. If the machine has crashed so badly that you cannot enter commands or the disk is not available then you have three options :- (1) Hand copy the text from the screen (2) capture crash logs using Minicom. (3) save the crash data to a floppy disk or video rom or a swap partition or reserved memory. In the above three options, 1 & 2 are known and works as well. Regarding 3 option, ---------------------------- i would like to support for ARM11. As far as i know, the supported linux kernel crash dumps are "lkcd, netdump,diskdump, mini kernel dump and kdump/kexec". These are supported for x86 and PowerPC architectures with some constrains. i have some queries with respect to ARM supports, these are 1.) kexec is supported in latest kernels example: 2.6.29 kernel File: arch/arm/kernel/machine_kexec.c - is this working well or is there any constraints? 2) As per kexec supports, kexec-tool is required and this allows you to load directly to a new kernel from the currently running one As from my side, i am not able to find arm implementation support in kexec-tools/crash sources. - is kexce-tool supported for ARM or not? 3) In lkcd, netdump,diskdump, mini kernel dump and kdump/kexec tools, - which is the best choice for ARM or are there any best crash dump tool for ARM? Please clarify my queries. Best Regards, Venkappa This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. ______________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Linux kernel crash dumps for ARM [not found] <EB1A7C66AD0C92419BFFC785A947865A09EA8C9129@BLRINMSMBX01.bglrodc.lntinfotech.com> 2010-01-05 4:51 ` Linux kernel crash dumps for ARM Venkappa Mala @ 2010-01-05 5:20 ` Eric W. Biederman 2010-01-05 8:30 ` Bernhard Walle 2010-01-05 8:48 ` Paul Mundt 1 sibling, 2 replies; 7+ messages in thread From: Eric W. Biederman @ 2010-01-05 5:20 UTC (permalink / raw) To: Venkappa Mala; +Cc: rmk+lkml@arm.linux.org.uk, linux-kernel, Kexec Mailing List Venkappa Mala <Venkappa.Mala@lntinfotech.com> writes: I have added the kexec list and corrected the lkml addresses. In principle it should not be too hard to use kexec on panic support on arm. I don't do any arm development so I don't have a clue what the status of the support is on arm. > Hi, > > With respect to "Linux kernel crash dumps for ARM", i have some doubts which are described as below. > > If the machine has crashed so badly that you cannot enter commands or > the disk is not available then you have three options :- > > (1) Hand copy the text from the screen > > (2) capture crash logs using Minicom. > > (3) save the crash data to a floppy disk or video rom or a swap partition or reserved memory. > > In the above three options, 1 & 2 are known and works as well. > > Regarding 3 option, > ---------------------------- > i would like to support for ARM11. > > As far as i know, the supported linux kernel crash dumps are > "lkcd, netdump,diskdump, mini kernel dump and kdump/kexec". > These are supported for x86 and PowerPC architectures with some constrains. > > i have some queries with respect to ARM supports, these are > > 1.) kexec is supported in latest kernels > example: 2.6.29 kernel > File: arch/arm/kernel/machine_kexec.c > > - is this working well or is there any constraints? > > 2) As per kexec supports, kexec-tool is required and this allows you to load directly > to a new kernel from the currently running one > > As from my side, i am not able to find arm implementation support in kexec-tools/crash sources. > > - is kexce-tool supported for ARM or not? > > 3) In lkcd, netdump,diskdump, mini kernel dump and kdump/kexec tools, > > - which is the best choice for ARM or are there any best crash dump tool for ARM? > > Please clarify my queries. > > Best Regards, > Venkappa Eric ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Linux kernel crash dumps for ARM 2010-01-05 5:20 ` Eric W. Biederman @ 2010-01-05 8:30 ` Bernhard Walle 2010-01-05 8:48 ` Paul Mundt 1 sibling, 0 replies; 7+ messages in thread From: Bernhard Walle @ 2010-01-05 8:30 UTC (permalink / raw) To: Eric W. Biederman Cc: Venkappa Mala, rmk+lkml@arm.linux.org.uk, Kexec Mailing List, linux-kernel Am 05.01.2010 06:20, schrieb Eric W. Biederman: >> >> 3) In lkcd, netdump,diskdump, mini kernel dump and kdump/kexec tools, >> >> - which is the best choice for ARM or are there any best crash dump tool for ARM? LKCD is more or less dead (in favour of kdump) on any plattform. It doesn't work with recent kernels. Regards, Bernhard ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Linux kernel crash dumps for ARM 2010-01-05 5:20 ` Eric W. Biederman 2010-01-05 8:30 ` Bernhard Walle @ 2010-01-05 8:48 ` Paul Mundt 2010-01-05 9:16 ` Simon Horman 1 sibling, 1 reply; 7+ messages in thread From: Paul Mundt @ 2010-01-05 8:48 UTC (permalink / raw) To: Venkappa Mala Cc: Eric W. Biederman, rmk+lkml@arm.linux.org.uk, linux-kernel, Kexec Mailing List On Mon, Jan 04, 2010 at 09:20:23PM -0800, Eric W. Biederman wrote: > Venkappa Mala <Venkappa.Mala@lntinfotech.com> writes: > > > > 2) As per kexec supports, kexec-tool is required and this allows you to load directly > > to a new kernel from the currently running one > > > > As from my side, i am not able to find arm implementation support in kexec-tools/crash sources. > > > > - is kexce-tool supported for ARM or not? > > It would be rather counterintuitive for the kernel to support kexec and the necessary userspace components not to. The MAINTAINERS file says: KEXEC M: Eric Biederman <ebiederm@xmission.com> W: http://ftp.kernel.org/pub/linux/kernel/people/horms/kexec-tools/ L: kexec@lists.infradead.org S: Maintained F: include/linux/kexec.h F: kernel/kexec.c While the above URL redirects to gitweb, resulting in: http://git.kernel.org/?p=linux/kernel/git/horms/kexec-tools.git;a=summary A peripheral grep of the kexec-tools source results in: $ git grep kdump | grep arm kexec/arch/arm/kexec-arm.c: return 0; /* kdump is not supported on this platform (yet) */ So one could infer that kexec is supported on ARM whilst kdump is not. Adding crashdump support requires both some kernel and kexec-tools glue, but is fairly straightforward, just look at the other ports. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Linux kernel crash dumps for ARM 2010-01-05 8:48 ` Paul Mundt @ 2010-01-05 9:16 ` Simon Horman 2010-01-05 19:00 ` Russell King 0 siblings, 1 reply; 7+ messages in thread From: Simon Horman @ 2010-01-05 9:16 UTC (permalink / raw) To: Paul Mundt Cc: Venkappa Mala, Eric W. Biederman, rmk+lkml@arm.linux.org.uk, linux-kernel, Kexec Mailing List On Tue, Jan 05, 2010 at 05:48:51PM +0900, Paul Mundt wrote: > On Mon, Jan 04, 2010 at 09:20:23PM -0800, Eric W. Biederman wrote: > > Venkappa Mala <Venkappa.Mala@lntinfotech.com> writes: > > > > > > 2) As per kexec supports, kexec-tool is required and this allows you to load directly > > > to a new kernel from the currently running one > > > > > > As from my side, i am not able to find arm implementation support in kexec-tools/crash sources. > > > > > > - is kexce-tool supported for ARM or not? > > > > It would be rather counterintuitive for the kernel to support kexec and > the necessary userspace components not to. > > The MAINTAINERS file says: > > KEXEC > M: Eric Biederman <ebiederm@xmission.com> > W: http://ftp.kernel.org/pub/linux/kernel/people/horms/kexec-tools/ > L: kexec@lists.infradead.org > S: Maintained > F: include/linux/kexec.h > F: kernel/kexec.c > > While the above URL redirects to gitweb, resulting in: > > http://git.kernel.org/?p=linux/kernel/git/horms/kexec-tools.git;a=summary > > A peripheral grep of the kexec-tools source results in: > > $ git grep kdump | grep arm > kexec/arch/arm/kexec-arm.c: return 0; /* kdump is not supported on this platform (yet) */ > > So one could infer that kexec is supported on ARM whilst kdump is not. > Adding crashdump support requires both some kernel and kexec-tools glue, > but is fairly straightforward, just look at the other ports. To add to this, my understanding is that kexec support varies across different ARM platforms - that is to say, it works on some and fails on others. While this seems to be slowly improving, I'm also aware of any list of what is supported and what isn't. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Linux kernel crash dumps for ARM 2010-01-05 9:16 ` Simon Horman @ 2010-01-05 19:00 ` Russell King 2010-01-05 22:02 ` Simon Horman 0 siblings, 1 reply; 7+ messages in thread From: Russell King @ 2010-01-05 19:00 UTC (permalink / raw) To: Simon Horman Cc: Paul Mundt, Venkappa Mala, Eric W. Biederman, linux-kernel, Kexec Mailing List On Tue, Jan 05, 2010 at 08:16:28PM +1100, Simon Horman wrote: > To add to this, my understanding is that kexec support varies across > different ARM platforms - that is to say, it works on some and fails on > others. While this seems to be slowly improving, I'm also aware of any list > of what is supported and what isn't. I'm unaware of that; the only area of weakness with kexec that I'm aware of is when the ARMv7 processor support didn't implement the necessary code to bring the caches/mmu/tlbs into a safe state for software-reboot, which is also what's required by kexec. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Linux kernel crash dumps for ARM 2010-01-05 19:00 ` Russell King @ 2010-01-05 22:02 ` Simon Horman 0 siblings, 0 replies; 7+ messages in thread From: Simon Horman @ 2010-01-05 22:02 UTC (permalink / raw) To: Russell King Cc: linux-kernel, Paul Mundt, Kexec Mailing List, Venkappa Mala, Eric W. Biederman On Tue, Jan 05, 2010 at 07:00:47PM +0000, Russell King wrote: > On Tue, Jan 05, 2010 at 08:16:28PM +1100, Simon Horman wrote: > > To add to this, my understanding is that kexec support varies across > > different ARM platforms - that is to say, it works on some and fails on > > others. While this seems to be slowly improving, I'm also aware of any list > > of what is supported and what isn't. > > I'm unaware of that; the only area of weakness with kexec that I'm > aware of is when the ARMv7 processor support didn't implement the > necessary code to bring the caches/mmu/tlbs into a safe state for > software-reboot, which is also what's required by kexec. Ok, I could well be mistaken and its just ARMv7 that has a few issues at this time. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-01-05 22:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <EB1A7C66AD0C92419BFFC785A947865A09EA8C9129@BLRINMSMBX01.bglrodc.lntinfotech.com>
2010-01-05 4:51 ` Linux kernel crash dumps for ARM Venkappa Mala
2010-01-05 5:20 ` Eric W. Biederman
2010-01-05 8:30 ` Bernhard Walle
2010-01-05 8:48 ` Paul Mundt
2010-01-05 9:16 ` Simon Horman
2010-01-05 19:00 ` Russell King
2010-01-05 22:02 ` Simon Horman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox