aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/kexec-tools
Commit message (Collapse)AuthorAgeFilesLines
* x86: make crashdump worksChen Minqiang2020-03-203-1/+29
| | | | | | | | | | | | | | | 1. KERNEL_CRASH_DUMP should depends on KERNEL_PROC_KCORE (kexec use it) 2. select crashkernel mem size by totalmem mem <= 256M disable crashkernel by default mem >= 4G use 256M for crashkernel mem >= 8G use 512M for crashkernel default use 128M 3. set BOOT_IMAGE in kdump.init 4. resolve a "Unhandled rela relocation: R_X86_64_PLT32" error Tested on x86_64 Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* treewide: Remove self from MAINTAINER entriesFlorian Fainelli2019-12-231-1/+0
| | | | Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* kexec-tools: change kdump.init STOP indexJoseph Tingiris2019-06-242-2/+2
| | | | | | | | | This patch is in a series to allow additional STOP indexes after umount, so that other block devices may stop cleanly. kdumpinit is now STOP=90 Signed-off-by: Joseph Tingiris <joseph.tingiris@gmail.com>
* treewide: fix syntax errors exposed after kconfig updateJo-Philipp Wich2019-06-201-2/+2
| | | | | | | | | | | | | | After commit e82a4d9cfb ("config: regenerate *_shipped sources") the mconf parser became more strict as a side effect and started to spew a series of warnings when evaluating our generated kconfig sources: tmp/.config-package.in:705:warning: ignoring unsupported character '@' The root cause of these warnings is a wrong use of the @SYMBOL dependency syntax in various Makefile. Fix the corresponding Makefiles by turning `@SYM||@SYM2` expressions into the proper `@(SYM||SYM2)` form. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kexec-tools: bump version to 2.0.16Philip Prindeville2018-02-115-245/+3
| | | | | | All patches have been integrated upstream. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* kexec-tools: issue warning when dd'ing vmcorePhilip Prindeville2018-02-112-1/+3
| | | | | | | | With no warning, it just looks like the box has hung during boot. We don't want users resetting it without having captured a crashdump. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* kexec-tools: bump version and add support for crashdump kernelDaniel Golle2017-06-095-24/+265
| | | | | | | | | | | | | | | | | | | | | | | split kexec-tools into two packages, kexec and kdump. * kexec to simply execute a new kernel * kdump is for loading and collecting debris of a crashed kernel with support for kdump forensics. In order to properly support booting into a crashkernel, an init script as well as UCI configuration has been added. As modifying the kernel cmdline is required for this to work in x86 platforms use an uci-defaults script to modify /boot/grub/grub.cfg. To test collecting crash information, use the 'c' sysrq-trigger, ie. echo c > /proc/sysrq-trigger This should result in the crash kernel being executed and (depending on the configution) dmesg and/or vmcore getting saved. To check if the crash kernel was loaded properly, use the 'status' command of the kdump init script. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kexec-tools: get kexec running on MUSL and x86 hardwarePhilip Prindeville2017-04-032-0/+211
| | | | | | | Couple of important upstream patches (slated for 2.0.15) that are necessary for kexec to run on MUSL and on x86 hardware. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* kexec-tools: remove useless CONFIG_KEXEC_TOOLS_TARGET_NAME indirectionFelix Fietkau2016-12-202-11/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kexec-tools: build by default, even if CONFIG_KERNEL_KEXEC is unsetFelix Fietkau2016-12-201-1/+1
| | | | | | | Helps find build issues and makes the package available on snapshot builds Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kexec-tools: enable support for x86_64Felix Fietkau2016-12-201-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kexec-tools: update to 2.0.14-rc1, fix build errorsFelix Fietkau2016-12-207-321/+24
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kexec-tools: fix compile errorGilles Mazoyer2016-12-201-0/+11
| | | | | | When compiling file vmcore-dmesg.c, several errors "unknown type name 'loff_t'" Signed-off-by: Gilles Mazoyer <mazoyer.gilles@omega.ovh>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* packages: use $(LN) macro, make symlinks relativeNicolas Thill2015-04-031-1/+1
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 45250
* kexec-tools: bump version from v2.0.4 to v2.0.9.John Crispin2015-02-139-145/+329
| | | | | | | | | | | | | | | | | | | | | | | | | - kexec-tools is now distributed with tarballs of .tar.gz and .tar.xz format; .tar.bz2 are not provided anymore. - Add CONFIG_KEXEC_LZMA for selecting lzma support. Patches are updated along to: - Remove the now unnecessary patch 0004-mips_regdefs.patch. - Drop 100-reduce_size.patch because the size reduction is marginal. - Allow zlib and lzma support coexist together. This patch has been merged into upstream project. - Fix kexec-tools' configure.ac. - Fix a few compilation warnings. Size comparison of stripped binaries of kexec malta target with both zlib and lzma support enabled. - Before: 41447 - After: 42583 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 44437
* kexec-tools: show up only when KERNEL_KEXEC is enabled.John Crispin2015-02-131-1/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 44436
* license info - revert r43155John Crispin2014-11-031-3/+0
| | | | | | | | turns out that r43155 adds duplicate info. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43167
* Add more license tags with SPDX identifiersJohn Crispin2014-11-031-0/+3
| | | | | | | | | | | | | | | | | | Note, that licensing stuff is a nightmare: many packages does not clearly state their licenses, and often multiple source files are simply copied together - each with different licensing information in the file headers. I tried hard to ensure, that the license information extracted into the OpenWRT's makefiles fit the "spirit" of the packages, e.g. such small packages which come without a dedicated source archive "inherites" the OpenWRT's own license in my opinion. However, I can not garantee that I always picked the correct information and/or did not miss license information. Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 43155
* kexec-tools: disable lzma supportHauke Mehrtens2014-02-211-1/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39652
* kexec: bump to latest head revisionJohn Crispin2014-01-171-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39305
* kexec-tools: reduce sizeFelix Fietkau2013-06-282-0/+39
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37072
* kexec-tools: make zlib support optional, but enabled by defaultFelix Fietkau2013-06-282-2/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37071
* move boot related packages to their own folderJohn Crispin2012-10-163-0/+204
SVN-Revision: 33781