Re: [PATCH] kexec: extend KCORE_ELF_HEADERS_SIZE again

2011-02-23 Thread Simon Horman
On Wed, Feb 23, 2011 at 10:31:41AM -0600, Cliff Wickman wrote: I thought that this patch was added to the kexec tree, but I don't find it in git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git So I'm submitting it again for your consideration. A customer machine has run over

Re: [PATCH v2] kexec-tools: Don't duplicate the bzImage header area

2011-02-09 Thread Simon Horman
On Wed, Feb 09, 2011 at 01:13:04PM +0200, Ahmed S. Darwish wrote: On Wed, Feb 09, 2011 at 07:15:45AM +0900, Simon Horman wrote: On Tue, Feb 08, 2011 at 05:20:36PM +0200, Ahmed S. Darwish wrote: diff --git a/kexec/arch/i386/kexec-bzImage.c b/kexec/arch/i386/kexec-bzImage.c index

Re: [PATCH] kexec-tools: Don't duplicate the bzImage header area

2011-02-08 Thread Simon Horman
On Tue, Feb 08, 2011 at 05:20:36PM +0200, Ahmed S. Darwish wrote: Hi, Don't wholeheartedly copy the 32-Kbytes bzImage header area to the stack, just use a constant pointer instead. Signed-off-by: Ahmed S. Darwish darwish...@gmail.com Hi Ahmed, this seems reasonable to me, I have a minor

Re: [PATCH v2 -next] Documentation: Improve crashkernel= description

2011-02-07 Thread Simon Horman
the existing documentation. Acked-by: Simon Horman ho...@verge.net.au --- diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 89835a4..5ad9980 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -545,9 +545,12

Re: [PATCH -next] Documentation: Improve crashkernel= description

2011-02-06 Thread Simon Horman
On Sun, Feb 06, 2011 at 05:41:08PM +0200, Ahmed S. Darwish wrote: (Also applicable over 2.6.38-rc3) Had to explore two C code files to make sense of the 'crashkernel=' kernel parameter values. Improve the situation. Signed-off-by: Ahmed S. Darwish darwish...@gmail.com --- diff --git

Re: [PATCH -next] Documentation: Improve crashkernel= description

2011-02-06 Thread Simon Horman
On Sun, Feb 06, 2011 at 08:25:20PM -0600, Rob Landley wrote: On 02/06/2011 03:57 PM, Simon Horman wrote: On Sun, Feb 06, 2011 at 05:41:08PM +0200, Ahmed S. Darwish wrote: (Also applicable over 2.6.38-rc3) Had to explore two C code files to make sense of the 'crashkernel=' kernel

Re: kexec fixes?

2010-12-21 Thread Simon Horman
On Fri, Dec 17, 2010 at 09:50:31AM +0900, Simon Horman wrote: On Thu, Dec 16, 2010 at 02:53:45PM -0800, Eric W. Biederman wrote: Simon did you ever get my last round of fixes for i386 after my other changes merged? I was testing them in my tree, and I was trying to be careful

Re: mips: elfinfo

2010-12-19 Thread Simon Horman
On Thu, Dec 16, 2010 at 06:33:25PM +0300, Maxim Uvarov wrote: 2010/12/16 Simon Horman ho...@verge.net.au: Hi Maxim, I noticed that your change Patch adds kernel data section to final vmcore. This forces gdb read kernel causes the build to break as it was applied after Eric's crashdump

Re: kexec fixes?

2010-12-16 Thread Simon Horman
On Thu, Dec 16, 2010 at 02:53:45PM -0800, Eric W. Biederman wrote: Simon did you ever get my last round of fixes for i386 after my other changes merged? I was testing them in my tree, and I was trying to be careful and not send you something bad. I completed my testing and but I forget

mips: elfinfo

2010-12-15 Thread Simon Horman
Hi Maxim, I noticed that your change Patch adds kernel data section to final vmcore. This forces gdb read kernel causes the build to break as it was applied after Eric's crashdump: Move kern_vaddr_start from kexec_info into crash_elf_info patch. I have it in mind to resolve this something along

[PATCH] kdump: update kexec-tools URL and Vivek's email

2010-11-24 Thread Simon Horman
Signed-off-by: Simon Horman ho...@verge.net.au --- Documentation/kdump/kdump.txt | 15 +-- 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt index cab61d8..7a9e0b4 100644 --- a/Documentation/kdump/kdump.txt

Re: [PATCH] kdump: update kexec-tools URL and Vivek's email

2010-11-24 Thread Simon Horman
[ repost with Andrew's correct email address ] On Thu, Nov 25, 2010 at 10:30:12AM +0900, Simon Horman wrote: Signed-off-by: Simon Horman ho...@verge.net.au --- Documentation/kdump/kdump.txt | 15 +-- 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Documentation

Re: [PATCH] Add kernel data section to final vmcore

2010-11-18 Thread Simon Horman
On Sat, Nov 13, 2010 at 01:25:19PM +0300, Maxim Uvarov wrote: From: Maxim Uvarov muva...@gmail.com Patch adds kernel data section to final vmcore. This forces gdb read kernel static data from dump instead of not initialized values from vmlinux. Thanks, applied

Re: [PATCH] kexec_load manpage

2010-10-31 Thread Simon Horman
On Sun, Oct 31, 2010 at 07:19:58AM +0100, Michael Kerrisk wrote: On Sat, Jun 19, 2010 at 9:45 PM, Andi Kleen a...@firstfloor.org wrote: On Sat, Jun 19, 2010 at 12:18:52PM -0700, Eric W. Biederman wrote: Andi Kleen a...@firstfloor.org writes: Here are the beginnings of a kexec_load

Re: [PATCH] - make /proc/vmcore accesable on x86_64

2010-10-30 Thread Simon Horman
On Fri, Oct 29, 2010 at 09:54:25AM +0200, Jiri Olsa wrote: On Thu, Oct 28, 2010 at 09:16:27PM +0900, Simon Horman wrote: On Fri, Oct 22, 2010 at 10:54:12AM +0200, Simon Horman wrote: On Tue, Oct 19, 2010 at 05:06:30PM +0200, Jiri Olsa wrote: SNIP My goal is to share data within

Re: [PATCH] kexec_load manpage

2010-10-29 Thread Simon Horman
On Thu, Oct 28, 2010 at 02:25:40PM +0200, Andi Kleen wrote: On Thu, Oct 28, 2010 at 09:14:17PM +0900, Simon Horman wrote: On Sun, Oct 24, 2010 at 11:38:02PM +0200, Andi Kleen wrote: On Sun, Oct 24, 2010 at 04:56:24PM +0200, Michael Kerrisk wrote: Hey Andi, I'd like to push

Re: [PATCH] kexec_load manpage

2010-10-28 Thread Simon Horman
On Sun, Oct 24, 2010 at 11:38:02PM +0200, Andi Kleen wrote: On Sun, Oct 24, 2010 at 04:56:24PM +0200, Michael Kerrisk wrote: Hey Andi, I'd like to push this page out the door, but I'm blocked doing so until I hear back from you regarding the question below (plus a new version of the

Re: [PATCH,RFC] - make /proc/vmcore accesable on x86_64

2010-10-28 Thread Simon Horman
On Fri, Oct 22, 2010 at 10:54:12AM +0200, Simon Horman wrote: On Tue, Oct 19, 2010 at 05:06:30PM +0200, Jiri Olsa wrote: hi, I was playing around with preserve context feature on x86_64 and was not able to get the /proc/vmcore in the kexec-ed kernel until I aplied attached patch

Re: [PATCH,RFC] - make /proc/vmcore accesable on x86_64

2010-10-22 Thread Simon Horman
On Tue, Oct 19, 2010 at 05:06:30PM +0200, Jiri Olsa wrote: hi, I was playing around with preserve context feature on x86_64 and was not able to get the /proc/vmcore in the kexec-ed kernel until I aplied attached patch. I'm not at all sure this is right fix ;) but it seems that

Re: [PATCH] pci: add quirk for non-symmetric-mode irq routing to versions 0 and 4 of the MCP55 northbridge

2010-09-21 Thread Simon Horman
systems. Signed-off-by: Neil Horman nhor...@tuxdriver.com FWIW, Acked-by: Simon Horman ho...@verge.net.au ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec

Re: [PATCH 1/2] Revert powerpc new toolchains fix (crt.S)

2010-09-13 Thread Simon Horman
On Mon, Sep 13, 2010 at 04:11:06PM +0400, Maxim Uvarov wrote: 2010/9/9 Simon Horman ho...@verge.net.au: On Tue, Sep 07, 2010 at 07:10:25PM +0400, Maxim Uvarov wrote: This reverts commit 45e8f29639d9f97b74389e5bd28c7a5cccbf3e2a. purgatory/arch/ppc/crt.S and purgatory/arch/ppc/misc.S

Re: [GIT PULL] Please pull x86 biarch crashdump support and misc devel

2010-09-09 Thread Simon Horman
On Wed, Sep 08, 2010 at 10:59:33PM -0700, Eric W. Biederman wrote: Simon Horman ho...@verge.net.au writes: I'd rather edit the patch to avoid breaking bisection. Is that ok with you? No real problem, and my patchset is just intrusive enough someone might care and try and bisect

Re: [PATCH 1/2] Revert powerpc new toolchains fix (crt.S)

2010-09-09 Thread Simon Horman
On Tue, Sep 07, 2010 at 07:10:25PM +0400, Maxim Uvarov wrote: This reverts commit 45e8f29639d9f97b74389e5bd28c7a5cccbf3e2a. purgatory/arch/ppc/crt.S and purgatory/arch/ppc/misc.S are the same files. Thanks, applied both patches. ___ kexec mailing

Re: [PATCH] ppc64: increase TREEWORDS value in ppc64

2010-09-09 Thread Simon Horman
[ Repost with correct kexec ML address ] [ CCed linuxppc-dev ] On Thu, Sep 09, 2010 at 04:27:11PM -0400, Neil Horman wrote: hey- Got a segfault recently on ppc64 kexec with a system with 256Gb of ram. Tracked it back to running over the end of the device tree buffer that we have

Re: [PATCH] mips/crashdump put cmdline after the latest segment

2010-09-05 Thread Simon Horman
On Fri, Sep 03, 2010 at 05:06:32PM +0400, Maxim Uvarov wrote: From: Maxim Uvarov muva...@gmail.com Move cmdline from just after .bss segment to the just after the latest segment to avoid segments overlap while loading crashdump kernel. (new mips vmlinux has additional segments after .bss).

Re: [PATCH] kexec: extend KCORE_ELF_HEADERS_SIZE for large memory

2010-08-23 Thread Simon Horman
On Mon, Aug 23, 2010 at 04:18:05PM -0500, Cliff Wickman wrote: A customer has seen the kexec command exhaust its buffer for the ELF headers from /proc/kcore. It found 147 program headers, which requires a buffer of over 8k. (This overflow was on an SGI UV with an extremely large memory,

Re: [PATCH v2 0/3] Misc. bug fixes for ppc32

2010-08-20 Thread Simon Horman
On Wed, Aug 18, 2010 at 11:56:48PM -0500, Matthew McClintock wrote: This patch series fixes a few issues I have discovered with my previous patch series. Nothing new has been added. Thanks, all applied. ___ kexec mailing list

[patch] MAINTAINERS: kexec-tools has moved

2010-08-18 Thread Simon Horman
Kexec tools has been moved to http://kernel.org/pub/linux/utils/kernel/kexec/ as user-space code shouldn't be in /pub/linux/kernel Signed-off-by: Simon Horman ho...@verge.net.au Acked-by: Eric W. Biederman ebied...@xmission.com --- Andrew, can you push this? Index: linux-2.6/MAINTAINERS

Re: [Resend][Patch v2] kexec: increase max of kexec segments and use dynamic allocation

2010-08-13 Thread Simon Horman
is reasonably large. And change -segment from a static array to a dynamically allocated memory. FWIW, this looks good to me. Reviewed-by: Simon Horman ho...@verge.net.au Cc: Neil Horman nhor...@redhat.com Cc: Vivek Goyal vgo...@redhat.com Cc: huang ying huang.ying.cari...@gmail.com Cc

Re: [patch] MAINTAINERS: kexec-tools has moved

2010-08-06 Thread Simon Horman
On Thu, Jul 29, 2010 at 01:16:41PM +0900, Simon Horman wrote: Kexec tools has been moved to http://kernel.org/pub/linux/utils/kernel/kexec/ as user-space code shouldn't be in /pub/linux/kernel Signed-off-by: Simon Horman ho...@verge.net.au Eric, ping. What is your preferred path

Re: [patch] MAINTAINERS: kexec-tools has moved

2010-08-06 Thread Simon Horman
On Fri, Aug 06, 2010 at 04:33:22PM -0700, H. Peter Anvin wrote: On 08/06/2010 04:32 PM, Simon Horman wrote: On Thu, Jul 29, 2010 at 01:16:41PM +0900, Simon Horman wrote: Kexec tools has been moved to http://kernel.org/pub/linux/utils/kernel/kexec/ as user-space code shouldn't be in /pub

Re: [patch] MAINTAINERS: kexec-tools has moved

2010-08-06 Thread Simon Horman
On Fri, Aug 06, 2010 at 05:45:50PM -0700, Eric W. Biederman wrote: H. Peter Anvin h...@zytor.com writes: On 08/06/2010 04:32 PM, Simon Horman wrote: On Thu, Jul 29, 2010 at 01:16:41PM +0900, Simon Horman wrote: Kexec tools has been moved to http://kernel.org/pub/linux/utils/kernel

Re: [rfc] Merge kexec-tools into the kernel tree

2010-08-05 Thread Simon Horman
On Wed, Aug 04, 2010 at 04:06:48PM +0900, Simon Horman wrote: Hi, After all the excitement of relocating kexec-tools from one location on kernel.org to another last week it was suggested to me by Michael Neuling that the merging kexec-tools into the kernel tree would be a good idea

[rfc] Merge kexec-tools into the kernel tree

2010-08-04 Thread Simon Horman
Hi, After all the excitement of relocating kexec-tools from one location on kernel.org to another last week it was suggested to me by Michael Neuling that the merging kexec-tools into the kernel tree would be a good idea. Given that there have been a bunch of issues with kexec on power that this

Re: [PATCH] kexec: set prstatus.pr_pid to cpu id when current-pid is 0

2010-08-03 Thread Simon Horman
On Tue, Aug 03, 2010 at 01:15:04AM -0700, Eric W. Biederman wrote: Hui Zhu teawa...@gmail.com writes: On Tue, Aug 3, 2010 at 15:37, Eric W. Biederman ebied...@xmission.com wrote: Hui Zhu teawa...@gmail.com writes: Equal 0 is not a bug, the trouble is a lot of core's pid is same.

Re: [PATCH v3 7/7] Add documentation/howto for mpc85xx systems

2010-07-29 Thread Simon Horman
On Tue, Jul 20, 2010 at 11:43:04PM -0500, Matthew McClintock wrote: Signed-off-by: Matthew McClintock m...@freescale.com Thanks, applied after removing trailing whitespace. ___ kexec mailing list kexec@lists.infradead.org

Re: [PATCH v2 5/7] Add support for ramdisk on ppc32 for uImage-ppc and Elf-ppc

2010-07-29 Thread Simon Horman
On Tue, Jul 20, 2010 at 03:14:58PM -0500, Matthew McClintock wrote: This fixes --reuseinitrd and --ramdisk option for ppc32 on uImage-ppc and Elf. It works for normal kexec as well as for kdump. When using --reuseinitrd you need to specifify retain_initrd on the command line. Also, if you

Re: [PATCH v3 7/7] Add documentation/howto for mpc85xx systems

2010-07-29 Thread Simon Horman
On Thu, Jul 29, 2010 at 05:31:49PM +0900, Simon Horman wrote: On Tue, Jul 20, 2010 at 11:43:04PM -0500, Matthew McClintock wrote: Signed-off-by: Matthew McClintock m...@freescale.com Thanks, applied after removing trailing whitespace. Actually, scratch that, I've run into a few minor

Re: [PATCH v3 7/7] Add documentation/howto for mpc85xx systems

2010-07-29 Thread Simon Horman
On Thu, Jul 29, 2010 at 05:50:35PM +0900, Simon Horman wrote: On Thu, Jul 29, 2010 at 05:31:49PM +0900, Simon Horman wrote: On Tue, Jul 20, 2010 at 11:43:04PM -0500, Matthew McClintock wrote: Signed-off-by: Matthew McClintock m...@freescale.com Thanks, applied after removing trailing

Re: [PATCH v3 4/7] Update Elf-ppc to support crash kernel and misc fixes

2010-07-29 Thread Simon Horman
On Tue, Jul 20, 2010 at 11:43:01PM -0500, Matthew McClintock wrote: Use current command line if none given, specifically useful for when arguments are added causing the use of the current cmdline to not occur We also try to load the dtb above the kernel, this is useful for relocatable

Re: [PATCH v3 0/7] Fixup booting with device trees and uImage/elf on ppc32

2010-07-29 Thread Simon Horman
On Mon, Jul 26, 2010 at 11:22:58PM -0500, Matthew McClintock wrote: On Jul 26, 2010, at 9:55 PM, Simon Horman wrote: [Cced linuxppc-dev] On Tue, Jul 20, 2010 at 11:42:57PM -0500, Matthew McClintock wrote: This patch series adds full support for booting with a flat device tree

Re: [ANNOUNCE] kexec-tools 2.0.2

2010-07-29 Thread Simon Horman
On Thu, Jul 29, 2010 at 01:18:50PM -0600, Khalid Aziz wrote: Simon, Could you fix the permissions on the tar files. Trying to download http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.2.tar.gz results in Forbidden You don't have permission to access

Re: [PATCH v2] powerpc/kexec: Fix orphaned offline CPUs across kexec

2010-07-29 Thread Simon Horman
On Fri, Jul 30, 2010 at 01:15:14PM +1000, Michael Neuling wrote: (adding kexec list to CC) In message 4c521fd2.4050...@ozlabs.org you wrote: Michael Neuling wrote: In message 4c511216.30...@ozlabs.org you wrote: When CPU hotplug is used, some CPUs may be offline at the time a kexec is

[patch] MAINTAINERS: kexec-tools has moved

2010-07-28 Thread Simon Horman
Kexec tools has been moved to http://kernel.org/pub/linux/utils/kernel/kexec/ as user-space code shouldn't be in /pub/linux/kernel Signed-off-by: Simon Horman ho...@verge.net.au Index: linux-2.6/MAINTAINERS === --- linux-2.6.orig

[announce] kexec-tools has moved

2010-07-28 Thread Simon Horman
Hi, as user-space code isn't supposed to live in kernel.org/pub/linux/kernel/ or kernel.org/pub/scm/linux/kernel/, effective immediately kexec-tools has moved to: Download: http://kernel.org/pub/linux/utils/kernel/kexec/ Git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git

Re: [PATCH v3 0/7] Fixup booting with device trees and uImage/elf on ppc32

2010-07-26 Thread Simon Horman
[Cced linuxppc-dev] On Tue, Jul 20, 2010 at 11:42:57PM -0500, Matthew McClintock wrote: This patch series adds full support for booting with a flat device tree with either uImage or elf file formats. Kexec and Kdump should work, and you should also be able to use ramdisks or reuse your current

Re: [PATCH v3 0/7] Fixup booting with device trees and uImage/elf on ppc32

2010-07-21 Thread Simon Horman
On Wed, Jul 21, 2010 at 10:05:18AM +0200, Sebastian Andrzej Siewior wrote: * Matthew McClintock | 2010-07-20 23:42:57 [-0500]: This patch series adds full support for booting with a flat device tree with either uImage or elf file formats. Kexec and Kdump should work, and you should also be

Re: [PATCH v3 0/7] Fixup booting with device trees and uImage/elf on ppc32

2010-07-21 Thread Simon Horman
On Wed, Jul 21, 2010 at 09:54:59AM -0500, Matthew McClintock wrote: On Jul 21, 2010, at 8:09 AM, Simon Horman wrote: On Wed, Jul 21, 2010 at 10:05:18AM +0200, Sebastian Andrzej Siewior wrote: * Matthew McClintock | 2010-07-20 23:42:57 [-0500]: This patch series adds full support

Re: kexec for powerpc mpc83xx processors

2010-07-16 Thread Simon Horman
On Fri, Jul 16, 2010 at 11:42:32AM +0530, krish wrote: Thanks for the announcement of new release. I have successfully compiled for mpc83xx, but execution was failed with following message Symbol: mem_size found cannot set. The root cause behind it was that pul_stack and mem_size symbols

Re: [PATCH] kexec: export kexec.h to userspace

2010-07-16 Thread Simon Horman
On Sun, Jun 20, 2010 at 11:23:34AM +0200, Andi Kleen wrote: Can we please do this the other way around and create a kexec_user.h? Having a an xxx_user.h is a pattern we already have in the kernel. I can't find a signle _kernel.h If you do that you have to change the man page. Or

Re: Kexec Reboot Network Issue

2010-07-16 Thread Simon Horman
[ CCed Michael Chan, Matt Carlson and Netdev ] On Thu, Jul 15, 2010 at 11:35:43AM -0400, Richard Genthner wrote: On 07/15/2010 10:20 AM, Simon Horman wrote: On Thu, Jul 15, 2010 at 07:59:07AM -0400, Richard Genthner wrote: I'm currently using the following string: kexex --type=elf-x86_64

Re: Kexec Reboot Network Issue

2010-07-15 Thread Simon Horman
On Thu, Jul 15, 2010 at 07:59:07AM -0400, Richard Genthner wrote: I'm currently using the following string: kexex --type=elf-x86_64 --args-linux -l /boot/vmlinuz-2.6.18-12.el5 --initrid=/boot/initrd-2.6.18-128.el6.img --append=`cat /proc/cmdline` kexec -e Some times we can get to the box

Re: [PATCH] Fix case where phys_addr_t != unsigned long when reading proc entries

2010-07-14 Thread Simon Horman
On Wed, Jul 14, 2010 at 10:39:18AM -0500, Matthew McClintock wrote: On Wed, 2010-07-14 at 10:32 -0500, Matthew McClintock wrote: On some actitectures the physical memory can be 64 bits, therefore the code that reads proc entries needs to take into account it could read either a 32 bit or

Re: [PATCH] Fix case where phys_addr_t != unsigned long when reading proc entries

2010-07-14 Thread Simon Horman
On Wed, Jul 14, 2010 at 11:22:45PM -0500, Matthew McClintock wrote: On Thu, 2010-07-15 at 12:07 +0900, Simon Horman wrote: The list below is sufficient, but could you cc the patches to linuxppc-...@lists.ozlabs.org? Yes of course, I'm also trying to find some people to review/test

Re: kexec -l could not find a free area of memory locate_hole failed

2010-07-13 Thread Simon Horman
On Mon, Jul 12, 2010 at 11:31:50PM +, Brian Cockrell wrote: I received the message Could not find a free area of memory of 21b1a000 bytes...Locate_hole failed while attempting to perform a kexec-l on an image file of approximately 550mb. Hardware is x86 with 4GB memory. Kernel is

Re: kexec for powerpc mpc83xx processors

2010-07-12 Thread Simon Horman
://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/testing/kexec-tools-2.0.2-rc2.tar.gz From 04b22ab9dda7e73064c9b20cf08308473a7b0951 Mon Sep 17 00:00:00 2001 From: Simon Horman ho...@verge.net.au Date: Tue, 13 Jul 2010 11:32:16 +0900 Subject: [PATCH] build: Include missing files in tarball

Re: kexec for powerpc mpc85xx processors

2010-07-10 Thread Simon Horman
On Sat, Jul 10, 2010 at 10:14:25AM +0530, krish wrote: Hi, I am using linux-2.6.34.1 version for both mpc83xx and mpc85xx processors. This version of kernel supports kexec for both 83xx and 85xx processors. I have been using ELDK toolchain for PowerPC processors. I am using u-boot as boot

Re: kexec for powerpc mpc85xx processors

2010-07-09 Thread Simon Horman
On Fri, Jul 09, 2010 at 01:28:18AM -0500, Matthew McClintock wrote: On Fri, 2010-07-09 at 11:39 +0530, krish wrote: Hi, Is kexec-tools support powerpc mpc85xx processors. If so, please help me to compile the package for powerpc processors. Some work has been done recently on the

Re: [PATCH] kexec: Unusable memory range type

2010-06-17 Thread Simon Horman
On Thu, Jun 17, 2010 at 11:37:06AM -0500, Cliff Wickman wrote: On SGI UV (x86_64) kexec grumbles about 'Unusable memory' ranges: Unknown type (%s) while parsing %s. Please report this as bug. Using RANGE_RESERVED now. uv44-sys:~ # cat /proc/iomem -0fff : System RAM

Re: [PATCH] kexec: extend for large cpu count and memory

2010-06-16 Thread Simon Horman
On Wed, Jun 16, 2010 at 08:36:09AM -0500, Cliff Wickman wrote: Simon, per your reply to my first version Could you provide a diff against the current git tree? done In particular, I think that the temp_region fiddling has already been done. dropped from this patch The

Re: [PATCH] kexec: extend for large cpu count and memory

2010-06-15 Thread Simon Horman
Hi Cliff, On Tue, Jun 15, 2010 at 02:49:19PM -0500, Cliff Wickman wrote: The MAX_MEMORY_RANGES of 64 is too small for a very large NUMA machine. (A 512 processor SGI UV, for example.) Gentlemen, You may judge increasing MAX_MEMORY_RANGES to 1024 may be excessive and I will not argue

Re: [PATCH] Restore kexec uImage-ppc to working state

2010-06-15 Thread Simon Horman
CCed linuxppc-dev to fish for an ack. On Mon, Jun 14, 2010 at 02:38:42PM -0500, Matthew McClintock wrote: Booting with uImage-ppc was broken by previous work, this patch should restore it to working order Signed-off-by: Matthew McClintock m...@freescale.com --- kexec/arch/ppc/kexec-ppc.c

Re: kexec fail on ia64 platform

2010-06-11 Thread Simon Horman
On Fri, Jun 11, 2010 at 02:31:42PM +0800, 周雄 wrote: Hi, kexec-tools version 2.0.1 works well on my machine. thanks very much. kernel version still 2.6.28.10. :) but under in the file kexec-tools-2.0.1/News, i dont see any changes. I'm interested in it , where can i find this

Re: kexec fail on ia64 platform

2010-06-09 Thread Simon Horman
On Wed, Jun 09, 2010 at 02:33:14PM +0800, 周雄 wrote: hello everyone, sorry to bother you. I have a problem with kexec tools. when i use it on a ia64 machine, it does't work. situation 1 : after executing kexec -l *** and kexec -e , many cpu # is now offline printed out,

Re: [PATCH] Fix Oops in crash_shrink_memory

2010-06-08 Thread Simon Horman
On Tue, Jun 08, 2010 at 03:11:47PM +0530, Pavan Naregundi wrote: On Tue, 2010-06-08 at 16:54 +0800, Américo Wang wrote: On Tue, Jun 08, 2010 at 02:10:05PM +0530, Pavan Naregundi wrote: On Tue, 2010-06-08 at 15:59 +0800, Américo Wang wrote: On Tue, Jun 08, 2010 at 12:37:37PM +0530, Pavan

Re: [PATCH 3/7] powerpc32: pull in libfdt

2010-05-21 Thread Simon Horman
On Wed, Apr 21, 2010 at 04:13:58PM +0200, Sebastian Andrzej Siewior wrote: * Simon Horman | 2010-04-07 09:40:44 [+1000]: Done :-) I kinda forgot: What is the status on fixing the signed/unsigned things in here? Am I looking after it or did you want to push some patches first? I

Re: [patch] ppc: Fix gamecube build

2010-05-18 Thread Simon Horman
On Fri, May 14, 2010 at 12:25:19AM +0900, Simon Horman wrote: This fixes the kexec-build on ppc32 when the --game-cube option is supplied to ./configure. It seems to have bit-rotted a little. Cc: Sebastian Andrzej Siewior sebast...@breakpoint.cc Cc: Maxim Uvarov muva...@gmail.com Signed

Re: [PATCH v2] kexec-tools: Fix option/argument parsing

2010-05-18 Thread Simon Horman
On Fri, May 14, 2010 at 02:15:09PM +1000, Matt Evans wrote: Hi, v2 changes: - Fixed ARM's multiline KEXEC_ALL_OPTIONS #define - Removed opterr=0 from main()'s getopts_long() scan, and handle unknown options in main() (as it now knows about all allowed opts). Previously it relied on

Re: [PATCH v2 0/2] kexec-tools: ARM kernel crashdump support

2010-05-18 Thread Simon Horman
On Wed, May 05, 2010 at 09:58:31AM +0300, Mika Westerberg wrote: Hello, These patches bring ARM kernel crashdump support for kexec-tools. Only zImage format is currently supported. Changes to v1: - removed virtual address calculation based on phys_offset and moved this to a

Re: [PATCH v2] kexec-tools: Fix option/argument parsing

2010-05-18 Thread Simon Horman
On Wed, May 19, 2010 at 12:20:07PM +1000, Matt Evans wrote: Howdy Simon, Simon Horman wrote: On Fri, May 14, 2010 at 02:15:09PM +1000, Matt Evans wrote: [snip] diff --git a/kexec/arch/x86_64/include/arch/options.h b/kexec/arch/x86_64/include/arch/options.h deleted file mode

Re: [PATCH v2] kexec-tools: Fix option/argument parsing

2010-05-18 Thread Simon Horman
On Wed, May 19, 2010 at 11:55:11AM +0900, Simon Horman wrote: On Wed, May 19, 2010 at 12:20:07PM +1000, Matt Evans wrote: Howdy Simon, Simon Horman wrote: On Fri, May 14, 2010 at 02:15:09PM +1000, Matt Evans wrote: [snip] diff --git a/kexec/arch/x86_64/include/arch

[patch] ppc: Fix gamecube build

2010-05-13 Thread Simon Horman
This fixes the kexec-build on ppc32 when the --game-cube option is supplied to ./configure. It seems to have bit-rotted a little. Cc: Sebastian Andrzej Siewior sebast...@breakpoint.cc Cc: Maxim Uvarov muva...@gmail.com Signed-off-by: Simon Horman ho...@verge.net.au Index: kexec-tools/kexec/arch

Re: [PATCH 1/2] Fix kexec on powerpc32

2010-05-12 Thread Simon Horman
On Wed, May 12, 2010 at 05:30:33PM +0900, Simon Horman wrote: On Wed, May 12, 2010 at 05:28:26PM +1000, Matt Evans wrote: Maxim Uvarov wrote: This -Werror came from mips. kexec/arch/mips/Makefile. It is already removed in the git. We already saw this problem. BTW, I just did

Re: [PATCH] kexec-tools, ppc64: Fix segfault on parsing of large device trees.

2010-05-10 Thread Simon Horman
On Mon, May 10, 2010 at 02:55:03PM +1000, Michael Neuling wrote: In message 4be78e06.6080...@ozlabs.org you wrote: ppc64's fs2dt used to use a fixed-size array into which the device tree was parsed. There was no bounds checking, so with a large device tree other heap data ended up

Re: [PATCH - kexec] arm: place initrd to safer place according to zImage length

2010-05-10 Thread Simon Horman
On Fri, Apr 23, 2010 at 10:36:44AM +0800, Eric Miao wrote: commit 4b6d55c7780dbf383c6b64e560d459d15a891006 Author: Eric Miao eric.m...@canonical.com Date: Fri Apr 23 10:19:43 2010 +0800 arm: place initrd to safer place according to zImage length The original fixed address of

Re: [PATCH] kexec-tools: don't include every archs Makefile

2010-05-05 Thread Simon Horman
On Wed, May 05, 2010 at 02:00:58PM +1000, Michael Neuling wrote: In message 20100505033123.gb2...@verge.net.au you wrote: On Wed, May 05, 2010 at 11:51:10AM +1000, Michael Neuling wrote: This patches changes the kexec/Makefile to only include the required arch Makefile.

Re: [PATCH] kexec-tools, ppc64: fix build error on ppc64

2010-05-04 Thread Simon Horman
. Cool. My second patch should do this for all but MIPS. Unfortunately the second patch breaks make tarball. For now I have committed the following: From 76beff0507360f3001e23c9b4c765ef56384d5d5 Mon Sep 17 00:00:00 2001 From: Simon Horman ho...@verge.net.au Date: Wed, 5 May 2010 13:33:21 +1000 Subject

Re: [PATCH] kexec: fix 64Gb limit on x86 w/ PAE

2010-04-12 Thread Simon Horman
On Fri, Apr 09, 2010 at 09:41:11AM -0400, Vivek Goyal wrote: On Fri, Apr 09, 2010 at 08:17:49AM -0400, Neil Horman wrote: Version 2, with Simons consistency fixes and cleanups Fix up x86 kexec to exclude memory on i686 kernels beyond 64GB limit We found a problem recently on x86

Re: [PATCH] kexec: fix 64Gb limit on x86 w/ PAE

2010-04-08 Thread Simon Horman
On Thu, Apr 08, 2010 at 12:46:44PM -0400, Neil Horman wrote: Fix up x86 kexec to exclude memory on i686 kernels beyond 64GB limit We found a problem recently on x86 systems. If a 32 bit PAE enabled system contains more then 64GB of physical ram, the kernel will truncate the max_pfn value to

Re: [PATCH 3/7] powerpc32: pull in libfdt

2010-04-06 Thread Simon Horman
On Tue, Apr 06, 2010 at 09:51:08AM +0200, Sebastian Andrzej Siewior wrote: * Simon Horman | 2010-04-06 16:12:52 [+1000]: Ok, how about we a) merge your changes as is and b) try and get a patch upstream that we add to kexec-tools later. I understand your reasoning behind not wanting

Re: [PATCH 3/7] powerpc32: pull in libfdt

2010-04-06 Thread Simon Horman
On Tue, Apr 06, 2010 at 11:47:59AM +0200, Sebastian Andrzej Siewior wrote: * Simon Horman | 2010-04-06 18:41:34 [+1000]: Do you want me to just take the changes that you posted last week? Please do it. Done :-) ___ kexec mailing list kexec

Re: [PATCH] kexec-tools: Use the build date for package release

2010-03-29 Thread Simon Horman
On Mon, Mar 29, 2010 at 02:52:58PM +0300, Ameya Palande wrote: kexec built from git HEAD shows release date as 13th August 2009, which is not correct. Instead of that use the build date as release date. Thanks, applied. ___ kexec mailing list

Re: [PATCH] kexec-tools: Fix unused return value warning for fread

2010-03-25 Thread Simon Horman
On Thu, Mar 25, 2010 at 01:23:53PM +0200, Ameya Palande wrote: On Wed, 2010-03-24 at 12:31 +0100, ext Simon Horman wrote: On Fri, Mar 19, 2010 at 03:55:04PM +0200, Ameya Palande wrote: From: Ameya Palande ameya.pala...@nokia.com Signed-off-by: Ameya Palande ameya.pala...@nokia.com

Re: [PATCH 6/6] kexec-tools: Use default rpmbuild definations

2010-03-25 Thread Simon Horman
On Thu, Mar 25, 2010 at 09:34:52PM +0100, Bernhard Walle wrote: Am 24.03.2010 12:30, schrieb Simon Horman: On Sat, Mar 20, 2010 at 10:43:49AM +0100, Bernhard Walle wrote: Am 19.03.2010 21:37, schrieb Eric W. Biederman: Ameya Palande 2am...@gmail.com writes: Since current mechanism

Re: [PATCH 6/6] kexec-tools: Use default rpmbuild definations

2010-03-24 Thread Simon Horman
On Sat, Mar 20, 2010 at 10:43:49AM +0100, Bernhard Walle wrote: Am 19.03.2010 21:37, schrieb Eric W. Biederman: Ameya Palande 2am...@gmail.com writes: Since current mechanism for building rpm into custom directory is not working, remove it and switch to system defaults for rpmbuild.

Re: [PATCH 0/6] kexec-tools: Fix rpm build

2010-03-24 Thread Simon Horman
On Thu, Mar 18, 2010 at 10:03:18PM +0200, Ameya Palande wrote: This patchset fixes currently broken rpm build. Thanks, I have applied all of these. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec

Re: [PATCH] kexec-tools: Fix unused return value warning for fread

2010-03-24 Thread Simon Horman
On Fri, Mar 19, 2010 at 03:55:04PM +0200, Ameya Palande wrote: From: Ameya Palande ameya.pala...@nokia.com Signed-off-by: Ameya Palande ameya.pala...@nokia.com Thanks, applied. BTW, which gcc and CFLAGS were you using to see that warning? ___

Re: [PATCH] kexec-tools: Fix a typo in rpm spec description

2010-03-24 Thread Simon Horman
On Fri, Mar 19, 2010 at 05:14:24PM +0200, Ameya Palande wrote: On Fri, 2010-03-19 at 15:59 +0100, ext Don Zickus wrote: On Fri, Mar 19, 2010 at 03:58:52PM +0200, Ameya Palande wrote: From: Ameya Palande ameya.pala...@nokia.com Signed-off-by: Ameya Palande ameya.pala...@nokia.com

Re: [PATCH] kexec-tools: Replace obsolate Copyright tag in rpm spec

2010-03-12 Thread Simon Horman
On Fri, Mar 12, 2010 at 08:19:32PM +0200, Ameya Palande wrote: From: Ameya Palande ameya.pala...@nokia.com Signed-off-by: Ameya Palande ameya.pala...@nokia.com Thanks, applied. --- kexec-tools.spec.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH 0/3] Getting biarch support

2010-03-11 Thread Simon Horman
On Thu, Mar 11, 2010 at 12:16:58AM -0800, Eric W. Biederman wrote: It looks like no one ever tested taking a crashdump from a 64bit kernel with a 32bit userspace on x86, and we have a reuse-cmdline regression fixes follow. I seem to recall testing that, but it was many moons ago :-)

Re: [PATCH 0/3] Getting biarch support

2010-03-11 Thread Simon Horman
On Thu, Mar 11, 2010 at 12:16:58AM -0800, Eric W. Biederman wrote: It looks like no one ever tested taking a crashdump from a 64bit kernel with a 32bit userspace on x86, and we have a reuse-cmdline regression fixes follow. Thanks, these patches all look good to me. I have applied and pushed

Re: [PATCH] kexec/kdump: RMO region does not exist in drconf memory

2010-03-02 Thread Simon Horman
On Tue, Mar 02, 2010 at 04:09:49PM +0530, Chandru wrote: The RMO region can only exist in '/mem...@0' node in the device tree. While adding support for '/ibm,dynamic-reconfiguration-memory' in kexec-tools, I incorrectly extended the code of '/memory@' nodes to drconf memory with the assumption

Re: [PATCH] some kexec MIPS improvements

2010-02-21 Thread Simon Horman
On Thu, Feb 18, 2010 at 06:19:40PM +0300, Maxim Uvarov wrote: Hello folks, Please take a look at attached patch. We made kexec and crashdump worked on mips platform. I hope it will help community to fix mips implementation. This code worked with Cavium Octeon(mips64) boards and RMI

Re: mip64: kexec: Probem in allocating resevr mem

2010-02-21 Thread Simon Horman
On Thu, Jan 28, 2010 at 06:36:07PM +0530, Vishnu Yadav wrote: Hi I am not able to reserve the memory in mips 64 plateform for crash kernel in below function of arch/mips/kernel/setup.c file of kernel code reserve_bootmem(start, size , flags) if i put flags= BOOTMEM_DEFAULT then this

Re: FYI: x86_64 bug when using gdb with vmcore

2010-02-17 Thread Simon Horman
On Wed, Feb 17, 2010 at 08:49:46AM -0500, Dave Anderson wrote: - Simon Horman ho...@verge.net.au wrote: On Fri, Feb 05, 2010 at 11:53:18AM -0500, Dave Anderson wrote: The kexec/arch/x86_64/crashdump-x86_64.h file contains a stale PAGE_OFFSET value. In 2.6.27 it was changed

Re: powerpc32 support with device tree

2010-02-16 Thread Simon Horman
On Tue, Jan 19, 2010 at 11:59:40PM +0100, Sebastian Andrzej Siewior wrote: I've rebased my old patches on top of current kexec-tools tree and added support for the uImage target. There was no negative feedback the last I have posted as far I remember. Now that there is uImage support, there

Re: [PATCH] Fix --reuse-cmdline so it is usable.

2010-02-01 Thread Simon Horman
On Mon, Jan 25, 2010 at 12:14:03AM -0800, Eric W. Biederman wrote: Simon Horman ho...@verge.net.au writes: On Tue, Jan 19, 2010 at 12:05:03AM -0800, Eric W. Biederman wrote: A colleague of mine implemented kdump and it used --reuse-cmdline with some rather interesting and unexpected

[patch 17/27] x86_64: initialise temp_region in exclude_region() and delete_memmap()

2010-02-01 Thread Simon Horman
Signed-off-by: Simon Horman ho...@verge.net.au Index: kexec-tools/kexec/arch/x86_64/crashdump-x86_64.c === --- kexec-tools.orig/kexec/arch/x86_64/crashdump-x86_64.c 2010-02-01 23:07:20.0 +1100 +++ kexec-tools/kexec

[patch 07/27] ia64: Remove unused info parameter from add_loaded_segments_info()

2010-02-01 Thread Simon Horman
Signed-off-by: Simon Horman ho...@verge.net.au Index: kexec-tools/kexec/arch/ia64/crashdump-ia64.c === --- kexec-tools.orig/kexec/arch/ia64/crashdump-ia64.c 2010-02-01 23:06:40.0 +1100 +++ kexec-tools/kexec/arch/ia64

[patch 05/27] i386: Remove unused kexec_flags parameter from setup_edd_info()

2010-02-01 Thread Simon Horman
Signed-off-by: Simon Horman ho...@verge.net.au Index: kexec-tools/kexec/arch/i386/x86-linux-setup.c === --- kexec-tools.orig/kexec/arch/i386/x86-linux-setup.c 2010-02-01 23:06:41.0 +1100 +++ kexec-tools/kexec/arch/i386/x86

<    5   6   7   8   9   10   11   12   13   >