kexec-tools
Hello, Can you provide any help on this issue? Thanks, Satish. -- Forwarded message -- From: Satish Kagathara Date: Thu, Nov 25, 2010 at 5:55 PM Subject: kexec-tools To: ho...@verge.net.au Hello, I am using kexec-tools to launch Windows XP from linux using grub4dos. I have two different platforms. It works fine on Intel Core 2 Duo 3GHz. It does not fully work on Intel P4 3 GHz. It seems that grub4dos is not able to find any drive. If you run geometry or chainloader +1 from grub4dos, it says Disk Read Error or Specified Disk does not exist. Can you shed any light on why kexec does not work on 2nd platform? Does it require some specific CPU or BIOS? Any help/suggestions would be very useful for me. Thank you, Satish. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.10
Hi all, I am happy to announce the release of kexec-tools 2.0.10. This is a feature release coinciding with the release of the v4.1 Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.10.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.11
Hi all, I am happy to announce the release of kexec-tools 2.0.11. This is a feature release coinciding with the release of the v4.3 Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.11.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.12
Hi all, I am happy to announce the release of kexec-tools 2.0.12. This is a feature release coinciding with the release of the v4.5 Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.12.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.13
Hi all, I am happy to announce the release of kexec-tools 2.0.13. This is a feature release coinciding with the release of the v4.7 Linux Kernel[*]. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.13.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. [*] I apologise that this release is a little late. I have been unusually busy due to moving home. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.14
Hi all, I am happy to announce the release of kexec-tools 2.0.14. This is a feature release coinciding with the release of the v4.9 Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.14.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.15
Hi all, I am happy to announce the release of kexec-tools 2.0.15. This is a feature release. It would have coincided with the release of the v4.11 Linux Kernel, however, due to an oversight on my part is is rather late. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.15.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.16
Hi all, I am happy to announce the release of kexec-tools 2.0.16. This is a feature release coinciding with the release of v4.14 of the Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.16.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.17
Hi all, I am happy to announce the release of kexec-tools 2.0.17. This is a feature release coinciding with the release of v4.16 of the Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.17.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. Non-merge commits since v2.0.16 969ca80be8cf kexec-tools 2.0.17 7ce0d4a67c1c arm64: Set -fno-PIC along with -mcmodel=large 090e8eceed79 kexec-tools 2.0.17-rc1 a0c27338252d Fix a segmentation fault when trying to run "kexec -p" 5c08af7a068d arm64: fix an issue with kaslr-enabled vmlinux b2b05352ae5e kexec: Document -s, -c and -a options in the man page 20fea93e6caf kexec: Add option to fall back to KEXEC_LOAD when KEXEC_FILE_LOAD is not supported b58d076a6ed3 kexec: Add option to revert -s cb434cbe6f40 kexec: Do not special-case the -s option 6259b12f5cc8 kexec: Fix option checks to take KEXEC_FILE_LOAD into account 61a03fe9795c kexec: Return -ENOSYS when kexec does not know how to call KEXEC_FILE_LOAD 3720b743ae3c kexec/ppc64: leverage kexec_file_load support f57f0bf8975d ARM: Include stack and malloc space in zImage size b4bd5dd7f207 ARM: add further debug e414889e731f ARM: read kernel size from zImage b10924a7da3c kexec/ppc64: add support to parse ibm, dynamic-memory-v2 property c740fdb20482 kexec: add a helper function to add ranges 060eee589dd1 x86: use old screen_info if needed 282ff2a5e613 kexec-tools: Make xc_dlhandle static 58c225a6d762 kexec-tools: Call dlclose() from within __xc_interface_close() 894bea9335f5 kexec-tools: Perform run-time linking of libxenctrl.so 401e096166ce kexec-tools 2.0.16.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.18
Hi all, I am happy to announce the release of kexec-tools 2.0.18. This is a feature release coinciding with the release of v4.19 of the Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.18.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. Commits since v2.0.17 5750980cdbbc kexec-tools 2.0.18 04c43b4e421f arm64: If 'getrandom' syscall fails, don't error out - just warn and proceed. 8db8b6613a00 x86: fix BAD_FREE in get_efi_runtime_map() 94159bc3c264 kexec-tools 2.0.18-rc1 1ac3e4a57000 kdump: fix an error that can not parse the e820 reserved region b9de21ef51a7 kexec: fix for "Unhandled rela relocation: R_X86_64_PLT32" error ca4823aa2fc2 arm64: error out if kernel command line is too long 7198e899ddab arm64: increase command line size to 2048 c3f043241a86 arm64: Add support to supply 'kaslr-seed' to secondary kernel 7acd257ae67b Remove obsolete kdump tool 674b9b45876c Makefile.in: Add uninstall rule e277fa9ec702 vmcore-dmesg: fix infinite loop if log buffer wraps around d4a948c26827 kexec/s390: Add support for kexec_file_load 0481e9ed61ef kexec: Add --no-checks option 72c146c20588 purgatory/ppc64: Fix uninitialized warning 3f276f71f14d kexec-elf-rel-ppc64: Fix cast from pointer warning 7be89276db19 crashdump-ppc64: Fix integer truncation warning 798317c134b2 kexec: Fix printf warning b43960c20dd2 kexec-tools 2.0.17.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.5
Hi all, I am happy to announce the release of kexec-tools 2.0.5. The release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.5.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.6
Hi all, I am happy to announce the release of kexec-tools 2.0.6. This is a bugfix release to address a number of problems discovered in 2.0.5. The release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.6.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.7
Hi all, I am happy to announce the release of kexec-tools 2.0.7. This is a feature release coinciding with the release of the v3.15 Linus Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.7-rc1.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.8
Hi all, I am happy to announce the release of kexec-tools 2.0.8. This is a feature release coinciding with the release of the v3.17 Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.8.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.9
Hi all, I am happy to announce the release of kexec-tools 2.0.9. This is a bug-fix release coinciding with the release of the v3.19 Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.9.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.19
Hi all, I am happy to announce the release of kexec-tools 2.0.19. This is a feature release coinciding with the release of v5.0 of the Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.19.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. Commits since v2.0.18: 72c1e1e591cf kexec-tools 2.0.19 0f9e081cf2d0 kexec-tools 2.0.19-rc1 f1f2f9edf8d4 arm64: wipe old initrd addresses when patching the DTB c493af72ac79 purgatory: Use standalond CFLAGS a98b4da4fd4f x86: Handle 64bit framebuffer memory address properly 002b608f3669 multiboot-x86: pass framebuffer information when requested 2880a35f38cd multiboot-x86: pass ACPI reserved memory information in memory map 8776bf88e50d multiboot-x86: support for non-elf kernels b23d0f8cf049 arm64: add kexec_file_load support 64c49f27d880 arm64: Add support to read PHYS_OFFSET from 'kcore' - pt_note or pt_load (if available) f4ce0706d957 util_lib: Add functionality to read elf notes f56cbcf4c276 kexec/dt-ops.c: Fix '/chosen' v/s 'chosen' node being passed to fdt helper functions 5570b4244466 kexec/dt-ops.c: Fix adding '/chosen' node for cases where it is not available in dtb passed via --dtb option 9dcf363f509a kexec/kexec-arm64.c: Add error handling check against return value of 'set_bootargs()' 583dbd57f997 kexec/dt-ops.c: Fix check against 'fdt_add_subnode' return value e5dfb3540219 kexec-tools 2.0.18.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.20
Hi all, I am happy to announce the release of kexec-tools 2.0.20. This is a feature release coinciding with the release of v5.2 of the Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.20.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. Commits since v2.0.19: 49b93b9afc24 kexec-tools 2.0.20 419716b151e8 kexec-tools 2.0.20-rc2 f4c1caaa97a2 kexec/arm64: Add support for handling zlib compressed (Image.gz) image 0e709571bfe7 kexec/kexec-zlib.h: Add 'is_zlib_file()' helper function 6ef59c03bf2c kexec-uImage-arm64.c: Fix return value of uImage_arm64_probe() 019d8258f15c kexec/kexec.c: Add the missing close() for fd used for kexec_file_load() ffdc7feceea3 kexec-tools 2.0.20-rc1 d9cd81a39b59 x86: Include kexec-mb2-x86.c and multiboot2.h in distribution 7018e436cd34 x86: re-order includes to avoid duplicate struct e820entry 22a2ed55132e x86: Support multiboot2 images d6bc88c06962 elf: Support ELF loading with relocation 40805e393b2f crashdump/x86: Use new introduce helper for getting RSDP b071fc084bda x86: Always try to fill acpi_rsdp_addr in boot params cedeee0a3007 x86: Introduce helpers for getting RSDP address 402351390f31 x86: Update boot parameters defination c072bd13abbe x86: Find mounts by FS type, not name 23aaa44614a0 x86: Check /proc/mounts before mtab for mounts eff53089523c xen: Avoid overlapping segments in low memory fb5a8792e6e4 x86: Introduce a new option --reuse-video-type 3757ef630b72 kexec-tools 2.0.19.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.25
Hi all, I am happy to announce the release of kexec-tools 2.0.25. This is a feature release coinciding with the release of v5.19 of the Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.25.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec! Commits since v2.0.24: 0fded956184b kexec-tools 2.0.25 bfab31851465 kexec-tools 2.0.25-rc1 c3950959f428 kexec-tools: Remove duplicate ultoa() definitions and redefine it 6cd3e94813f7 i386: pass rng seed via setup_data db26ac7f6a9c kexec-tools: mips: Pass initrd parameter via cmdline 1b87ea9ccaf0 arm64/crashdump-arm64: increase CRASH_MAX_MEMORY_RANGES to 32k 2ddfaf31fa83 kexec-tools 2.0.23.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.26
Hi all, I am happy to announce the release of kexec-tools 2.0.26. This is a feature release coinciding with the release of v6.1 of the Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.26.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec! Commits since v2.0.25: ae1bd3dde601 kexec-tools 2.0.26 ffb186b83420 kexec-tools 2.0.26-rc1 b9de05184816 m68k: pass rng seed via BI_RNG_SEED b0381b817910 workflow: update to checkout@v3 834be38cc044 LoongArch: Remove redundant cmdline parameters when using --reuse-cmdline option 84138f41efd5 LoongArch: Add purgatory framework code 615b6757dcab LoongArch: PE format image loading support 1c8bf2dc0127 LoongArch: Add kexec/kdump support dceb1d8926e6 config: Add LoongArch architecture support in config.guess and config.sub files 6b6187f546f0 ppc64: remove rma_top limit bc38df5e8e24 kexec-tools 2.0.25.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.27
Hi all, I am happy to announce the release of kexec-tools 2.0.27. This is a feature release coinciding with the release of v6.5 of the Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.27.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec! Commits since v2.0.26: 17590eedff6d kexec-tools 2.0.27 777ca453ca69 kexec-tools 2.0.27-rc1 f67c4146d7b5 arm64: Hook up the ZBOOT support as vmlinuz fc7b83bdf734 arm64: Add ZBOOT PE containing compressed image support f41c4182b0c4 kexec/zboot: Add arch independent zboot support 1572b91da7c4 kexec: Introduce a member kernel_fd in kexec_info 714fa11590fe kexec/arm64: Simplify the code for zImage a8de94e5f033 LoongArch: kdump: Set up kernel image segment 4203eaccfa92 kexec: __NR_kexec_file_load is set to undefined on LoongArch 63e9a012112e ppc64: Add elf-ppc64 file types/options and an arch specific flag to man page 806711fca9e9 x86: add devicetree support 29fe5067ed07 kexec: make -a the default e63fefd4fc35 ppc64: add --reuse-cmdline parameter support 8fc55927f700 kexec-tools 2.0.26.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.21
Hi all, I am happy to announce the release of kexec-tools 2.0.21. This is a feature release coinciding with the release of v5.10 of the Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.21.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. Commits since v2.0.20: af25626 kexec-tools 2.0.21 018ae8d kexec-tools 2.0.21-rc1 0eac640 kexec: mips: Fix mem parameters fa91709 dt-ops: fix memory leak when new_node malloc fails d4eaff6 zlib: fix resource leak when gzdirect failed 4149df9 printk: add support for lockless ringbuffer 6b5667d x86_64: allow ELFCLASS32 for x32 support 5c7f47d i386: fix string formatting-related warnings 3dce5ce i386/kexec-mb2-x86.c: cast ints to uintptr_t before pointers to avoid warnings 6caad4c configure.ac, arch/x86_64: handle x32 as subarch of x86_64 and don't specify -mcmodel=large there 9d33ea5 config: update to latest config.{sub,guess}, install-sh 1e9de8e arm64: Add purgatory printing 70cca82 kexec: Fix snprintf related compilation warnings 15fc8cb vmcore-dmesg/man page: Update the vmcore-dmesg man page 9fd2189 kexec-tools: Add some missing free() calls ec53791 kexec-tools: Fix a prompt message when crashkernel is not reserved 7bd2516 kexec-tools: mips: Remove commandline parameter "mem" a47b10c kexec/kexec.c: Add missing close() call 16168f8 AUTHORS: Update email address for Khalid 01144be MIPS: Fix compile warnnings in kexec-elf-mips.c 24884d1 mips: kexec-elf-mips: fix not free in elf_mips_load() 12e643a kexec-tools: Check callback first in kexec_iomem_for_each_line() 7a576da arm: Increase zImage length after getting the tag f22b6aa kexec-tools: fix the unintended fallthrough when '-d' option is used 74c7c36 arm: redefine OPT_APPEND and OPT_RAMDISK 5dc72de kexec-tools: s390: Reset kernel command line on syscall fallback 65441fb kexec-xen: Introduce --exec-live-update to trigger a live update b13984c kexec: Introduce --load-live-update for xen 41a9b98 kexec-xen: Introduce xen_get_kexec_range to wrap xc_kexec_get_range cc087b1 kexec-tools: Remove duplicated variable declarations cbbee58 Removing condition that will never be met after calls xmalloc and xrealloc 618799e kexec: support parsing the string "Reserved" to get the correct e820 reserved region 9cf7212 kexec-tools: Reset getopt before falling back to legacy syscall 4f77da6 kexec-tools: Fix kexec_file_load(2) error handling a4afe68 crashdump-ppc64: crashkernel-base and crashkernel-size are big-endian 2c9f26e kexec: build multiboot2 for i386 66b151d ARM: Use mmap for zImage initrd 2572b8d arm64: kdump: deal with a lot of resource entries in /proc/iomem f736104 arm64: kexec: allocate memory space avoiding reserved regions cf977b1 kexec: add variant helper functions for handling memory regions bd07796 kexec-tools: Fix conversion overflow when compiling on 32-bit platforms 775f258 kexec-tools: Fix possible out-of-bounds access in ifdown 470d5c4 kexec: add support for PARISC architecture b54816e kexec/arm: undefine __NR_kexec_file_load for arm ed2d6e3 i386/kexec-mb2-x86.c: Fix compilation warning a46c686 vmcore-dmesg/vmcore-dmesg.c: Fix shifting error reported by cppcheck fa3f0ed Limit the size of vmcore-dmesg.txt to 2G a7c4cb8 Cleanup: move it back from util_lib/elf_info.c 14ad054 Fix an error definition about the variable 'fname' 545c811 Cleanup: remove the read_elf_kcore() 23b67f0 x86: Fix PAGE_OFFSET for kernels since 4.20 77c8824 kexec-tools 2.0.20.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.22
Hi all, I am happy to announce the release of kexec-tools 2.0.22. This is a feature release coinciding with the release of v5.12 of the Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.22.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. Commits since v2.0.21: 96b7e47 kexec-tools 2.0.22 b4d0710 kexec-tools 2.0.22-rc1 9817ec8 arm: do not copy magic 4 bytes of appended DTB in zImage bb6f6f1 kexec: Remove the error prone kernel_version function 0b69943 Shrink segments to fit alignment instead of throwing them away 774a16b Fix where the real mode interrupt vector ends 28b0491 github: initial workflow e0a17a2 build: add distcheck target 0eb0154 build: simplify uninstall target 93c1e9d build: use DESTDIR in uninstall target fa1d7d5 build: uninstall kexec_test 66d2b1a build: add dist make target 41b77ed build: create tarball without self-referential hard links 1bc7bc7 crashdump/x86: increase CRASH_MAX_MEMORY_RANGES to 32k 77ff3d6 crashdump/x86: iterate only over actual crash memory ranges 7175859 crashdump/x86: dump any kind of "System RAM" 85721bd kexec-xen: Use correct image type for Live Update 4b97ff9 kexec: Make --status work with normal kexec images 2c30aa5 kexec: Fix description of --status exit code 82f7de2 printk: Use %zu to format size_t 07b272a printk: Use ULL suffix for 64-bit constants 8519b01 kexec: Use %llu/%llx and casts to format uint64_t 84a6ef0 mips: Fix the increased mem parameter size d73822b i386: fix build on pre 4.4 kernels 6093532 mips: Fix typo in comment 15ee19f mips: Add '--reuse-cmdline' optional parameter support b4feb36 kexec-tools 2.0.21.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.23
Hi all, I am happy to announce the release of kexec-tools 2.0.22. This is a feature release coinciding with the release of v5.12 of the Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.23.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec! Commits since v2.0.22: 91ff1e7 kexec-tools 2.0.23 41725a0 kexec-tools 2.0.23-rc1 5f8d632 arm: kdump: Add DT properties to crash dump kernel's DTB bb1c95c kexec-tools: multiboot2: Correct BASIC_MEMINFO memory units a4d49e8 Add some necessary free() calls bcee4f2 Add some necessary fclose() calls 84ef6cb ppc64: Fix memory leak problem in zImage_ppc64_load() 35dec3d i386: Remove unused local variable in get_kernel_page_offset() dbc151e multiboot2: Accept x86-64 images e388195 multiboot2: Avoid first 0x500 bytes 1d02758 multiboot2: Use rel_min and rel_max for buffer destinations 4f8d667 multiboot2: Correct MBI size calculation bfaebfb x86: Consolidate elf_x86_probe routines 091f9e9 Refer FDT tokens with symbolic names 61b8c79 arm64/crashdump-arm64: deduce the paddr of _text 5e7ce27 kexec-tools: Remove duplicate definition of ramdisk a2ba3cd kexec-tools 2.0.21.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.24
Hi all, I am happy to announce the release of kexec-tools 2.0.24. This is a feature release coinciding with the release of v5.17 of the Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.24.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec! Commits since v2.0.23: 1d82b3faa331 kexec-tools 2.0.24 272af539f785 kexec-tools 2.0.24-rc1 c1ae085bd211 arm64: fix static data relocations in machine_apply_elf_rel() 2b78a27a64f0 kexec/elf: assign one to align if sh_addralign equals zero 1d8273d82b66 arm64/crashdump-arm64: explicit type conversion to suppress compiler warning 33778949c132 arm64/kexec-arm64: add support for R_AARCH64_MOVW_UABS_G* rela e2a86b319245 arm64/kexec-arm64: use enum to organize the reloc type 8e3f663a4dfe arm64/kexec-arm64: add support for R_AARCH64_LDST128_ABS_LO12_NC rela 36805fe6ba33 kexec-tools: fix leak FILE pointer. 1b03cf7adc3c purgatory: do not enable vectorization automatically for purgatory compiling dcfcc73c73e6 kexec-tools: Determine if the image is lzma commpressed f4c59879b830 util_lib/elf_info: harden parsing of printk buffer 30bfe30bb609 github: run apt-get update before installing packages 501646beec2b kexec-xen: Allow xen_kexec_exec() to return in case of Live Update 1d7a308bf734 kexec-tools: print error if kexec_file_load fails 6effda061f75 kexec-tools: mips: Concatenate --reuse-cmdline and --append 8dda434a05ff kexec-tools: mips: Add some debug info 95de9eccf413 arm64: fix PAGE_OFFSET calc for flipped mm 454395e18ff1 arm64: read VA_BITS from kcore for 52-bits VA kernel bde864387a10 arm64/crashdump: unify routine to get page_offset 67ea2d99e135 arm64: make phys_offset signed 2e1ec106dc5a s390: add support for --reuse-cmdline d6516ba4c88f use slurp_proc_file() in get_command_line() 193e51deccc6 add slurp_proc_file() 91a3d0e00a5c s390: use KEXEC_ALL_OPTIONS defb80a20bf1 s390: add variable command line size b5a34a20984c arm64: support more than one crash kernel regions 186e7b0752d8 s390: handle R_390_PLT32DBL reloc entries in machine_apply_elf_rel() 1614959f2f0d arm64/crashdump: deduce paddr of _text based on kernel code size 10b7e1fb5d0c kexec-tools 2.0.23.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.3
Hi all, I am happy to announce the release of kexec-tools 2.0.3. The release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.3.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git kexec-tools is finally back on kernel.org after somewhat of a hiatus. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.4
Hi all, I am happy to announce the release of kexec-tools 2.0.4. The release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.4.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.1
Hi all, I'm happy to announce the 2.0.1 release of kexec-tools. There are only a few minor changes since the 2.0.1-rc1 pre-release. This release can be downloaded from kernel.org: http://ftp.kernel.org/pub/linux/kernel/people/horms/kexec-tools/kexec-tools-2.0.1.tar.gz http://ftp.kernel.org/pub/linux/kernel/people/horms/kexec-tools/ I have also tagged it in git: git://git.kernel.org/pub/scm/linux/kernel/git/horms/kexec-tools.git http://git.kernel.org/?p=linux/kernel/git/horms/kexec-tools.git A summary of the changes since the previous release, kexec-tools 2.0.0, is below. commit 0de986976197056d0bf24456912778f1cbec05ef Author: Simon Horman Date: Thu Aug 13 09:28:08 2009 +1000 kexec-tools 2.0.1 Signed-off-by: Simon Horman commit b45bdabadd1b81777abea001ea7363a430f9e652 Author: M. Mohan Kumar Date: Mon Aug 10 19:44:42 2009 +0530 Support R_PPC64_REL32 relocation type [PATCH 2/2] Support R_PPC64_REL32 relocation type gcc-4.4 compiler creates R_PPC64_REL32 relocation type in the ppc64 purgatory code. Add support to handle R_PPC64_REL32 relocation type. Signed-off-by: M. Mohan Kumar Signed-off-by: Simon Horman commit 3e804a5792dbf3c237789de8d6a86ca8e084 Author: M. Mohan Kumar Date: Mon Aug 10 19:43:51 2009 +0530 Make dtstruct variable to be 8 byte aligned [PATCH 1/2] Make dtstruct variable to be 8 byte aligned kexec is creating a version 3 device tree to be backwards compatible. This version of the struct has 8-byte alignment for properties whose value is 8 or more bytes. As the code directly checks the pointer when deciding to add the alignment word, the struct memory must start on an 8 byte boundary. Force the dtstruct variable to be always 8 bytes aligned. Signed-off-by: M. Mohan Kumar Signed-off-by: Simon Horman commit c24c6f32bb6b9b07d13c5b5c2456cb8004adc96f Author: Paul Mundt Date: Tue Jul 28 07:37:58 2009 +0900 kexec: Handle datarootdir for newer autoconf versions. This fixes up the: config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting warning when producing the output Makefile. Signed-off-by: Paul Mundt Signed-off-by: Simon Horman commit cc413b9512e7ac3b81e9ddea61f0ad1943b61e4b Author: Simon Horman Date: Wed Jul 22 12:19:06 2009 +1000 kexec-tools 2.0.1-rc1-git Add -git to version so it doesn't look like a release. This is just so when people build code from git it can be identified as such from the version string. Signed-off-by: Simon Horman commit 5273e798b25d78ed4e3f51879e8fb2093faa7422 Author: Simon Horman Date: Wed Jul 22 12:09:50 2009 +1000 kexec-tools 2.0.1-rc1 Signed-off-by: Simon Horman commit 3444dce25ba125ae6d9522bbd297f78cb31211fb Author: Simon Horman Date: Wed Jul 22 12:09:13 2009 +1000 Include kexec/arch/cris/kexec-cris.h in distribution tarball Signed-off-by: Simon Horman commit 346ed7a0c89e48f4bffceca8b4c4f50cc4932fc6 Author: Simon Horman Date: Wed Jul 22 12:08:21 2009 +1000 Include kexec/arch/sh/crashdump-sh.h in distribution tarball Signed-off-by: Simon Horman commit 24e8417fff62b3f3d4fbee52d0dd383ba50178a5 Author: Geoff Levand Date: Mon Jun 22 15:08:49 2009 -0700 kexec: Fix printed symbol value Move the print statement so that the variable value has been assigned before its value is printed. Signed-off-by: Geoff Levand Signed-off-by: Simon Horman commit 7ca0270ab3e2f1abcc520f59c6795f1b873bddcd Author: Magnus Damm Date: Wed Mar 18 20:22:51 2009 +0900 sh: use physical address for zImage entry Use a physical address for the SuperH zImage entry point. This makes the zImage loader behave as the elf loader. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman commit 09e2b3a3f9f6477875da1bfacdcf1f1bb1b4486a Author: Magnus Damm Date: Wed Mar 18 15:07:46 2009 +0900 kexec jump: SuperH vmlinux support Create elf header and modify the kernel command line when loading a crash kernel or a kexec jump kernel. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman commit 0cd674d83b07bd5fd1bbd09d40bea2825e44d3d1 Author: Magnus Damm Date: Wed Mar 18 15:07:01 2009 +0900 kexec jump: use add_segment_phys_virt() Since /proc/iomem contains physical addresses, use add_segment_phys_virt(xxx, 0) instead of add_segment() in add_backup_segments(). This fix is needed for kexec jump on SuperH where add_segment() only takes virtual addresses. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman commit 958704f7e56f5eefef2d6e13975258400d3fdbfd Author: Bernhard Walle Date: Mon Feb 9 23:53:53 2009 +0100 Correct email addresses Since I don't work for SUSE any more and 'bwa...@suse.de' is invalid,
Problems compiling kexec-tools
All, I'm attempting to compile kexec-tools so I can compile kboot from source. I've obtained the kexec-tools-2.0.0 source from RPM. I've done: ./configure make which I receive the following errors: gcc -lz -g -O2 -static -fno-strict-aliasing -Wall -Wstrict-prototypes -o build/sbin/kexec kexec/kexec.o kexec/ifdown.o kexec/kexec-elf.o kexec/kexec-elf-exec.o kexec/kexec-elf-core.o kexec/kexec-elf-rel.o kexec/kexec-elf-boot.o kexec/kexec-iomem.o kexec/firmware_memmap.o kexec/crashdump.o kexec/crashdump-xen.o kexec/phys_arch.o kexec/proc_iomem.o kexec/virt_to_phys.o kexec/add_segment.o kexec/add_buffer.o kexec/arch_reuse_initrd.o kexec/arch/i386/kexec-x86.o kexec/arch/i386/kexec-x86-common.o kexec/arch/i386/kexec-elf-x86.o kexec/arch/i386/kexec-elf-rel-x86.o kexec/arch/i386/kexec-bzImage.o kexec/arch/i386/kexec-multiboot-x86.o kexec/arch/i386/kexec-beoboot-x86.o kexec/arch/i386/kexec-nbi.o kexec/arch/i386/x86-linux-setup.o kexec/arch/i386/crashdump-x86.o kexec/purgatory.o libutil.a kexec/kexec.o: In function `slurp_decompress_file': /home/moblin/rpmbuild/BUILD/kexec-tools-2.0.0/kexec/kexec.c:485: undefined reference to `gzopen' /home/moblin/rpmbuild/BUILD/kexec-tools-2.0.0/kexec/kexec.c:501: undefined reference to `gzread' /home/moblin/rpmbuild/BUILD/kexec-tools-2.0.0/kexec/kexec.c:506: undefined reference to `gzerror' /home/moblin/rpmbuild/BUILD/kexec-tools-2.0.0/kexec/kexec.c:515: undefined reference to `gzclose' /home/moblin/rpmbuild/BUILD/kexec-tools-2.0.0/kexec/kexec.c:517: undefined reference to `gzerror' /home/moblin/rpmbuild/BUILD/kexec-tools-2.0.0/kexec/kexec.c:487: undefined reference to `gzerror' collect2: ld returned 1 exit status make: *** [build/sbin/kexec] Error 1 I've installed zlib: zlib-1.2.3-29.4.moblin2.i586.rpm zlib-devel-1.2.3-29.4.moblin2.i586.rpm so I'm unsure what I've done wrong. Suggestions? John ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.28
Hi all, I am happy to announce the release of kexec-tools 2.0.28. This is a feature release coinciding with the release of v6.7 of the Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.28.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec! Commits since v2.0.27: adef8a8e4bfd kexec-tools 2.0.28 5d7bc25cf15b kexec-tools 2.0.28-rc1 549466430ae6 LoongArch: Load vmlinux.efi to the link address ba0ac0efe299 LoongArch: Fix an issue with relocatable vmlinux 74dfaefd6316 m68k: fix getrandom() use with uclibc 22dcf5cb940a lzma: Relax memory limit for lzma decompressor 44e7b73c331f kexec: ppc64: print help to stdout instead of stderr 74d66d405f30 workflow: update to Ubuntu 22.04 ab3a70af8567 kexec/loongarch64: fix 'make dist' file loss issue 6419b008fde7 kexec: provide a memfd_create() wrapper if not present in libc 118b567ce74a crashdump/x86: set the elfcorehdr segment size for hotplug d59d17f37239 crashdump/x86: identify elfcorehdr segment for hotplug a56376080a93 crashdump: exclude elfcorehdr segment from digest for hotplug 75ac71fd94ff crashdump: setup general hotplug support d6cfd2984844 crashdump: introduce the hotplug command line options c36d3e8b2e99 kexec: define KEXEC_UPDATE_ELFCOREHDR bd0200c47c45 kexec: update manpage with explicit mention of clean kexec 2495ccfc5206 zboot: add loongarch kexec_load support 8f08e3b51f25 zboot: enable arm64 kexec_load for zboot image c3f35ff06e54 build: fix tarball creation 056c179cd3c2 kexec-tools 2.0.27.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.29
Hi all, I am happy to announce the release of kexec-tools 2.0.29. This is a feature release coinciding with the release of v6.10 of the Linux Kernel. This release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.29.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ It is also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec! Commits since v2.0.28: 992c419f6cbf kexec-tools 2.0.29 920ae8851837 kexec-tools 2.0.29-rc1 0be146b65771 doc/hotplug: update man and --help b8408c95e7c0 powerpc/kexec_load: add hotplug support 3c47f384f1c4 kexec_load: Use new kexec flag for hotplug support 4fd0553cdfe3 x86-linux-setup.c: Use POSIX basename API 2e8a93af1e85 kexec: loongarch: fix load command line segment error 69ccfa12d5e3 kexec: loongarch: add multi crash kernel segment support 3194d1eba9c1 LoongArch: fix kernel image size error 2a3e54e9f734 ARM: Fix add_buffer_phys_virt() align issue f53bcef5063c Fix incorrect Free Software Foundation address in the license 623ceb333c18 util_lib/elf_info.c: fix a warning 9d9cf8de8b2a kexec_file: add kexec_file flag to support debug printing 6ee2ac1bf739 workflow: update to use checkout@v4 328de8e00e29 Fix building on x86_64 with binutils 2.41 94fbe64fb22d kexec: don't use kexec_file_load on XEN 21ea4569856a kexec-tools 2.0.28.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[PATCH kexec-tools v2 00/32] Keystone II updates for kexec tools
Here's the latest set of kexec-tools patches to support Keystone II platforms, which work in conjunction with the kernel patches which Andrew Morton has already taken. Most of the patches have been reviewed, but there are a small number which do not have Reviewed-by or Acked-by tags; these are due to comments, which I've replied to, which have yet to have further responses. kdump/kdump.c | 27 - kexec/Makefile| 4 + kexec/arch/arm/Makefile | 5 + kexec/arch/arm/crashdump-arm.c| 247 +++--- kexec/arch/arm/crashdump-arm.h| 2 +- kexec/arch/arm/iomem.h| 9 ++ kexec/arch/arm/kexec-arm.c| 8 +- kexec/arch/arm/kexec-uImage-arm.c | 3 +- kexec/arch/arm/kexec-zImage-arm.c | 6 +- kexec/arch/arm/phys_to_virt.c | 6 +- kexec/arch/arm/phys_to_virt.h | 8 ++ kexec/crashdump.h | 2 +- kexec/kexec-uImage.c | 3 +- kexec/kexec.c | 4 +- kexec/kexec.h | 1 + kexec/mem_regions.c | 128 kexec/mem_regions.h | 15 +++ kexec/phys_to_virt.c | 2 +- kexec/zlib.c | 4 +- 19 files changed, 339 insertions(+), 145 deletions(-) -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [PATCH kexec-tools v2 00/32] Keystone II updates for kexec tools
Hi Russell, On Mon, Jun 06, 2016 at 05:41:29PM +0100, Russell King - ARM Linux wrote: > Here's the latest set of kexec-tools patches to support Keystone II > platforms, which work in conjunction with the kernel patches which > Andrew Morton has already taken. > > Most of the patches have been reviewed, but there are a small number > which do not have Reviewed-by or Acked-by tags; these are due to > comments, which I've replied to, which have yet to have further > responses. I see that Pratyush has now reviewed the patches which did not have any Reviewed-by or Acked-by tags. I have applied the series. Please let me know if I messed anything up. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
kdump: Update kdump documentation as kexec-tools-resting has been renamed kexec-tools
Signed-off-by: Simon Horman <[EMAIL PROTECTED]> Acked-by: Vivek Goyal <[EMAIL PROTECTED]> Index: linux-2.6/Documentation/kdump/kdump.txt === --- linux-2.6.orig/Documentation/kdump/kdump.txt2008-07-19 10:27:50.0 +1000 +++ linux-2.6/Documentation/kdump/kdump.txt 2008-07-19 10:51:57.0 +1000 @@ -65,26 +65,26 @@ Install kexec-tools 2) Download the kexec-tools user-space package from the following URL: -http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/kexec-tools-testing.tar.gz +http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/kexec-tools.tar.gz -This is a symlink to the latest version, which at the time of writing is -20061214, the only release of kexec-tools-testing so far. As other versions -are released, the older ones will remain available at -http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/ +This is a symlink to the latest version. -Note: Latest kexec-tools-testing git tree is available at +The latest kexec-tools git tree is available at: -git://git.kernel.org/pub/scm/linux/kernel/git/horms/kexec-tools-testing.git +git://git.kernel.org/pub/scm/linux/kernel/git/horms/kexec-tools.git or -http://www.kernel.org/git/?p=linux/kernel/git/horms/kexec-tools-testing.git;a=summary +http://www.kernel.org/git/?p=linux/kernel/git/horms/kexec-tools.git + +More information about kexec-tools can be found at +http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/README.html 3) Unpack the tarball with the tar command, as follows: - tar xvpzf kexec-tools-testing.tar.gz + tar xvpzf kexec-tools.tar.gz 4) Change to the kexec-tools directory, as follows: - cd kexec-tools-testing-VERSION + cd kexec-tools-VERSION 5) Configure the package, as follows: ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.10-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.10-rc1. This is a bug-fix pre-release. So long as no serious problems arise I intend to release 2.0.10 around the same time as the v4.1 kernel release, which I expect to occur in the next week or so. As such testing of 2.0.10-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.10 at this time. And I would like to only accept bug fixes at this time and take take features patches once 2.0.10 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.9-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.10
On 06/25/15 at 07:20pm, Simon Horman wrote: > Hi all, > > I am happy to announce the release of kexec-tools 2.0.10. > > This is a feature release coinciding with the release of the v4.1 Linux > Kernel. > > This release can be downloaded from kernel.org: > > http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.10.tar.xz > http://kernel.org/pub/linux/utils/kernel/kexec/ > > It is also tagged it in git: > > git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git > > Thanks to everyone who has contributed to kexec. Simon, thanks for the new release. We updated Fedora kexec-tools to 2.0.9, plan to move to 2.0.10 soon. But I see below error: R_X86_64_29 Unhandled rela relocation: R_X86_64_29 There was a similar report before: http://lists.infradead.org/pipermail/kexec/2015-February/013305.html The strange thing is local build works for me, but koji build server build does not work. 2.0.10 koji build also fails to load. Appreciate for any hints or idea. Thanks Dave ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.10
On 06/26/15 at 03:10pm, Dave Young wrote: > On 06/25/15 at 07:20pm, Simon Horman wrote: > > Hi all, > > > > I am happy to announce the release of kexec-tools 2.0.10. > > > > This is a feature release coinciding with the release of the v4.1 Linux > > Kernel. > > > > This release can be downloaded from kernel.org: > > > > http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.10.tar.xz > > http://kernel.org/pub/linux/utils/kernel/kexec/ > > > > It is also tagged it in git: > > > > git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git > > > > Thanks to everyone who has contributed to kexec. > > Simon, thanks for the new release. > > We updated Fedora kexec-tools to 2.0.9, plan to move to 2.0.10 soon. > > But I see below error: > R_X86_64_29 > Unhandled rela relocation: R_X86_64_29 > > There was a similar report before: > http://lists.infradead.org/pipermail/kexec/2015-February/013305.html > > The strange thing is local build works for me, but koji build server > build does not work. 2.0.10 koji build also fails to load. > It should be koji build system problem, I found it adds -fexceptions and -fstack-protetor-strong, the cmdline is below: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss -mcmodel=small -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-exceptions -fno-asynchronous-unwind-tables -mcmodel=small -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-redhat-linux/5.1.1/include -c -MD -o purgatory/purgatory.o purgatory/purgatory.c (-mcmodel=small is added by me for testing if this can resolve the problem) So I will turn to ask Fedora people, sorry for the noise. Thanks Dave ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.10 preparation
Hi all, I am planning to release kexec-tools v2.0.11 around the time that the v4.3 kernel is released. As I estimate that the latter occur within the few weeks I would like to ask interested parties to send any patches they would like included in v2.0.10 within the next week so that I can make an rc release. For reference the patches queued up since v2.0.10 are as follows: faef3d02bb0d ppc64: Fix warnings 626b441109b6 configure: Set SUBARCH=BE for powerpc 0974c43a18ca kexec-tools: fix build error with glibc 2.19 and earlier version 4fbf781eb038 Load crash kernel high on x86 6fd80e245e38 fix kexec load hang in case crash notes addr read failure 7ab842d8a004 kexec: use mmap instead of read for slurp_file() a304e2d82a8c ppc64: purgatory: Reset primary cpu endian to big-endian 97a07e2775ef Drop release date from kexec-tools version output cb9a818ff2ac Add persistent memory support c9c21cc107dc kexec: use _DEFAULT_SOURCE instead to remove compiling warning 973426e85377 kexec-tools 2.0.10.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.11-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.11-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.11 shortly after the release of the v4.3 kernel, which I expect to occur in the next week or so. As such testing of 2.0.11-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.11 at this time. And I would like to only accept bug fixes at this time and take take features patches once 2.0.11 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.11-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.10 are: 3e123f9419a5 kexec-tools 2.0.11-rc1 83a65e2e13af ppc64: add arch option --dt-no-old-root 1d13b61a6ae4 arm: add arch option --dt-no-old-root a1ae68d19b6e fs2dt.c: move copy old root param as a new function 86866f6f7532 Revert "kexec: use mmap instead of read for slurp_file()" faef3d02bb0d ppc64: Fix warnings 626b441109b6 configure: Set SUBARCH=BE for powerpc 0974c43a18ca kexec-tools: fix build error with glibc 2.19 and earlier version 4fbf781eb038 Load crash kernel high on x86 6fd80e245e38 fix kexec load hang in case crash notes addr read failure 7ab842d8a004 kexec: use mmap instead of read for slurp_file() a304e2d82a8c ppc64: purgatory: Reset primary cpu endian to big-endian 97a07e2775ef Drop release date from kexec-tools version output cb9a818ff2ac Add persistent memory support c9c21cc107dc kexec: use _DEFAULT_SOURCE instead to remove compiling warning 973426e85377 kexec-tools 2.0.10.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.11
Hi, Simon On 11/09/15 at 10:55am, Simon Horman wrote: > Hi all, > > I am happy to announce the release of kexec-tools 2.0.11. > > This is a feature release coinciding with the release of the v4.3 Linux > Kernel. > Cool, I'm rebasing to it in Fedora kexec-tools.. Thanks Dave ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.12 preparation
Hi all, I am planning to release kexec-tools v2.0.12 around the time that the v4.5 kernel is released. As I estimate that the latter occur within the few weeks I would like to ask interested parties to send any patches they would like included in v2.0.12 within the next week so that I can make an rc release. For reference the patches queued up since v2.0.12 are as follows: 7c53754e5da8 kexec/fs2dt.c: wrong dt node fix 61cfab4e2ce0 vmcore-dmesg: Collect full dmesg regardless of logged_chars 35cb8a0761a0 ppc64: Add a flag to tell the kernel it's booting from kexec eff306e8914c Revert "crashdump/x86: Add option to get crash kernel region size" 8a1aa35a1077 crashdump/x86: Add option to get crash kernel region size 6ba9e97c5b5f x86: Make sure E820_PM[AE]M are defined if needed 56a12abc1df1 kexec: fix mmap return code handling 0e1030b345b9 Improve device tree directory sorting 4bad06c3cd2a arm: use /sys/firmware/fdt in case without --atags and --dtb 4580c372000b kexec/fs2dt: check for /chosen/stdout-path first 68262155d8c6 kexec/fs2dt: cleanup pathname 65a15228b570 kexec/fs2dt: s/diabled/disabled/ e0e7a11783c1 kexex: arm: create ATAGS_MEM tag from devicetree memory node 084ed28061e1 uImage: fix pointer-sign warning bc1d49d51dd1 kexec: determine size of block device 95741713e790 kexec/s390x: use mmap instead of read for slurp_file() 8d8c6bcee593 kexec-tools 2.0.12.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.12-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.12-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.12 in a weeks time. Testing of 2.0.12-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.12 at this time. And I would like to only accept bug fixes at this time and take take features patches once 2.0.12 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.12-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.11 are: 93d3a61783ec kexec-tools 2.0.12-rc1 7c53754e5da8 kexec/fs2dt.c: wrong dt node fix 61cfab4e2ce0 vmcore-dmesg: Collect full dmesg regardless of logged_chars 35cb8a0761a0 ppc64: Add a flag to tell the kernel it's booting from kexec eff306e8914c Revert "crashdump/x86: Add option to get crash kernel region size" 8a1aa35a1077 crashdump/x86: Add option to get crash kernel region size 6ba9e97c5b5f x86: Make sure E820_PM[AE]M are defined if needed 56a12abc1df1 kexec: fix mmap return code handling 0e1030b345b9 Improve device tree directory sorting 4bad06c3cd2a arm: use /sys/firmware/fdt in case without --atags and --dtb 4580c372000b kexec/fs2dt: check for /chosen/stdout-path first 68262155d8c6 kexec/fs2dt: cleanup pathname 65a15228b570 kexec/fs2dt: s/diabled/disabled/ e0e7a11783c1 kexex: arm: create ATAGS_MEM tag from devicetree memory node 084ed28061e1 uImage: fix pointer-sign warning bc1d49d51dd1 kexec: determine size of block device 95741713e790 kexec/s390x: use mmap instead of read for slurp_file() 8d8c6bcee593 kexec-tools 2.0.12.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.13 preparation
Hi all, I am planning to release kexec-tools v2.0.13 around the time that the v4.7 kernel is released. I would like to ask interested parties to send any patches they would like included in v2.0.13 within the next week so that I can make an rc release. For reference the patches queued up since v2.0.12 are as follows: 8d614008609f arm: use zImage size from header f11d833efcbf arm: plug a zImage corner case 4db7f295d596 arm: fix kernel image size fe9b19d49be8 arm: take account of TEXT_OFFSET for subsequent images bf759f2aa662 Remove "max" parameter comment dfd1de046099 arm: report which ELF core format we will use 9eb4a681fde5 arm: clean up phys/page offset debug 2f10ffb193c2 arm: fix type of phys_offset fbee2f01cddf arm: add debug of reserved and coredump memory ranges 921a8d1d5bb2 arm: add support for boot-time crash kernel resource db8209860120 arm: add support for multiple reserved regions 3e6bd29e7b02 arm: rename crash_reserved_mem to crash_kernel_mem e401f4732157 arm: crashdump needs boot alias of crash kernel region 92e120d8ca5e arm: add support for platforms with boot memory aliases 103656d85960 arm: move crash system RAM parsing earlier 11c52266a2e3 arm: use generic mem_region sorting implementation a40977d6d7ed arm: parse crash_reserved_mem early d4b51af1719d arm: add maximum number of memory ranges 66d941fccb47 arm: add memory ranges debug ccb582a4399f arm: report if crash kernel is out of bounds 8431da92d965 arm: return proper error for missing crash kernel a5eacd16516f arm: fix ELF32/ELF64 check 38c18bb7d1e2 arm: fix get_kernel_stext_sym() to close its file 2185c79d3bf4 arm: fix off-by-one on memory end 45251676e562 arm: fix pointer signedness warning in kexec-uImage-arm.c 61ac72aefb9e kexec: add helper to exlude a region from a set of memory ranges 7dc06a544ffd kexec: add mem_regions sorting implementation ba1e37a8ede8 kexec: add generic helper to add to memory_regions 8d8d2229a3af kexec: phys_to_virt() must take unsigned long long 5450d34a8864 kexec: add max_size to memory_ranges 58a5eb73678e kexec: fix warnings caused by selecting 64-bit file IO on 32-bit platforms 1c28b55604f3 kdump: print mmap() offset in hex cb9056e009a9 arm: fix kdump to work on LPAE systems 58afa4991bf8 kdump: fix kdump mapping e11f8002ce69 kdump: actually write out the memory 5a5ef3b9b71c kdump: fix multiple program header entries bab7cb1ce778 kdump: mmap() and munmap() only work on page-aligned quantites 2a36d76bbbc3 arm: Change setup_dtb_prop to create nodes by offset and node name a4360e730675 zImage-arm: Add support for booting android images 977f0ced4343 zImage-arm: Fix a return value check that use the wrong variable 3debb8cf3272 Properly align powerpc64 .toc 1e423dc297d1 ppc64: purgatory: Handle local symbols in ELF ABIv2 4a2ae3a39c64 Pass struct mem_sym into machine_apply_elf_rel() 75f7bc488432 kexec-tools 2.0.12.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.13-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.13-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.13 in a weeks time. Testing of 2.0.13-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.13 at this time. And I would like to only accept bug fixes at this time and take take features patches once 2.0.13 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.13-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.12 are: d41c3bb5dcbf kexec-tools 2.0.13-rc1 8d614008609f arm: use zImage size from header f11d833efcbf arm: plug a zImage corner case 4db7f295d596 arm: fix kernel image size fe9b19d49be8 arm: take account of TEXT_OFFSET for subsequent images bf759f2aa662 Remove "max" parameter comment dfd1de046099 arm: report which ELF core format we will use 9eb4a681fde5 arm: clean up phys/page offset debug 2f10ffb193c2 arm: fix type of phys_offset fbee2f01cddf arm: add debug of reserved and coredump memory ranges 921a8d1d5bb2 arm: add support for boot-time crash kernel resource db8209860120 arm: add support for multiple reserved regions 3e6bd29e7b02 arm: rename crash_reserved_mem to crash_kernel_mem e401f4732157 arm: crashdump needs boot alias of crash kernel region 92e120d8ca5e arm: add support for platforms with boot memory aliases 103656d85960 arm: move crash system RAM parsing earlier 11c52266a2e3 arm: use generic mem_region sorting implementation a40977d6d7ed arm: parse crash_reserved_mem early d4b51af1719d arm: add maximum number of memory ranges 66d941fccb47 arm: add memory ranges debug ccb582a4399f arm: report if crash kernel is out of bounds 8431da92d965 arm: return proper error for missing crash kernel a5eacd16516f arm: fix ELF32/ELF64 check 38c18bb7d1e2 arm: fix get_kernel_stext_sym() to close its file 2185c79d3bf4 arm: fix off-by-one on memory end 45251676e562 arm: fix pointer signedness warning in kexec-uImage-arm.c 61ac72aefb9e kexec: add helper to exlude a region from a set of memory ranges 7dc06a544ffd kexec: add mem_regions sorting implementation ba1e37a8ede8 kexec: add generic helper to add to memory_regions 8d8d2229a3af kexec: phys_to_virt() must take unsigned long long 5450d34a8864 kexec: add max_size to memory_ranges 58a5eb73678e kexec: fix warnings caused by selecting 64-bit file IO on 32-bit platforms 1c28b55604f3 kdump: print mmap() offset in hex cb9056e009a9 arm: fix kdump to work on LPAE systems 58afa4991bf8 kdump: fix kdump mapping e11f8002ce69 kdump: actually write out the memory 5a5ef3b9b71c kdump: fix multiple program header entries bab7cb1ce778 kdump: mmap() and munmap() only work on page-aligned quantites 2a36d76bbbc3 arm: Change setup_dtb_prop to create nodes by offset and node name a4360e730675 zImage-arm: Add support for booting android images 977f0ced4343 zImage-arm: Fix a return value check that use the wrong variable 3debb8cf3272 Properly align powerpc64 .toc 1e423dc297d1 ppc64: purgatory: Handle local symbols in ELF ABIv2 4a2ae3a39c64 Pass struct mem_sym into machine_apply_elf_rel() 75f7bc488432 kexec-tools 2.0.12.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.13
Hi, Simon On 08/08/16 at 12:34pm, Simon Horman wrote: > Hi all, > > I am happy to announce the release of kexec-tools 2.0.13. > > This is a feature release coinciding with the release of the v4.7 Linux > Kernel[*]. > > This release can be downloaded from kernel.org: > > http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.13.tar.xz The tarball can not build on armv7, below patch should fix it: -- kexec-tools armv7 build fix armv7 build failed as below: kexec/arch/arm/phys_to_virt.c:3:26: fatal error: phys_to_virt.h: No such file or directory #include "phys_to_virt.h" ^ Ditto for kexec/arch/arm/iomem.h Add them to dist make target to fix it. Signed-off-by: Dave Young --- kexec/arch/arm/Makefile |1 + 1 file changed, 1 insertion(+) --- kexec-tools.orig/kexec/arch/arm/Makefile +++ kexec-tools/kexec/arch/arm/Makefile @@ -27,6 +27,8 @@ arm_KEXEC_SRCS += $(libfdt_SRCS) arm_UIMAGE = kexec/kexec-uImage.c arm_PHYS_TO_VIRT = kexec/arch/arm/phys_to_virt.c +arm_PHYS_TO_VIRT += kexec/arch/arm/iomem.h +arm_PHYS_TO_VIRT += kexec/arch/arm/phys_to_virt.h dist += kexec/arch/arm/Makefile $(arm_KEXEC_SRCS) $(arm_PHYS_TO_VIRT) \ kexec/arch/arm/crashdump-arm.h kexec/arch/arm/kexec-arm.h \ ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.13
Hi Dave, On Tue, Aug 09, 2016 at 03:57:47PM +0800, Dave Young wrote: > Hi, Simon > > On 08/08/16 at 12:34pm, Simon Horman wrote: > > Hi all, > > > > I am happy to announce the release of kexec-tools 2.0.13. > > > > This is a feature release coinciding with the release of the v4.7 Linux > > Kernel[*]. > > > > This release can be downloaded from kernel.org: > > > > http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.13.tar.xz > > The tarball can not build on armv7, below patch should fix it: > -- > kexec-tools armv7 build fix > > armv7 build failed as below: > > kexec/arch/arm/phys_to_virt.c:3:26: fatal error: phys_to_virt.h: No such file > or directory > #include "phys_to_virt.h" > ^ > Ditto for kexec/arch/arm/iomem.h > > Add them to dist make target to fix it. Sorry for letting that slip through and double sorry for not responding for so long. I have applied the following: From: Dave Young Date: Tue, 9 Aug 2016 15:57:47 +0800 Subject: [PATCH] arm: include phys_to_virt.h and iomem.h in distribution These files are required to build kexec-tools on arm. Signed-off-by: Dave Young [simon: added changelog] Signed-off-by: Simon Horman --- kexec/arch/arm/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kexec/arch/arm/Makefile b/kexec/arch/arm/Makefile index 71db8c32ce13..871979e0ae26 100644 --- a/kexec/arch/arm/Makefile +++ b/kexec/arch/arm/Makefile @@ -27,6 +27,8 @@ arm_KEXEC_SRCS += $(libfdt_SRCS) arm_UIMAGE = kexec/kexec-uImage.c arm_PHYS_TO_VIRT = kexec/arch/arm/phys_to_virt.c +arm_PHYS_TO_VIRT += kexec/arch/arm/iomem.h +arm_PHYS_TO_VIRT += kexec/arch/arm/phys_to_virt.h dist += kexec/arch/arm/Makefile $(arm_KEXEC_SRCS) $(arm_PHYS_TO_VIRT) \ kexec/arch/arm/crashdump-arm.h kexec/arch/arm/kexec-arm.h \ -- 2.7.0.rc3.207.g0ac5344 ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.14 preparation
Hi all, I am planning to release kexec-tools v2.0.14 around the time that the v4.9 kernel is released. I would like to ask interested parties to send any patches they would like included in v2.0.14 within one week so that I can make an rc release. For reference the patches queued up since v2.0.13 are as follows: 0a7fba8b1453 purgatory: Change default sha256 optimization to -O2 ec271d6c2988 arm64: Add support of R_AARCH64_PREL32 relocation in purgatory c743758d77b8 arm64: Add support for additional relocations in the kexec purgatory code e345e27417db arm64: Add missing kexec dist files 402cf1427293 arm64: Cleanup kexec Makefile 16fd64af363b kexec/fs2dt: Check for NULL pointer in dt_copy_old_root_param() 6e8804f9ca67 multiboot: Use the "reserved" type for non-ram zones 53634c3e9a0c multiboot: Fix length computation for the memory zones 97b6f5f78d95 kexec elf: Sanity check on the note header before accessing it 1574ff1aae4f arm: include phys_to_virt.h and iomem.h in distribution 29086f45a45f kexec: socket not released when error situation occur. 9fd57cad8a0f kexec: fix mem_regions_sort() 9f62cbfc kexec/arch/i386: Add support for KASLR memory randomization abdfe97736f8 arm64: Add support for binary image files 522df5f7217f arm64: Add arm64 kexec support 217bcc00c930 kexec: Add common device tree routines f7a0ff52e04d kexec-tools 2.0.13.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.14-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.14-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.14 in a weeks time. Testing of 2.0.14-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.14 at this time. And I would like to only accept bug fixes at this time and take take features patches once 2.0.14 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.14-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.13 are: 1e344e03a844 kexec-tools 2.0.14-rc1 c901bae8683c arm: do not build iomem.o target with no soruce a73747863c60 ia64: ehdr is not UNUSED in machine_apply_elf_rel a2451670230c arm64: Fix initrd requierements 6d972b95c6d9 mips: add option to load initrd from a specified file 83a53ce9248f mips: add dtb loading support 18bf48b15c28 mips: crashdump: add little-endian support fecd481fbe61 mips: move arch option parsing from elf loader to common arch code b5f715e98eac mips: use arch_options for both 32 and 64 bit variants 641a18e344c6 mips: remove incorrect arch_usage string dbb99d938810 kexec-tools/x86: get_kernel_vaddr_and_size off-by-one fix 0a7fba8b1453 purgatory: Change default sha256 optimization to -O2 ec271d6c2988 arm64: Add support of R_AARCH64_PREL32 relocation in purgatory c743758d77b8 arm64: Add support for additional relocations in the kexec purgatory code e345e27417db arm64: Add missing kexec dist files 402cf1427293 arm64: Cleanup kexec Makefile 16fd64af363b kexec/fs2dt: Check for NULL pointer in dt_copy_old_root_param() 6e8804f9ca67 multiboot: Use the "reserved" type for non-ram zones 53634c3e9a0c multiboot: Fix length computation for the memory zones 97b6f5f78d95 kexec elf: Sanity check on the note header before accessing it 1574ff1aae4f arm: include phys_to_virt.h and iomem.h in distribution 29086f45a45f kexec: socket not released when error situation occur. 9fd57cad8a0f kexec: fix mem_regions_sort() 9f62cbfc kexec/arch/i386: Add support for KASLR memory randomization abdfe97736f8 arm64: Add support for binary image files 522df5f7217f arm64: Add arm64 kexec support 217bcc00c930 kexec: Add common device tree routines f7a0ff52e04d kexec-tools 2.0.13.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.14
Hi, Simon On 12/20/16 at 09:26am, Simon Horman wrote: > Hi all, > > I am happy to announce the release of kexec-tools 2.0.14. > > This is a feature release coinciding with the release of the v4.9 Linux > Kernel. > > This release can be downloaded from kernel.org: > > http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.14.tar.xz > http://kernel.org/pub/linux/utils/kernel/kexec/ > > It is also tagged it in git: > > git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git > > Thanks to everyone who has contributed to kexec. Thanks for the new version~, I have rebased Fedora rawhide kexec-tools to 2.0.14. It works well during previous test of -rc version. Thanks Dave ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.15 preparation
Hi all, I am planning to release kexec-tools v2.0.15 in the next two weeks. The normal cadence would have seen it released around the time of the v4.11 kernel. I apologise that I am kicking off this process several weeks behind that schedule. I would like to ask interested parties to send any patches they would like included in v2.0.15 within one week so that I can make an rc release. For reference the patches queued up since v2.0.14 are as follows: fab91841c717 Handle additional e820 memmap type strings c504ff5d85aa arm64: kdump: Add support for binary image files 5f955585c7c9 arm64: kdump: add DT properties to crash dump kernel's dtb defad947feff arm64: kdump: set up other segments 1591926df5a6 arm64: kdump: set up kernel image segment 0bd5219da953 arm64: kdump: add elf core header segment c0672c93edcb arm64: kdump: identify memory regions a17234fe94bc arm64: change return values on error to negative ef26cc33b8d6 arm64: identify PHYS_OFFSET correctly 325804055e99 kexec: generalize and rename get_kernel_stext_sym() c95df0e099b1 kexec: extend the semantics of kexec_iomem_for_each_line 59d3e5b5ad6f Fix broken Xen support in configure.ac 4a6d67d9e938 x86: Support large number of memory ranges 0516f46adbf3 crashdump: Remove stray get_crashkernel_region() declaration 82a49747e5ad ppc: Fix format warning with die() 1550f81bf188 x86/x86_64: Fix format warning with die() 47cc70157c66 Don't use %L width specifier with integer values 2f6f6d6fef78 vmcore-dmesg: Define _GNU_SOURCE 896fb2aa30c6 arm64: add uImage support a0c575793b86 uImage: use 'char *' instead of 'unsigned char *' for uImage_probe() f25146afc5a9 uImage: use 'char *' instead of 'unsigned char *' for uImage_load() b3d533c1f499 uImage: Add new IH_ARCH_xxx definitions 67234243bb91 uImage: Fix uImage_load() for little-endian machines 0cc1891c4dc8 uImage: fix realloc() pointer confusion ed15ba1b9977 build_mem_phdrs(): check if p_paddr is invalid 263e45ccf27b Only print debug message when failed to serach for kernel symbol from /proc/kallsyms 7dac152d5b47 gitignore: add two generated files in purgatory 05ae4fb2e354 crashdump/sh: Add get_crash_kernel_load_range() function 796f0ffa134d crashdump/s390: Add get_crash_kernel_load_range() function e4280e22c8c4 crashdump/ppc64: Add get_crash_kernel_load_range() function 7fc80cfcd913 crashdump/ppc: Add get_crash_kernel_load_range() function d2caf4c4c43b crashdump/mips: Add get_crash_kernel_load_range() function 14d71e51e5c9 crashdump/m68k: Add get_crash_kernel_load_range() function 5c80bd9be295 crashdump/ia64: Add get_crash_kernel_load_range() function b6af22826f60 crashdump/cris: Add get_crash_kernel_load_range() function d43610084164 crashdump/arm64: Add get_crash_kernel_load_range() function cfcf60c38182 crashdump/arm: Add get_crash_kernel_load_range() function 76b31203222a kexec: Add option to get crash kernel region size e49623b0787d purgatory: Add purgatory.map and purgatory.ro.sym to clean recipe ceedb33e6cd3 kexec: Remove redundant space from help message 2cf7cb9a6080 kexec: implemented XEN KEXEC STATUS to determine if an image is loaded 4eaa36cd01a9 alpha: add missing __NR_kexec_load definition 24aa2d93cac3 kexec: Increase the upper limit for RAM segments f63d8530b9b6 ppc64: Reduce number of ELF LOAD segments 9da19c0a6f49 kexec-tools 2.0.14.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.15-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.15-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.15 in a weeks time. Testing of 2.0.15-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.15 at this time. And I would like to only accept bug fixes at this time and take take features patches once 2.0.15 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.15-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.14 are: 302e1e362753 kexec-tools 2.0.15-rc1 fab91841c717 Handle additional e820 memmap type strings c504ff5d85aa arm64: kdump: Add support for binary image files 5f955585c7c9 arm64: kdump: add DT properties to crash dump kernel's dtb defad947feff arm64: kdump: set up other segments 1591926df5a6 arm64: kdump: set up kernel image segment 0bd5219da953 arm64: kdump: add elf core header segment c0672c93edcb arm64: kdump: identify memory regions a17234fe94bc arm64: change return values on error to negative ef26cc33b8d6 arm64: identify PHYS_OFFSET correctly 325804055e99 kexec: generalize and rename get_kernel_stext_sym() c95df0e099b1 kexec: extend the semantics of kexec_iomem_for_each_line 59d3e5b5ad6f Fix broken Xen support in configure.ac 4a6d67d9e938 x86: Support large number of memory ranges 0516f46adbf3 crashdump: Remove stray get_crashkernel_region() declaration 82a49747e5ad ppc: Fix format warning with die() 1550f81bf188 x86/x86_64: Fix format warning with die() 47cc70157c66 Don't use %L width specifier with integer values 2f6f6d6fef78 vmcore-dmesg: Define _GNU_SOURCE 896fb2aa30c6 arm64: add uImage support a0c575793b86 uImage: use 'char *' instead of 'unsigned char *' for uImage_probe() f25146afc5a9 uImage: use 'char *' instead of 'unsigned char *' for uImage_load() b3d533c1f499 uImage: Add new IH_ARCH_xxx definitions 67234243bb91 uImage: Fix uImage_load() for little-endian machines 0cc1891c4dc8 uImage: fix realloc() pointer confusion ed15ba1b9977 build_mem_phdrs(): check if p_paddr is invalid 263e45ccf27b Only print debug message when failed to serach for kernel symbol from /proc/kallsyms 7dac152d5b47 gitignore: add two generated files in purgatory 05ae4fb2e354 crashdump/sh: Add get_crash_kernel_load_range() function 796f0ffa134d crashdump/s390: Add get_crash_kernel_load_range() function e4280e22c8c4 crashdump/ppc64: Add get_crash_kernel_load_range() function 7fc80cfcd913 crashdump/ppc: Add get_crash_kernel_load_range() function d2caf4c4c43b crashdump/mips: Add get_crash_kernel_load_range() function 14d71e51e5c9 crashdump/m68k: Add get_crash_kernel_load_range() function 5c80bd9be295 crashdump/ia64: Add get_crash_kernel_load_range() function b6af22826f60 crashdump/cris: Add get_crash_kernel_load_range() function d43610084164 crashdump/arm64: Add get_crash_kernel_load_range() function cfcf60c38182 crashdump/arm: Add get_crash_kernel_load_range() function 76b31203222a kexec: Add option to get crash kernel region size e49623b0787d purgatory: Add purgatory.map and purgatory.ro.sym to clean recipe ceedb33e6cd3 kexec: Remove redundant space from help message 2cf7cb9a6080 kexec: implemented XEN KEXEC STATUS to determine if an image is loaded 4eaa36cd01a9 alpha: add missing __NR_kexec_load definition 24aa2d93cac3 kexec: Increase the upper limit for RAM segments f63d8530b9b6 ppc64: Reduce number of ELF LOAD segments 9da19c0a6f49 kexec-tools 2.0.14.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.16 preparation
Hi all, I am planning to release kexec-tools v2.0.16 in the next two weeks. The normal cadence would have seen it released around the time of the v4.13 kernel. I apologise that once again things have slipped and the plan is no to release around the time of the v4.14 kernel. I would like to ask interested parties to send any patches they would like included in v2.0.16 within one week so that I can make an rc release. For reference the patches queued up since v2.0.15 are as follows: c06753313db7 kexec-tools: mips: Use proper page_offset for OCTEON CPUs. 77e769bd1d1f kexec-tools: mips: Merge adjacent memory ranges. 508c7d45e270 kexec-tools: mips: Try to include bss in kernel vmcore file. 552bfbfc00ee kexec-tools: mips: Don't set lowmem_limit to 2G for 64-bit systems. 69431282f075 kexec-tools: ppc64: fix leak while checking for coherent device memory aec4d0f7a250 kexec-tools: ppc64: avoid adding coherent memory regions to crash memory ranges 21eb397a5fc9 kexec-tools: powerpc: fix command line overflow error 47478ea66d43 kexec-tools: ppc64: fix how RMA top is deduced 161dd0f4f8a8 kexec-tools 2.0.15.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.16-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.16-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.16 in a weeks time. Testing of 2.0.16-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.16 at this time. And I would like to only accept bug fixes at this time and take take features patches once 2.0.16 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.16-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.15 are: b047ace53677 kexec-tools 2.0.16-rc1 e08d26b3b7f1 vmcore-dmesg: avoid allocating large memory chunk for log buf 9004e19ca2e7 ARM: read kernel size from zImage 34bf700f981a ARM: cleanup initrd and dtb handing c06753313db7 kexec-tools: mips: Use proper page_offset for OCTEON CPUs. 77e769bd1d1f kexec-tools: mips: Merge adjacent memory ranges. 508c7d45e270 kexec-tools: mips: Try to include bss in kernel vmcore file. 552bfbfc00ee kexec-tools: mips: Don't set lowmem_limit to 2G for 64-bit systems. 69431282f075 kexec-tools: ppc64: fix leak while checking for coherent device memory aec4d0f7a250 kexec-tools: ppc64: avoid adding coherent memory regions to crash memory ranges 21eb397a5fc9 kexec-tools: powerpc: fix command line overflow error 47478ea66d43 kexec-tools: ppc64: fix how RMA top is deduced 161dd0f4f8a8 kexec-tools 2.0.15.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.17 preparation
Hi all, I am planning to release kexec-tools v2.0.17 in the next two weeks to roughly coincide with the release of the v4.16 kernel. I would like to ask interested parties to send any patches they would like included in v2.0.17 within one week so that I can make an rc release. For reference the patches queued up since v2.0.16 are as follows: 3720b743ae3c kexec/ppc64: leverage kexec_file_load support b10924a7da3c kexec/ppc64: add support to parse ibm, dynamic-memory-v2 property c740fdb20482 kexec: add a helper function to add ranges 060eee589dd1 x86: use old screen_info if needed 282ff2a5e613 kexec-tools: Make xc_dlhandle static 58c225a6d762 kexec-tools: Call dlclose() from within __xc_interface_close() 894bea9335f5 kexec-tools: Perform run-time linking of libxenctrl.so 401e096166ce kexec-tools 2.0.16.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.17-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.17-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.17 in a weeks time. Testing of 2.0.17-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.17 at this time. And I would like to only accept bug fixes at this time and take take features patches once 2.0.17 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.17-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.16 are: 090e8eceed79 kexec-tools 2.0.17-rc1 a0c27338252d Fix a segmentation fault when trying to run "kexec -p" 5c08af7a068d arm64: fix an issue with kaslr-enabled vmlinux b2b05352ae5e kexec: Document -s, -c and -a options in the man page 20fea93e6caf kexec: Add option to fall back to KEXEC_LOAD when KEXEC_FILE_LOAD is not supported b58d076a6ed3 kexec: Add option to revert -s cb434cbe6f40 kexec: Do not special-case the -s option 6259b12f5cc8 kexec: Fix option checks to take KEXEC_FILE_LOAD into account 61a03fe9795c kexec: Return -ENOSYS when kexec does not know how to call KEXEC_FILE_LOAD 3720b743ae3c kexec/ppc64: leverage kexec_file_load support b10924a7da3c kexec/ppc64: add support to parse ibm, dynamic-memory-v2 property c740fdb20482 kexec: add a helper function to add ranges 060eee589dd1 x86: use old screen_info if needed 282ff2a5e613 kexec-tools: Make xc_dlhandle static 58c225a6d762 kexec-tools: Call dlclose() from within __xc_interface_close() 894bea9335f5 kexec-tools: Perform run-time linking of libxenctrl.so 401e096166ce kexec-tools 2.0.16.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
kdump in upstream kexec-tools
Hi, I was working on improving documentation/structure of the upstream kexec-tools and I was wondering what is the purpose of the 'kdump' directory inside the kexec-tools. This kdump utility seems to cause confusion with the 'kdump' utility present inside some distributions (for e.g. '/usr/sbin/kdump' present inside fedora) due to the same naming convention and so we should populate/modify the kdump man page to indicate the same, so as to avoid confusion. Presently here are the contents of this directory: # ls kdump/ kdump.8 kdump.c Makefile - Out of these the kdump man documentation (kdump.8) is just a placeholder as suggested by the man page documentation: "kdump - This is just a placeholder until real man page has been written" - Looking at kdump.c : 1. I understand that this code is mainly used to read a crashdump from memory. One can run the same using: # kdump where start_addr is basically the start address of the core dump (which can also be represented via the 'elfcorehdr' environment variable being passed to the crash kernel which represents the physical address of the start of the ELF header) 2. This tool needs READ_ONLY access to /dev/mem (so we need to set CONFIG_STRICT_DEVMEM configuration option accordingly). 3. The code thereafter reads (via mmap) and verifies the ELF header. Subsequently it reads (via mmap) the program header. 4. Then we collect all the notes and write on STDOUT all the headers and notes found in the crashdump collected from memory. So, as per my understanding even in absence of (more powerful) tools like crash (or gdb), we can still go ahead and read the crashdump from memory and display all the headers and notes present in the same on standard serial out interface using this kdump utility. This is probably a good to have feature for systems which have very simple/minimal rootfs (and I see that a few arm32 systems seem to use the same as well) or are low on memory availability. Now, I wanted to confirm if the 'kdump' utility for reading crashdump collected from memory is still needed (as the last commit is dated back to 2016 and was done for arm32 systems). If yes, I can go ahead and enhance the kdump man page to include the description given above - so that it helps users understand how to run the tool. Please share your opinions. Regards, Bhupesh ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.18 preparation
Hi all, I am planning to release kexec-tools v2.0.18 in the next two weeks to roughly coincide with the release of the v4.19 kernel. I would like to ask interested parties to send any patches they would like included in v2.0.18 within one week so that I can make an rc release. For reference the patches queued up since v2.0.17 are as follows: b9de21ef51a7 kexec: fix for "Unhandled rela relocation: R_X86_64_PLT32" error ca4823aa2fc2 arm64: error out if kernel command line is too long 7198e899ddab arm64: increase command line size to 2048 c3f043241a86 arm64: Add support to supply 'kaslr-seed' to secondary kernel 7acd257ae67b Remove obsolete kdump tool 674b9b45876c Makefile.in: Add uninstall rule e277fa9ec702 vmcore-dmesg: fix infinite loop if log buffer wraps around d4a948c26827 kexec/s390: Add support for kexec_file_load 0481e9ed61ef kexec: Add --no-checks option 72c146c20588 purgatory/ppc64: Fix uninitialized warning 3f276f71f14d kexec-elf-rel-ppc64: Fix cast from pointer warning 7be89276db19 crashdump-ppc64: Fix integer truncation warning 798317c134b2 kexec: Fix printf warning b43960c20dd2 kexec-tools 2.0.17.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.18-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.18-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.18 in a weeks time. Testing of 2.0.18-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.18 at this time. And I would like to only accept bug fixes at this time and take take features patches once 2.0.18 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.18-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.17 are: 94159bc3c264 kexec-tools 2.0.18-rc1 1ac3e4a57000 kdump: fix an error that can not parse the e820 reserved region b9de21ef51a7 kexec: fix for "Unhandled rela relocation: R_X86_64_PLT32" error ca4823aa2fc2 arm64: error out if kernel command line is too long 7198e899ddab arm64: increase command line size to 2048 c3f043241a86 arm64: Add support to supply 'kaslr-seed' to secondary kernel 7acd257ae67b Remove obsolete kdump tool 674b9b45876c Makefile.in: Add uninstall rule e277fa9ec702 vmcore-dmesg: fix infinite loop if log buffer wraps around d4a948c26827 kexec/s390: Add support for kexec_file_load 0481e9ed61ef kexec: Add --no-checks option 72c146c20588 purgatory/ppc64: Fix uninitialized warning 3f276f71f14d kexec-elf-rel-ppc64: Fix cast from pointer warning 7be89276db19 crashdump-ppc64: Fix integer truncation warning 798317c134b2 kexec: Fix printf warning b43960c20dd2 kexec-tools 2.0.17.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
kexec-tools and multiboot breakage
Hi Simon, When you get a moment, please check out http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735360 Quick summary: If your kernel is configured to protect the first few pages of physical memory, then low memory doesn't start at location 0 --- so when scanning the memory ranges from /proc/iomem, the code in kexec/arch/i386/kexec-multiboot-x86.c never fills in mem_lower. I think it's safe to assume that if a memory segment starts at 64k or lower, it can be extended to location 0 because of the kernel protection on a PC99-style architecture. Peter C -- Dr Peter Chubb peter.chubb AT nicta.com.au http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
More frequent kexec-tools releases
Hi All, Just now we were discussing that fedora kexec-tools should rebase to upstream kexec-tools every release so that we can test the latest code sooner. Then Dave Young pulled in some data about the kexec-tools release duration. Date: Tue Mar 19 10:46:46 2013 +0900 kexec-tools 2.0.4 ~100 commits Date: Mon Jan 16 09:15:25 2012 +1100 kexec-tools 2.0.3 ~100 commits Date: Thu Jul 29 13:40:00 2010 +0900 kexec-tools 2.0.2 ~80 commits Date: Thu Aug 13 09:28:08 2009 +1000 kexec-tools 2.0.1 ~60 commits Date: Sat Jul 19 10:31:30 2008 +1000 kexec-tools 2.0.0 So that is 5 release in 5.5 years. It is roughly 1 release per year. I am wondering if there is any interest in more frequent releases of kexec-tools. Say every 3 months or every 6 months. IMHO, it might be better if there are more frequent release of kexec-tools (say a release every 6 months) and then every 6 months distributions should be able to rebase to that new release. Thoughts? Thanks Vivek ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.5
On 02/04/2014 06:03 PM, Simon Horman wrote: > I have also tagged it in git: > > git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git I think you forgot to push the tag. Tony ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.5
On Wed, Feb 05, 2014 at 09:46:23AM -0800, Tony Jones wrote: > On 02/04/2014 06:03 PM, Simon Horman wrote: > > > I have also tagged it in git: > > > > git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git > > I think you forgot to push the tag. Sorry about that, it should be there now. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.7 preparation
Hi all, I am planning to release kexec-tools 2.0.7 around about the same time that the v3.15 kernel is released. As I estimate that the latter occur within the next two or three weeks I would like to ask interested parties to send any patches they would like included in 2.0.7 within the next week so that I can make an rc release. Thanks. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.7-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.7-rc1. This is a feature pre-release. I intend to release 2.0.7 next week as long as no serious problems arise. As such testing of 2.0.7-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.7 at this time. And I would like to only accept bug fixes at this time. Taking features patches once 2.0.7 has been released. The pre-release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.7-rc1.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.7
On 06/09/14 at 10:01am, Simon Horman wrote: > Hi all, > > I am happy to announce the release of kexec-tools 2.0.7. Simon, Thanks for the new release. FYI, the efi kernel patch has been merged into 3.15 kernel: commit a3530e8fe980f756b823d451fe9243f26db95fa5 Author: Dave Young Date: Fri May 30 11:20:10 2014 +0800 x86/efi: Do not export efi runtime map in case old map For ioremapped efi memory aka old_map the virt addresses are not persistant across kexec reboot. kexec-tools will read the runtime maps from sysfs then pass them to 2nd kernel and assuming kexec efi boot is ok. This will cause kexec boot failure. To address this issue do not export runtime maps in case efi old_map so userspace can use no efi boot instead. Signed-off-by: Dave Young Acked-by: Borislav Petkov Acked-by: Vivek Goyal Signed-off-by: Matt Fleming -- Thanks Dave ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.7
On Mon, Jun 09, 2014 at 10:15:37AM +0800, Dave Young wrote: > On 06/09/14 at 10:01am, Simon Horman wrote: > > Hi all, > > > > I am happy to announce the release of kexec-tools 2.0.7. > > Simon, > > Thanks for the new release. > > FYI, the efi kernel patch has been merged into 3.15 kernel: Great, thanks for letting me know. > commit a3530e8fe980f756b823d451fe9243f26db95fa5 > Author: Dave Young > Date: Fri May 30 11:20:10 2014 +0800 > > x86/efi: Do not export efi runtime map in case old map > > For ioremapped efi memory aka old_map the virt addresses are not > persistant > across kexec reboot. kexec-tools will read the runtime maps from sysfs > then > pass them to 2nd kernel and assuming kexec efi boot is ok. This will cause > kexec boot failure. > > To address this issue do not export runtime maps in case efi old_map so > userspace can use no efi boot instead. > > Signed-off-by: Dave Young > Acked-by: Borislav Petkov > Acked-by: Vivek Goyal > Signed-off-by: Matt Fleming ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.7
On 06/09/14 at 10:01am, Simon Horman wrote: > Hi all, > > I am happy to announce the release of kexec-tools 2.0.7. Hi, Simon Thanks for the new release! > > This is a feature release coinciding with the release of the v3.15 Linus > Kernel. > > This release can be downloaded from kernel.org: > > > http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.7-rc1.tar.xz Emm.. kexec-tools-2.0.7-rc1.tar.xz? I expect a kexec-tools-2.0.7.tar.xz, but I couldn't find one. Thanks WANG Chao > http://kernel.org/pub/linux/utils/kernel/kexec/ > > It is also tagged it in git: > > git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git > > Thanks to everyone who has contributed to kexec. > > ___ > kexec mailing list > kexec@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.7
On Mon, Jun 9, 2014 at 11:54 AM, WANG Chao wrote: > On 06/09/14 at 10:01am, Simon Horman wrote: >> Hi all, >> >> I am happy to announce the release of kexec-tools 2.0.7. > > Hi, Simon > > Thanks for the new release! > >> >> This is a feature release coinciding with the release of the v3.15 Linus >> Kernel. >> >> This release can be downloaded from kernel.org: >> >> >> http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.7-rc1.tar.xz > > Emm.. kexec-tools-2.0.7-rc1.tar.xz? I expect a kexec-tools-2.0.7.tar.xz, > but I couldn't find one. I can only find https://www.kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.7.tar Yegor ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.7
On Mon, Jun 09, 2014 at 10:41:19PM +0200, Yegor Yefremov wrote: > On Mon, Jun 9, 2014 at 11:54 AM, WANG Chao wrote: > > On 06/09/14 at 10:01am, Simon Horman wrote: > >> Hi all, > >> > >> I am happy to announce the release of kexec-tools 2.0.7. > > > > Hi, Simon > > > > Thanks for the new release! > > > >> > >> This is a feature release coinciding with the release of the v3.15 Linus > >> Kernel. > >> > >> This release can be downloaded from kernel.org: > >> > >> > >> http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.7-rc1.tar.xz > > > > Emm.. kexec-tools-2.0.7-rc1.tar.xz? I expect a kexec-tools-2.0.7.tar.xz, > > but I couldn't find one. > > I can only find > https://www.kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.7.tar Sorry for the mix-up. The following should appear https://www.kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.7.tar.gz https://www.kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.7.tar.xz And the following should disappear https://www.kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.7.tar Once the kernel.org mirror(s) sync themselves. This is in keeping with the files available for the 2.0.5 and 2.0.6 releases. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.8 preparation
Hi all, I am planning to release kexec-tools 2.0.8 around about the same time that the v3.17 kernel is released. As I estimate that the latter occur within the next two or three weeks I would like to ask interested parties to send any patches they would like included in 2.0.8 within the next week so that I can make an rc release. Thanks. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.8-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.8-rc1. This is a feature pre-release. So long as no serious problems arise I intend to release 2.0.8 around the same time as the v3.17 kernel release, which I expect to occur in the next week or so. As such testing of 2.0.8-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.8 at this time. And I would like to only accept bug fixes at this time. Taking features patches once 2.0.8 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.8-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.9 preparation
Hi all, I am planning to release kexec-tools v2.0.9 around the time that the v3.19 kernel is released. As I estimate that the latter occur within the next three or four weeks I would like to ask interested parties to send any patches they would like included in v2.0.9 within the next two weeks so that I can make an rc release. For reference, the (short) list of patches queued up since v2.0.8 is as follows: Revert "kexec, remove panic_on_warn kernel parameter from kdump situations" kexec, remove panic_on_warn kernel parameter from kdump situations kexec/fs2dt: Use slurp_file_len to avoid partial read of files kexec: remove some re zero-assignment kexec/fs2dt: Fix sorting of device tree kexec: distribute kexec/arch/m68k/bootinfo.h kexec-tools 2.0.8.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.9-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.9-rc1. This is a bug-fix pre-release. So long as no serious problems arise I intend to release 2.0.9 around the same time as the v3.19 kernel release, which I expect to occur in the next week or so. As such testing of 2.0.9-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.9 at this time. And I would like to only accept bug fixes at this time. Taking features patches once 2.0.9 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.9-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.10 preparation
Hi all, I am planning to release kexec-tools v2.0.10 around the time that the v4.1 kernel is released. As I estimate that the latter occur within the next three or four weeks I would like to ask interested parties to send any patches they would like included in v2.0.10 within the next two weeks so that I can make an rc release. For reference the patches queued up since v2.0.9 are as follows: 5041d45b1c6b Revert "x86_64: Add support to build kexec-tools with x32 ABI" 4a837c9a19f9 purgatory: force PIC/PIE/SSP off 458e81576530 purgatory: Fix memcmp for src address increment 8da5dd2da475 kexec: remove ordering constraints from -x (--no-ifdown) and -y (--no-sync) ca718aa5070b kexec: implement -y (--no-sync) option 6eb1c19a45bc configure.ac: Fix failure caused by x32 ABI test 5edcbfd1368e x86_64: Add support to build kexec-tools with x32 ABI 720d110389f2 x86: Remove unnecessary res variable from efi_map_added 23a806695fa7 purgatory: Add printf type checking f9f98fd811fe purgatory: Generate map file 835620406833 purgatory: Generate symbol file e42fc55e10fb purgatory: Add no-zero-initialized-in-bss flag 236e30b2b4dc kexec: iomem: fix callbacks params for sh and x86 archs 8e0722a93de0 i386: elf: Fix -Wunused-but-set-variable compilation warning 9116b5e0915d i386: bzImage: Fix -Wunused-but-set-variable compilation warning e932fff3bfa2 kexec: Fix compiler format warning 5a7380559732 kexec: Fix compiler ambiguous else warning fe781d9317e2 mips: remove unused variable. c2ec15074a5d mips: fix warning about implicit type conversion. f9dac450c212 mips: fix compiler warning on printing 64-bit integer. 58bbd468571b configure.ac: apply necessary quotes to result of macro expansion. f5c40daed2ab multiboot: fix crash on NULL kernel command line d606837b56d4 Fix zlib/lzma decompression. 5af63fb020d0 ppc64: erase unnecessary segment info printing e716a4c9fda3 kexec-tools 2.0.10.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.19 preparation
Hi all, I am planning to release kexec-tools v2.0.19 in the next two weeks to roughly coincide with the release of the v5.0 kernel. I would like to ask interested parties to send any patches they would like included in v2.0.18 within one week so that I can make an rc release. For reference the patches queued up since v2.0.18 are as follows: f1f2f9edf8d4 arm64: wipe old initrd addresses when patching the DTB c493af72ac79 purgatory: Use standalond CFLAGS a98b4da4fd4f x86: Handle 64bit framebuffer memory address properly 002b608f3669 multiboot-x86: pass framebuffer information when requested 2880a35f38cd multiboot-x86: pass ACPI reserved memory information in memory map 8776bf88e50d multiboot-x86: support for non-elf kernels b23d0f8cf049 arm64: add kexec_file_load support 64c49f27d880 arm64: Add support to read PHYS_OFFSET from 'kcore' - pt_note or pt_load (if available) f4ce0706d957 util_lib: Add functionality to read elf notes f56cbcf4c276 kexec/dt-ops.c: Fix '/chosen' v/s 'chosen' node being passed to fdt helper functions 5570b4244466 kexec/dt-ops.c: Fix adding '/chosen' node for cases where it is not available in dtb passed via --dtb option 9dcf363f509a kexec/kexec-arm64.c: Add error handling check against return value of 'set_bootargs()' 583dbd57f997 kexec/dt-ops.c: Fix check against 'fdt_add_subnode' return value e5dfb3540219 kexec-tools 2.0.18.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.19-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.19-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.19 in a weeks time. Testing of 2.0.19-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.19 at this time. And I would like to only accept bug fixes at this time and take take features patches once 2.0.19 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.19-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.18 are: 0f9e081cf2d0 kexec-tools 2.0.19-rc1 f1f2f9edf8d4 arm64: wipe old initrd addresses when patching the DTB c493af72ac79 purgatory: Use standalond CFLAGS a98b4da4fd4f x86: Handle 64bit framebuffer memory address properly 002b608f3669 multiboot-x86: pass framebuffer information when requested 2880a35f38cd multiboot-x86: pass ACPI reserved memory information in memory map 8776bf88e50d multiboot-x86: support for non-elf kernels b23d0f8cf049 arm64: add kexec_file_load support 64c49f27d880 arm64: Add support to read PHYS_OFFSET from 'kcore' - pt_note or pt_load (if available) f4ce0706d957 util_lib: Add functionality to read elf notes f56cbcf4c276 kexec/dt-ops.c: Fix '/chosen' v/s 'chosen' node being passed to fdt helper functions 5570b4244466 kexec/dt-ops.c: Fix adding '/chosen' node for cases where it is not available in dtb passed via --dtb option 9dcf363f509a kexec/kexec-arm64.c: Add error handling check against return value of 'set_bootargs()' 583dbd57f997 kexec/dt-ops.c: Fix check against 'fdt_add_subnode' return value e5dfb3540219 kexec-tools 2.0.18.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.20 preparation
Hi all, I am planning to release kexec-tools v2.0.20 in the next two weeks to roughly coincide with the release of the v5.2 kernel. I would like to ask interested parties to send any patches they would like included in v2.0.20 within one week so that I can make an rc release. For reference the patches queued up since v2.0.19 are as follows: 40805e393b2f crashdump/x86: Use new introduce helper for getting RSDP b071fc084bda x86: Always try to fill acpi_rsdp_addr in boot params cedeee0a3007 x86: Introduce helpers for getting RSDP address 402351390f31 x86: Update boot parameters defination c072bd13abbe x86: Find mounts by FS type, not name 23aaa44614a0 x86: Check /proc/mounts before mtab for mounts eff53089523c xen: Avoid overlapping segments in low memory fb5a8792e6e4 x86: Introduce a new option --reuse-video-type 3757ef630b72 kexec-tools 2.0.19.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.20-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.20-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.20 in a weeks time. Testing of 2.0.20-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.20 at this time. And I would like to only accept bug fixes at this time and take features patches once 2.0.20 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.20-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.19 are: ffdc7feceea3 kexec-tools 2.0.20-rc1 d9cd81a39b59 x86: Include kexec-mb2-x86.c and multiboot2.h in distribution 7018e436cd34 x86: re-order includes to avoid duplicate struct e820entry 22a2ed55132e x86: Support multiboot2 images d6bc88c06962 elf: Support ELF loading with relocation 40805e393b2f crashdump/x86: Use new introduce helper for getting RSDP b071fc084bda x86: Always try to fill acpi_rsdp_addr in boot params cedeee0a3007 x86: Introduce helpers for getting RSDP address 402351390f31 x86: Update boot parameters defination c072bd13abbe x86: Find mounts by FS type, not name 23aaa44614a0 x86: Check /proc/mounts before mtab for mounts eff53089523c xen: Avoid overlapping segments in low memory fb5a8792e6e4 x86: Introduce a new option --reuse-video-type 3757ef630b72 kexec-tools 2.0.19.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.20-rc2
Hi all, I am happy to announce the release of kexec-tools 2.0.20-rc2. This is an incremental feature pre-release. I had planed to release v2.0.20 at this time but have, instead, decided to add Bhupesh Sharma's support for zlib compressed kernel images for ARM64 and release 2.0.20-rc2. So long as no serious problems arise I intend to release kexec-tools 2.0.20 in a weeks time. Testing of 2.0.20-rc2 would be greatly appreciated. I do not have any outstanding changes for 2.0.20 at this time. And I would like to only accept bug fixes at this time and take features patches once 2.0.20 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.20-rc2.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.19 are: 419716b151e8 kexec-tools 2.0.20-rc2 f4c1caaa97a2 kexec/arm64: Add support for handling zlib compressed (Image.gz) image 0e709571bfe7 kexec/kexec-zlib.h: Add 'is_zlib_file()' helper function 6ef59c03bf2c kexec-uImage-arm64.c: Fix return value of uImage_arm64_probe() 019d8258f15c kexec/kexec.c: Add the missing close() for fd used for kexec_file_load() ffdc7feceea3 kexec-tools 2.0.20-rc1 d9cd81a39b59 x86: Include kexec-mb2-x86.c and multiboot2.h in distribution 7018e436cd34 x86: re-order includes to avoid duplicate struct e820entry 22a2ed55132e x86: Support multiboot2 images d6bc88c06962 elf: Support ELF loading with relocation 40805e393b2f crashdump/x86: Use new introduce helper for getting RSDP b071fc084bda x86: Always try to fill acpi_rsdp_addr in boot params cedeee0a3007 x86: Introduce helpers for getting RSDP address 402351390f31 x86: Update boot parameters defination c072bd13abbe x86: Find mounts by FS type, not name 23aaa44614a0 x86: Check /proc/mounts before mtab for mounts eff53089523c xen: Avoid overlapping segments in low memory fb5a8792e6e4 x86: Introduce a new option --reuse-video-type 3757ef630b72 kexec-tools 2.0.19.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.25 preparation
Hi all, I am planning to release kexec-tools v2.0.25 in the next two weeks to roughly coincide with the release of the v5.19 kernel. I would like to ask interested parties to send any patches they would like included in v2.0.25 within one week so they can be considered for inclusion in an rc release. For reference the patches queued up since v2.0.24 are as follows. Thanks to everyone who has contributed to kexec-tools! db26ac7f6a9c kexec-tools: mips: Pass initrd parameter via cmdline 1b87ea9ccaf0 arm64/crashdump-arm64: increase CRASH_MAX_MEMORY_RANGES to 32k 2ddfaf31fa83 kexec-tools 2.0.23.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.25-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.25-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.25 in a weeks time. Testing of 2.0.25-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.25 at this time. And I would like to only accept bug fixes at this time and take features patches once 2.0.25 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.25-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.24 are: bfab31851465 kexec-tools 2.0.25-rc1 c3950959f428 kexec-tools: Remove duplicate ultoa() definitions and redefine it 6cd3e94813f7 i386: pass rng seed via setup_data db26ac7f6a9c kexec-tools: mips: Pass initrd parameter via cmdline 1b87ea9ccaf0 arm64/crashdump-arm64: increase CRASH_MAX_MEMORY_RANGES to 32k 2ddfaf31fa83 kexec-tools 2.0.23.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.26 preparation
Hi all, I am planning to release kexec-tools v2.0.26 in the next two weeks to roughly coincide with the release of the v6.1 kernel. I would like to ask interested parties to send any patches they would like included in v2.0.26 within one week so they can be considered for inclusion in an rc release. For reference the patches queued up since v2.0.25 are as follows. Thanks to everyone who has contributed to kexec-tools! b9de05184816 m68k: pass rng seed via BI_RNG_SEED b0381b817910 workflow: update to checkout@v3 834be38cc044 LoongArch: Remove redundant cmdline parameters when using --reuse-cmdline option 84138f41efd5 LoongArch: Add purgatory framework code 615b6757dcab LoongArch: PE format image loading support 1c8bf2dc0127 LoongArch: Add kexec/kdump support dceb1d8926e6 config: Add LoongArch architecture support in config.guess and config.sub files 6b6187f546f0 ppc64: remove rma_top limit bc38df5e8e24 kexec-tools 2.0.25.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.26-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.26-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.26 in a weeks time. Testing of 2.0.26-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.26 at this time. And I would like to only accept bug fixes at this time and take features patches once 2.0.26 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.26-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.25 are: ffb186b83420 kexec-tools 2.0.26-rc1 b9de05184816 m68k: pass rng seed via BI_RNG_SEED b0381b817910 workflow: update to checkout@v3 834be38cc044 LoongArch: Remove redundant cmdline parameters when using --reuse-cmdline option 84138f41efd5 LoongArch: Add purgatory framework code 615b6757dcab LoongArch: PE format image loading support 1c8bf2dc0127 LoongArch: Add kexec/kdump support dceb1d8926e6 config: Add LoongArch architecture support in config.guess and config.sub files 6b6187f546f0 ppc64: remove rma_top limit bc38df5e8e24 kexec-tools 2.0.25.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.27 preparation
Hi all, I am planning to release kexec-tools v2.0.27 in the next two weeks to roughly coincide with the release of the v6.5 kernel. I would like to ask interested parties to send any patches they would like included in v2.0.27 within one week so they can be considered for inclusion in an rc release. For reference the patches queued up since v2.0.26 are as follows. Thanks to everyone who has contributed to kexec-tools! f67c4146d7b5 arm64: Hook up the ZBOOT support as vmlinuz fc7b83bdf734 arm64: Add ZBOOT PE containing compressed image support f41c4182b0c4 kexec/zboot: Add arch independent zboot support 1572b91da7c4 kexec: Introduce a member kernel_fd in kexec_info 714fa11590fe kexec/arm64: Simplify the code for zImage a8de94e5f033 LoongArch: kdump: Set up kernel image segment 4203eaccfa92 kexec: __NR_kexec_file_load is set to undefined on LoongArch 63e9a012112e ppc64: Add elf-ppc64 file types/options and an arch specific flag to man page 806711fca9e9 x86: add devicetree support 29fe5067ed07 kexec: make -a the default e63fefd4fc35 ppc64: add --reuse-cmdline parameter support 8fc55927f700 kexec-tools 2.0.26.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.27-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.27-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.27 in a weeks time. Testing of 2.0.27-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.27 at this time. And I would like to only accept bug fixes at this time and take features patches once 2.0.27 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.27-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.26 are: 777ca453ca69 kexec-tools 2.0.27-rc1 f67c4146d7b5 arm64: Hook up the ZBOOT support as vmlinuz fc7b83bdf734 arm64: Add ZBOOT PE containing compressed image support f41c4182b0c4 kexec/zboot: Add arch independent zboot support 1572b91da7c4 kexec: Introduce a member kernel_fd in kexec_info 714fa11590fe kexec/arm64: Simplify the code for zImage a8de94e5f033 LoongArch: kdump: Set up kernel image segment 4203eaccfa92 kexec: __NR_kexec_file_load is set to undefined on LoongArch 63e9a012112e ppc64: Add elf-ppc64 file types/options and an arch specific flag to man page 806711fca9e9 x86: add devicetree support 29fe5067ed07 kexec: make -a the default e63fefd4fc35 ppc64: add --reuse-cmdline parameter support 8fc55927f700 kexec-tools 2.0.26.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.21 preparation
Hi all, After somewhat of a hiatus between releases - sorry about that - I am planning to release kexec-tools v2.0.21 in the next two weeks to roughly coincide with the release of the v5.10 kernel. I would like to ask interested parties to send any patches they would like included in v2.0.21 within one week so that I can make an rc release. For reference the patches queued up since v2.0.20 are as follows: d4eaff6 zlib: fix resource leak when gzdirect failed 4149df9 printk: add support for lockless ringbuffer 6b5667d x86_64: allow ELFCLASS32 for x32 support 5c7f47d i386: fix string formatting-related warnings 3dce5ce i386/kexec-mb2-x86.c: cast ints to uintptr_t before pointers to avoid warnings 6caad4c configure.ac, arch/x86_64: handle x32 as subarch of x86_64 and don't specify -mcmodel=large there 9d33ea5 config: update to latest config.{sub,guess}, install-sh 1e9de8e arm64: Add purgatory printing 70cca82 kexec: Fix snprintf related compilation warnings 15fc8cb vmcore-dmesg/man page: Update the vmcore-dmesg man page 9fd2189 kexec-tools: Add some missing free() calls ec53791 kexec-tools: Fix a prompt message when crashkernel is not reserved 7bd2516 kexec-tools: mips: Remove commandline parameter "mem" a47b10c kexec/kexec.c: Add missing close() call 16168f8 AUTHORS: Update email address for Khalid 01144be MIPS: Fix compile warnnings in kexec-elf-mips.c 24884d1 mips: kexec-elf-mips: fix not free in elf_mips_load() 12e643a kexec-tools: Check callback first in kexec_iomem_for_each_line() 7a576da arm: Increase zImage length after getting the tag f22b6aa kexec-tools: fix the unintended fallthrough when '-d' option is used 74c7c36 arm: redefine OPT_APPEND and OPT_RAMDISK 5dc72de kexec-tools: s390: Reset kernel command line on syscall fallback 65441fb kexec-xen: Introduce --exec-live-update to trigger a live update b13984c kexec: Introduce --load-live-update for xen 41a9b98 kexec-xen: Introduce xen_get_kexec_range to wrap xc_kexec_get_range cc087b1 kexec-tools: Remove duplicated variable declarations cbbee58 Removing condition that will never be met after calls xmalloc and xrealloc 618799e kexec: support parsing the string "Reserved" to get the correct e820 reserved region 9cf7212 kexec-tools: Reset getopt before falling back to legacy syscall 4f77da6 kexec-tools: Fix kexec_file_load(2) error handling a4afe68 crashdump-ppc64: crashkernel-base and crashkernel-size are big-endian 2c9f26e kexec: build multiboot2 for i386 66b151d ARM: Use mmap for zImage initrd 2572b8d arm64: kdump: deal with a lot of resource entries in /proc/iomem f736104 arm64: kexec: allocate memory space avoiding reserved regions cf977b1 kexec: add variant helper functions for handling memory regions bd07796 kexec-tools: Fix conversion overflow when compiling on 32-bit platforms 775f258 kexec-tools: Fix possible out-of-bounds access in ifdown 470d5c4 kexec: add support for PARISC architecture b54816e kexec/arm: undefine __NR_kexec_file_load for arm ed2d6e3 i386/kexec-mb2-x86.c: Fix compilation warning a46c686 vmcore-dmesg/vmcore-dmesg.c: Fix shifting error reported by cppcheck fa3f0ed Limit the size of vmcore-dmesg.txt to 2G a7c4cb8 Cleanup: move it back from util_lib/elf_info.c 14ad054 Fix an error definition about the variable 'fname' 545c811 Cleanup: remove the read_elf_kcore() 23b67f0 x86: Fix PAGE_OFFSET for kernels since 4.20 77c8824 kexec-tools 2.0.20.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.21-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.21-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.21 in a weeks time. Testing of 2.0.21-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.21 at this time. And I would like to only accept bug fixes at this time and take features patches once 2.0.21 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.21-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.20 are: 018ae8d kexec-tools 2.0.21-rc1 0eac640 kexec: mips: Fix mem parameters fa91709 dt-ops: fix memory leak when new_node malloc fails d4eaff6 zlib: fix resource leak when gzdirect failed 4149df9 printk: add support for lockless ringbuffer 6b5667d x86_64: allow ELFCLASS32 for x32 support 5c7f47d i386: fix string formatting-related warnings 3dce5ce i386/kexec-mb2-x86.c: cast ints to uintptr_t before pointers to avoid warnings 6caad4c configure.ac, arch/x86_64: handle x32 as subarch of x86_64 and don't specify -mcmodel=large there 9d33ea5 config: update to latest config.{sub,guess}, install-sh 1e9de8e arm64: Add purgatory printing 70cca82 kexec: Fix snprintf related compilation warnings 15fc8cb vmcore-dmesg/man page: Update the vmcore-dmesg man page 9fd2189 kexec-tools: Add some missing free() calls ec53791 kexec-tools: Fix a prompt message when crashkernel is not reserved 7bd2516 kexec-tools: mips: Remove commandline parameter "mem" a47b10c kexec/kexec.c: Add missing close() call 16168f8 AUTHORS: Update email address for Khalid 01144be MIPS: Fix compile warnnings in kexec-elf-mips.c 24884d1 mips: kexec-elf-mips: fix not free in elf_mips_load() 12e643a kexec-tools: Check callback first in kexec_iomem_for_each_line() 7a576da arm: Increase zImage length after getting the tag f22b6aa kexec-tools: fix the unintended fallthrough when '-d' option is used 74c7c36 arm: redefine OPT_APPEND and OPT_RAMDISK 5dc72de kexec-tools: s390: Reset kernel command line on syscall fallback 65441fb kexec-xen: Introduce --exec-live-update to trigger a live update b13984c kexec: Introduce --load-live-update for xen 41a9b98 kexec-xen: Introduce xen_get_kexec_range to wrap xc_kexec_get_range cc087b1 kexec-tools: Remove duplicated variable declarations cbbee58 Removing condition that will never be met after calls xmalloc and xrealloc 618799e kexec: support parsing the string "Reserved" to get the correct e820 reserved region 9cf7212 kexec-tools: Reset getopt before falling back to legacy syscall 4f77da6 kexec-tools: Fix kexec_file_load(2) error handling a4afe68 crashdump-ppc64: crashkernel-base and crashkernel-size are big-endian 2c9f26e kexec: build multiboot2 for i386 66b151d ARM: Use mmap for zImage initrd 2572b8d arm64: kdump: deal with a lot of resource entries in /proc/iomem f736104 arm64: kexec: allocate memory space avoiding reserved regions cf977b1 kexec: add variant helper functions for handling memory regions bd07796 kexec-tools: Fix conversion overflow when compiling on 32-bit platforms 775f258 kexec-tools: Fix possible out-of-bounds access in ifdown 470d5c4 kexec: add support for PARISC architecture b54816e kexec/arm: undefine __NR_kexec_file_load for arm ed2d6e3 i386/kexec-mb2-x86.c: Fix compilation warning a46c686 vmcore-dmesg/vmcore-dmesg.c: Fix shifting error reported by cppcheck fa3f0ed Limit the size of vmcore-dmesg.txt to 2G a7c4cb8 Cleanup: move it back from util_lib/elf_info.c 14ad054 Fix an error definition about the variable 'fname' 545c811 Cleanup: remove the read_elf_kcore() 23b67f0 x86: Fix PAGE_OFFSET for kernels since 4.20 77c8824 kexec-tools 2.0.20.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.22 preparation
Hi all, I am planning to release kexec-tools v2.0.22 in the next two weeks to roughly coincide with the release of the v5.12 kernel. I would like to ask interested parties to send any patches they would like included in v2.0.22 within one week so they can be considered for inclusion in an rc release. For reference the patches queued up since v2.0.21 are as follows. Thanks to everyone who has contributed to kexec-tools! 9817ec8 arm: do not copy magic 4 bytes of appended DTB in zImage bb6f6f1 kexec: Remove the error prone kernel_version function 0b69943 Shrink segments to fit alignment instead of throwing them away 774a16b Fix where the real mode interrupt vector ends 28b0491 github: initial workflow e0a17a2 build: add distcheck target 0eb0154 build: simplify uninstall target 93c1e9d build: use DESTDIR in uninstall target fa1d7d5 build: uninstall kexec_test 66d2b1a build: add dist make target 41b77ed build: create tarball without self-referential hard links 1bc7bc7 crashdump/x86: increase CRASH_MAX_MEMORY_RANGES to 32k 77ff3d6 crashdump/x86: iterate only over actual crash memory ranges 7175859 crashdump/x86: dump any kind of "System RAM" 85721bd kexec-xen: Use correct image type for Live Update 4b97ff9 kexec: Make --status work with normal kexec images 2c30aa5 kexec: Fix description of --status exit code 82f7de2 printk: Use %zu to format size_t 07b272a printk: Use ULL suffix for 64-bit constants 8519b01 kexec: Use %llu/%llx and casts to format uint64_t 84a6ef0 mips: Fix the increased mem parameter size d73822b i386: fix build on pre 4.4 kernels 6093532 mips: Fix typo in comment 15ee19f mips: Add '--reuse-cmdline' optional parameter support b4feb36 kexec-tools 2.0.21.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.22-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.22-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.22 in a weeks time. Testing of 2.0.22-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.22 at this time. And I would like to only accept bug fixes at this time and take features patches once 2.0.23 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.22-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.21 are: b4d0710 kexec-tools 2.0.22-rc1 9817ec8 arm: do not copy magic 4 bytes of appended DTB in zImage bb6f6f1 kexec: Remove the error prone kernel_version function 0b69943 Shrink segments to fit alignment instead of throwing them away 774a16b Fix where the real mode interrupt vector ends 28b0491 github: initial workflow e0a17a2 build: add distcheck target 0eb0154 build: simplify uninstall target 93c1e9d build: use DESTDIR in uninstall target fa1d7d5 build: uninstall kexec_test 66d2b1a build: add dist make target 41b77ed build: create tarball without self-referential hard links 1bc7bc7 crashdump/x86: increase CRASH_MAX_MEMORY_RANGES to 32k 77ff3d6 crashdump/x86: iterate only over actual crash memory ranges 7175859 crashdump/x86: dump any kind of "System RAM" 85721bd kexec-xen: Use correct image type for Live Update 4b97ff9 kexec: Make --status work with normal kexec images 2c30aa5 kexec: Fix description of --status exit code 82f7de2 printk: Use %zu to format size_t 07b272a printk: Use ULL suffix for 64-bit constants 8519b01 kexec: Use %llu/%llx and casts to format uint64_t 84a6ef0 mips: Fix the increased mem parameter size d73822b i386: fix build on pre 4.4 kernels 6093532 mips: Fix typo in comment 15ee19f mips: Add '--reuse-cmdline' optional parameter support b4feb36 kexec-tools 2.0.21.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.23 preparation
Hi all, I am planning to release kexec-tools v2.0.23 in the next two weeks to roughly coincide with the release of the v5.15 kernel. I would like to ask interested parties to send any patches they would like included in v2.0.23 within one week so they can be considered for inclusion in an rc release. For reference the patches queued up since v2.0.22 are as follows. Thanks to everyone who has contributed to kexec-tools! 5f8d632 arm: kdump: Add DT properties to crash dump kernel's DTB bb1c95c kexec-tools: multiboot2: Correct BASIC_MEMINFO memory units a4d49e8 Add some necessary free() calls bcee4f2 Add some necessary fclose() calls 84ef6cb ppc64: Fix memory leak problem in zImage_ppc64_load() 35dec3d i386: Remove unused local variable in get_kernel_page_offset() dbc151e multiboot2: Accept x86-64 images e388195 multiboot2: Avoid first 0x500 bytes 1d02758 multiboot2: Use rel_min and rel_max for buffer destinations 4f8d667 multiboot2: Correct MBI size calculation bfaebfb x86: Consolidate elf_x86_probe routines 091f9e9 Refer FDT tokens with symbolic names 61b8c79 arm64/crashdump-arm64: deduce the paddr of _text 5e7ce27 kexec-tools: Remove duplicate definition of ramdisk a2ba3cd kexec-tools 2.0.21.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.23-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.23-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.23 in a weeks time. Testing of 2.0.23-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.23 at this time. And I would like to only accept bug fixes at this time and take features patches once 2.0.23 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.23-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.22 are: 41725a0 kexec-tools 2.0.23-rc1 5f8d632 arm: kdump: Add DT properties to crash dump kernel's DTB bb1c95c kexec-tools: multiboot2: Correct BASIC_MEMINFO memory units a4d49e8 Add some necessary free() calls bcee4f2 Add some necessary fclose() calls 84ef6cb ppc64: Fix memory leak problem in zImage_ppc64_load() 35dec3d i386: Remove unused local variable in get_kernel_page_offset() dbc151e multiboot2: Accept x86-64 images e388195 multiboot2: Avoid first 0x500 bytes 1d02758 multiboot2: Use rel_min and rel_max for buffer destinations 4f8d667 multiboot2: Correct MBI size calculation bfaebfb x86: Consolidate elf_x86_probe routines 091f9e9 Refer FDT tokens with symbolic names 61b8c79 arm64/crashdump-arm64: deduce the paddr of _text 5e7ce27 kexec-tools: Remove duplicate definition of ramdisk a2ba3cd kexec-tools 2.0.21.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools v2.0.24 preparation
Hi all, I am planning to release kexec-tools v2.0.24 in the next two weeks to roughly coincide with the release of the v5.17 kernel. I would like to ask interested parties to send any patches they would like included in v2.0.24 within one week so they can be considered for inclusion in an rc release. For reference the patches queued up since v2.0.23 are as follows. Thanks to everyone who has contributed to kexec-tools! 501646beec2b kexec-xen: Allow xen_kexec_exec() to return in case of Live Update 1d7a308bf734 kexec-tools: print error if kexec_file_load fails 6effda061f75 kexec-tools: mips: Concatenate --reuse-cmdline and --append 8dda434a05ff kexec-tools: mips: Add some debug info 95de9eccf413 arm64: fix PAGE_OFFSET calc for flipped mm 454395e18ff1 arm64: read VA_BITS from kcore for 52-bits VA kernel bde864387a10 arm64/crashdump: unify routine to get page_offset 67ea2d99e135 arm64: make phys_offset signed 2e1ec106dc5a s390: add support for --reuse-cmdline d6516ba4c88f use slurp_proc_file() in get_command_line() 193e51deccc6 add slurp_proc_file() 91a3d0e00a5c s390: use KEXEC_ALL_OPTIONS defb80a20bf1 s390: add variable command line size b5a34a20984c arm64: support more than one crash kernel regions 186e7b0752d8 s390: handle R_390_PLT32DBL reloc entries in machine_apply_elf_rel() 1614959f2f0d arm64/crashdump: deduce paddr of _text based on kernel code size 10b7e1fb5d0c kexec-tools 2.0.23.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.24-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.24-rc1. This is an incremental feature pre-release. So long as no serious problems arise I intend to release kexec-tools 2.0.24 in a weeks time. Testing of 2.0.24-rc1 would be greatly appreciated. I do not have any outstanding changes for 2.0.24 at this time. And I would like to only accept bug fixes at this time and take features patches once 2.0.24 has been released. The pre-release can be downloaded from kernel.org: https://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.24-rc1.tar.xz https://kernel.org/pub/linux/utils/kernel/kexec/ I have also tagged it in git: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git Thanks to everyone who has contributed to kexec. For reference the changes since v2.0.23 are: 272af539f785 kexec-tools 2.0.24-rc1 c1ae085bd211 arm64: fix static data relocations in machine_apply_elf_rel() 2b78a27a64f0 kexec/elf: assign one to align if sh_addralign equals zero 1d8273d82b66 arm64/crashdump-arm64: explicit type conversion to suppress compiler warning 33778949c132 arm64/kexec-arm64: add support for R_AARCH64_MOVW_UABS_G* rela e2a86b319245 arm64/kexec-arm64: use enum to organize the reloc type 8e3f663a4dfe arm64/kexec-arm64: add support for R_AARCH64_LDST128_ABS_LO12_NC rela 36805fe6ba33 kexec-tools: fix leak FILE pointer. 1b03cf7adc3c purgatory: do not enable vectorization automatically for purgatory compiling dcfcc73c73e6 kexec-tools: Determine if the image is lzma commpressed f4c59879b830 util_lib/elf_info: harden parsing of printk buffer 30bfe30bb609 github: run apt-get update before installing packages 501646beec2b kexec-xen: Allow xen_kexec_exec() to return in case of Live Update 1d7a308bf734 kexec-tools: print error if kexec_file_load fails 6effda061f75 kexec-tools: mips: Concatenate --reuse-cmdline and --append 8dda434a05ff kexec-tools: mips: Add some debug info 95de9eccf413 arm64: fix PAGE_OFFSET calc for flipped mm 454395e18ff1 arm64: read VA_BITS from kcore for 52-bits VA kernel bde864387a10 arm64/crashdump: unify routine to get page_offset 67ea2d99e135 arm64: make phys_offset signed 2e1ec106dc5a s390: add support for --reuse-cmdline d6516ba4c88f use slurp_proc_file() in get_command_line() 193e51deccc6 add slurp_proc_file() 91a3d0e00a5c s390: use KEXEC_ALL_OPTIONS defb80a20bf1 s390: add variable command line size b5a34a20984c arm64: support more than one crash kernel regions 186e7b0752d8 s390: handle R_390_PLT32DBL reloc entries in machine_apply_elf_rel() 1614959f2f0d arm64/crashdump: deduce paddr of _text based on kernel code size 10b7e1fb5d0c kexec-tools 2.0.23.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
kexec-tools support for add_efi_memmap
Hi Simon! I'm working on supporting linux on a Unisys virtualization platform called s-Par, and I've put together a patch for kexec-tools that I'd like to submit. s-Par is an EFI-based virtualization system that splits up a machine in a way similar to the way Xen does, using a hypervisor, and we have a virtual EFI environment that runs for each guest partition. This is a "pure" EFI environment, so it doesn't have a fully-defined e820 table. To boot linux on our platform, we have to use the "add_efi_memmap" parameter to fill out the kernel's memory map with the additional entries from EFI. This causes problems when we try to kexec, because the kexec loader is using the /sys/firmware information which is incomplete. It ends up causing the kernel and initrd to overlap in memory, which of course doesn't work. I found some discussion of a similar problem on the LKML - a patch from Mike Travis, specifically, in a thread called "[Patch 1/1] x86 efi: insert add_efi_memmap entries into both e820 maps" from May 12, 2010 - the end of which said that the loader needed work rather than the kernel being modified. The patch below checks for the add_efi_memmap option in the kernel command line, and switches to using /proc/iomem instead of /sys/memmap when the option is found. I think this might fix the general case and I know it will allow linux to successfully kexec on our platform. Would you mind taking a look and letting me know what you think? Thanks in advance. :) If this looks okay to you I'll type up and send a formal patch email. Sometimes our email system eats patches so if this doesn't come through cleanly I'll try again with a different account. -- Ben diff --git a/kexec/arch/i386/kexec-x86-common.c b/kexec/arch/i386/kexec-x86-common.c index ba54973..474e680 100644 --- a/kexec/arch/i386/kexec-x86-common.c +++ b/kexec/arch/i386/kexec-x86-common.c @@ -202,6 +202,28 @@ again: } /** + * Detect the add_efi_memmap kernel parameter. + * + * On some EFI-based systems, the e820 map is empty, or does not contain a + * complete memory map. The add_efi_memmap parameter adds these entries to + * the kernel's memory map, but does not add them under sysfs, which causes + * kexec to fail in a way similar to how it does not work on Xen. + * + * @return 1 if parameter is present, 0 if not or if an error occurs. + */ +int efi_map_added( void ) { + char buf[512], *res; + FILE *fp = fopen( "/proc/cmdline", "r" ); + if( fp ) { + res = fgets( buf, 512, fp ); + fclose( fp ); + return strstr( buf, "add_efi_memmap" ) != NULL; + } else { + return 0; + } +} + +/** * Return a sorted list of memory ranges. * * If we have the /sys/firmware/memmap interface, then use that. If not, @@ -227,7 +249,7 @@ int get_memory_ranges(struct memory_range **range, int *ranges, * even if we have /sys/firmware/memmap. Without that, /proc/vmcore * is empty in the kdump kernel. */ - if (!xen_present() && have_sys_firmware_memmap()) { + if (!efi_map_added() && !xen_present() && have_sys_firmware_memmap()) { ret = get_memory_ranges_sysfs(range, ranges); if (!ret) ret = fixup_memory_ranges_sysfs(range, ranges); ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools on github
Hi, as kernel.org is down I have push the kexec-tools tree to github. It is available at: git://github.com/horms/kexec-tools.git The push includes the following changes which I applied after kernel.org became unavailable: 6b8a0f7 kexec-tools: s390: Find correct address for ramdisk 3ca990e kexec-tools: Add --append option for s390 0ee3b4c Use unsigned char buffers in uImage loader It is my intention to use this tree on github until kernel.org becomes available again. I will post a further announcement at that time. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
[ANNOUNCE] kexec-tools 2.0.4-rc1
Hi all, I am happy to announce the release of kexec-tools 2.0.4-rc1. I would like this release candidate to present an opportunity for discussion of what if any changes need to be made in order to release v2.0.4. The release can be downloaded from kernel.org: http://kernel.org/pub/linux/utils/kernel/kexec/testing/kexec-tools-2.0.4-rc1.tar.xz http://kernel.org/pub/linux/utils/kernel/kexec/testing/ I have also tagged it in git: git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.4
Hi Simon, After "git pull", I didn't find release 2.0.4. Could you please double check it? Baoquan Thanks a lot On 03/19/2013 10:11 AM, Simon Horman wrote: > Hi all, > > I am happy to announce the release of kexec-tools 2.0.4. > > The release can be downloaded from kernel.org: > > http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.4.tar.xz > http://kernel.org/pub/linux/utils/kernel/kexec/ > > I have also tagged it in git: > > git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git > > Thanks to everyone who has contributed to kexec. > > ___ > kexec mailing list > kexec@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.4
On Thu, Mar 21, 2013 at 03:14:11PM +0800, Baoquan wrote: > Hi Simon, > > After "git pull", I didn't find release 2.0.4. Could you please double > check it? Please try v2.0.4, it is a tag in git. ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.4
On 03/21/2013 04:51 PM, Simon Horman wrote: > On Thu, Mar 21, 2013 at 03:14:11PM +0800, Baoquan wrote: >> Hi Simon, >> >> After "git pull", I didn't find release 2.0.4. Could you please double >> check it? > > Please try v2.0.4, it is a tag in git. Hi, Below is output of 'git tag' on my local machine. $ git tag v1.101 v2.0.0 v2.0.0-rc1 v2.0.1 v2.0.1-rc1 v2.0.2 v2.0.2-rc1 v2.0.2-rc2 v2.0.3 v2.0.4-rc1 v20061214 v20070319-rc v20070330 v20071017-rc v20071030 v20080219-rc v20080221-rc v20080226-rc v20080227 v20080318-rc v20080324 ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.4
On 03/21/2013 04:56 PM, Baoquan wrote: > On 03/21/2013 04:51 PM, Simon Horman wrote: > >> On Thu, Mar 21, 2013 at 03:14:11PM +0800, Baoquan wrote: >>> Hi Simon, >>> >>> After "git pull", I didn't find release 2.0.4. Could you please double >>> check it? >> >> Please try v2.0.4, it is a tag in git. > > Hi, Sorry, I just create a new dir and "git clone", v2.0.4 can be seen now. But in my old clone, "git pull" can't get v2.0.4. It's a little weird. Anyway, thanks for help. > Hi, > > Below is output of 'git tag' on my local machine. > > $ git tag > v1.101 > v2.0.0 > v2.0.0-rc1 > v2.0.1 > v2.0.1-rc1 > v2.0.2 > v2.0.2-rc1 > v2.0.2-rc2 > v2.0.3 > v2.0.4-rc1 > v20061214 > v20070319-rc > v20070330 > v20071017-rc > v20071030 > v20080219-rc > v20080221-rc > v20080226-rc > v20080227 > v20080318-rc > v20080324 > > ___ > kexec mailing list > kexec@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec
Re: [ANNOUNCE] kexec-tools 2.0.4
On 03/21/2013 05:02 PM, Baoquan wrote: > On 03/21/2013 04:56 PM, Baoquan wrote: > >> On 03/21/2013 04:51 PM, Simon Horman wrote: >> >>> On Thu, Mar 21, 2013 at 03:14:11PM +0800, Baoquan wrote: Hi Simon, After "git pull", I didn't find release 2.0.4. Could you please double check it? >>> >>> Please try v2.0.4, it is a tag in git. >> >> > > > Hi, > > Sorry, I just create a new dir and "git clone", v2.0.4 can be seen now. > But in my old clone, "git pull" can't get v2.0.4. It's a little weird. Looks like the commit is not in master branch, the tag v2.0.4 itself is ok. git log --oneline b2dc426 s390: Replace clgfi with cghi 56af4f5 kexec: use _ALIGN* to make the logic clear 337d4fc kexec: ppc64: use _ALIGN* to make the logic clear bb3f9f5 kexec: ppc: use _ALIGN* to make the logic clear f36d320 kexec: x86_64: use _ALIGN* to make the logic clear 58a22bd kexec: sh: use _ALIGN* to make the logic clear 333f487 kexec: s390: remove ALIGN_UP and use _ALIGN_UP d41a4db kexec: mips: use _ALIGN* to make the logic clear e8a7f63 kexec: ia64: use _ALIGN* to make the logic clear cf190f6 kexec: arm: use _ALIGN* to make the logic clear 8388bdc kexec: i386: use _ALIGN* to make the logic clear 0c1b89d kexec: ppc: remove duplicated _ALIGN_* macros 412561a kexec: use _ALIGN() instead of align() 9ea6e05 kexec: add _ALIGN* marcos for align operation 5db7ba5 kexec: check size before trying the malloc ... > > Anyway, thanks for help. > > >> Hi, >> >> Below is output of 'git tag' on my local machine. >> >> $ git tag >> v1.101 >> v2.0.0 >> v2.0.0-rc1 >> v2.0.1 >> v2.0.1-rc1 >> v2.0.2 >> v2.0.2-rc1 >> v2.0.2-rc2 >> v2.0.3 >> v2.0.4-rc1 >> v20061214 >> v20070319-rc >> v20070330 >> v20071017-rc >> v20071030 >> v20080219-rc >> v20080221-rc >> v20080226-rc >> v20080227 >> v20080318-rc >> v20080324 >> >> ___ >> kexec mailing list >> kexec@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/kexec > > > > ___ > kexec mailing list > kexec@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec > -- Thanks Dave ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec