71 Commits

Author SHA1 Message Date
chenhaixiang
77f6d0d23a Before adding to usablemem_rgns, check if the memory range is already included.
Signed-off-by: chenhaixiang <chenhaixiang3@huawei.com>
2025-02-10 08:17:59 +00:00
openeuler-ci-bot
41abeac531
!111 Fix LoongArch64 kdump image size overflow issue.
From: @robinorg 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2025-01-13 01:49:29 +00:00
Ming Wang
494f36b4e4 Fix loongarch64 kdump image size overflow issue.
Signed-off-by: Ming Wang <wangming01@loongson.cn>
2025-01-08 11:50:35 +08:00
openeuler-ci-bot
d32942056f
!99 Pick PR #98 to 24.03
From: @chenguokai 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-09-23 02:38:04 +00:00
Guokai Chen
34be6ed5a2 Fix risc-v kexec-tools support of file_load formats and initrd
* Add support for zImage with file_load
* Fix initrd address overlapping issue
* Fix firmware overwrite issues
2024-09-21 16:43:58 +08:00
openeuler-ci-bot
f30a34aa24
!94 Fix "grep: warning: stray \ before -"
From: @zhangzikang1992 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-09-05 09:16:58 +00:00
zhangzikang
61660abd4a Merge branch 'openEuler-24.03-LTS' of gitee.com:src-openeuler/kexec-tools into openEuler-24.03-LTS
Signed-off-by: zhangzikang <zhangzikang@kylinos.cn>
2024-08-14 08:46:51 +00:00
openeuler-ci-bot
1c56d2894c
!97 [sync] PR-95: update makedumpfile to makedumpfile-1.7.4
From: @openeuler-sync-bot 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2024-08-01 08:51:47 +00:00
EulerOSWander
a18d6e55fe update makedumpfile to makedumpfile-1.7.4
(cherry picked from commit 0b7f2dba217a63af9b20df2ca6d379dd62dc9b1b)
2024-07-31 16:53:53 +08:00
zhangzikang1992
5756bf6194 Fix "grep: warning: stray \ before -" 2024-07-24 14:05:36 +08:00
openeuler-ci-bot
b75177c818
!91 Undo the deletion of rd.lvm.lv in cmdline
From: @chenhaixaing 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2024-07-11 06:25:48 +00:00
chenhaixiang
ade55ee878 Undo the deletion of rd.lvm.lv in cmdline
Signed-off-by: chenhaixiang <chenhaixiang3@huawei.com>
2024-07-08 03:02:44 -04:00
openeuler-ci-bot
c723f3db3e
!88 【openEuler-24.03-LTS】修复在loongarch架构上编译失败
From: @disandai 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2024-05-16 14:53:16 +00:00
huangwenhua
8de77cea60 Add loongarch iomem.h 2024-05-13 16:17:55 +08:00
openeuler-ci-bot
1b396d3539
!84 [sync] PR-82: riscv: Add riscv64 support
From: @openeuler-sync-bot 
Reviewed-by: @zhujianwei001 
Signed-off-by: @zhujianwei001
2024-05-09 07:32:05 +00:00
Mingzheng Xing
a364008bff kdump: Add riscv64 support
This patch provides support for enabling the kdump service on riscv. After
starting the kdump service, the kdump kernel can be successfully loaded,
and after triggering a kernel crash, the kdump kernel can be started
normally and the vmcore can be captured.

Due to some issues with initrd in kexec-tools, avoid it first to provide
basic riscv architecture kdump support. Tested in openeuler riscv qemu,
and can also pass Mugen testing.

Signed-off-by: Mingzheng Xing <xingmingzheng@iscas.ac.cn>
(cherry picked from commit 7033d5da29de3ac009d36a9e5e516aaa6d58712d)
2024-05-07 11:41:09 +08:00
openeuler-ci-bot
71327b0828
!81 update makedumpfile to makedumpfile-1.7.3
From: @chenhaixaing 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2024-02-19 12:25:49 +00:00
chenhaixiang
0b92a67d38 update makedumpfile to makedumpfile-1.7.3
Signed-off-by: chenhaixiang <chenhaixiang3@huawei.com>
2024-02-19 19:53:16 +08:00
openeuler-ci-bot
bd8f0b9410
!79 Add ppc64le support
From: @peng_zou 
Reviewed-by: @licihua 
Signed-off-by: @wangbin224
2024-01-22 08:29:01 +00:00
peng.zou
978b7af187 Add ppc64le support 2024-01-02 14:56:53 +08:00
openeuler-ci-bot
a47fb036cc
!76 Update to kexec-tools-2.0.26
From: @chenhaixaing 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2023-02-09 02:09:38 +00:00
chenhaixiang
435f41ae0b Update to kexec-tools-2.0.26
Signed-off-by: chenhaixiang <chenhaixiang3@huawei.com>
2023-01-30 20:46:57 +08:00
openeuler-ci-bot
b256e16eb7
!75 [sync] PR-73: fix shellcheck error in dracut module setup
From: @openeuler-sync-bot 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2023-01-04 02:39:06 +00:00
chenhaixiang
28f8f09808 fix shellcheck error in dracut module setup
Signed-off-by: chenhaixiang3@huawei.com
(cherry picked from commit 60550bf4e0804db6d592cd77ffea534bdd937da2)
2023-01-04 09:40:19 +08:00
openeuler-ci-bot
32898e7dbf
!72 [sync] PR-65: 添加sw补丁
From: @openeuler-sync-bot 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2023-01-03 03:25:54 +00:00
zhixin.zhang
4a18882e44 Add sw patch
(cherry picked from commit 49c64e37ae5ab9226839e2b0c2d2d3b9eedae412)
2022-12-30 10:01:07 +08:00
openeuler-ci-bot
34c65dcd4c
!64 add loongarch64 support
From: @dpdwaj 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-11-18 01:17:16 +00:00
doupengda
e96510680d add loongarch64 support 2022-11-17 09:38:40 +08:00
openeuler-ci-bot
cea3e3628e
!55 arm64: fix PAGE_OFFSET calc for flipped mm
From: @chenhaixaing 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-08-25 01:37:24 +00:00
chenhaixiang
a2343183b4 arm64: fix PAGE_OFFSET calc for flipped mm
Signed-off-by: chenhaixiang <chenhaixiang3@huawei.com>
2022-08-24 15:15:55 +08:00
openeuler-ci-bot
2b614cd628
!53 kdumpctl: ignore deprecated and invalid kdump config option
From: @chenhaixaing 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-08-24 01:59:01 +00:00
chenhaixiang
0576537474 kdumpctl:ignore deprecated and invaild kdump config option
Signed-off-by: chenhaixiang <chenhaixiang3@huawei.com>
2022-08-24 09:28:32 +08:00
openeuler-ci-bot
88ea0604d9
!49 fix CVE-2021-20269
From: @chenhaixaing 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2022-08-03 09:40:42 +00:00
chenhaixiang
d83d66e0ad fix CVE-2021-20269
Signed-off-by: chenhaixiang <chenhaixiang3@huawei.com>
2022-08-03 12:08:33 +08:00
openeuler-ci-bot
e0174464c6
!43 修改spec文件打包正确的udev规则文件
From: @wangbin224 
Reviewed-by: @hanxinke 
Signed-off-by: @hanxinke
2022-03-11 02:45:00 +00:00
Bin Wang
c80837050f packing 98-kexec.rules instead of 98-kexec.rules.ppc64
Signed-off-by: Bin Wang <wangbin224@huawei.com>
2022-03-11 09:47:20 +08:00
openeuler-ci-bot
927a0c8c73
!40 arm64/crashdump: deduce paddr of _text based on kernel code size
From: @wangbin224 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
2022-02-23 09:17:35 +00:00
Bin Wang
ebf91773b2 arm64/crashdump: deduce paddr of _text based on kernel code size
vmcore-dmesg shows bug:
No program header covering vaddr 0x45524f44300000001found kexec bug?
And kdump cannot dump vmcore-dmesg.txt correctly. Add patch to fix this.

Signed-off-by: Bin Wang <wangbin224@huawei.com>
2022-02-23 16:32:56 +08:00
openeuler-ci-bot
4925135bf8
!39 修复Quick Kexec与xen的live update 冲突问题
From: @snoweay 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
2022-02-23 07:21:09 +00:00
snoweay
878120c450
quick kexec: Fix conflicts with xen load live update
Add KEXEC_FLAGS_MAX to avoid conflicting with KEXEC_LIVE_UPDATE.

Signed-off-by: snoweay <sangyan@163.com>
2022-02-23 06:54:50 +00:00
openeuler-ci-bot
3895c0840a !35 modify the patch header
Merge pull request !35 from zhouwenpei/master
2021-12-30 02:10:06 +00:00
zhouwenpei
efca053045 modify the patch header 2021-12-30 09:59:51 +08:00
openeuler-ci-bot
da584e01c5 !33 update to version 2.0.23
Merge pull request !33 from zhouwenpei/master
2021-12-29 09:38:08 +00:00
zhouwenpei
6db177884b update to version 2.0.23 2021-12-25 19:54:22 +08:00
openeuler-ci-bot
6ae67c6fff !29 fix build fail caused by file format not recognized
From: @zhouwenpei
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-07-31 01:50:54 +00:00
zhouwenpei
41174919ba fix build fail caused by file format not recognized 2021-07-27 14:18:35 +08:00
openeuler-ci-bot
6111d0e55a !24 Fix bug: Filed to generate the vmcore and vmcore-dmesg.txt file in the ARM architecture
From: @yang_zhuang_zhuang
Reviewed-by: @pecs,@xiezhipeng1
Signed-off-by: @xiezhipeng1
2021-03-27 15:44:08 +08:00
yang_zhuang_zhuang
98f6e4b451 Fix bug: Filed to generate the vmcore file in the ARM architecture
Fix bug: Filed to generate the vmcore-dmesg.txt file in the ARM architecture

Signed-off-by: yang_zhuang_zhuang <1162011203@qq.com>
2021-03-27 14:21:44 +08:00
openeuler-ci-bot
488c402d6a !23 support more than one crash kernel regions
From: @yang_zhuang_zhuang
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-03-22 18:06:33 +08:00
yang_zhuang_zhuang
7de03dd07f support more than one crash kernel regions
Signed-off-by: yang_zhuang_zhuang <1162011203@qq.com>
2021-03-22 17:07:04 +08:00