integ/tools/kdump-tools/debian/deb_patches
Jiping Ma 2b1651f1d5 kdump-tools: fix oom issue during kdump
The kdump initramfs has included NIC device drivers such as ice, iavf,
i40e, mlx5* and the like. Loading these drivers in a kdump environment
is problematic, because these drivers are known to consume a lot of
memory.

In addition, the systemd-sysctl.service systemd unit causes the
following sysctl to be set, which forces the kernel to keep more than
1 GiB of free memory, which results in out-of-memory conditions:
"vm.min_free_kbytes=1179648".

All of these introduce a possibility of not being able to collect a
vmcore file after a kernel crash. There is a need to exclude
unnecessary NIC drivers from the kdump environment and prevent the
sysctl settings from taking place to make vmcore collection more
reliable.

Verification:
- build-pkgs; build-iso; install and boot up on aio-sx lab.
- All these backlist drivers are not loaded in kdump kernel.

Closes-Bug: 2038804

Signed-off-by: M. Vefa Bicakci <vefa.bicakci@windriver.com>
Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
Change-Id: I820280b1674d09f42b6abfc25bfa07f44b4f7b44
2023-10-10 21:42:23 -04:00
..
0001-kdump-tools-add-vmlinuz-and-initrd.img-soft-link.patch Debian: add kdump-tools package. 2022-06-17 12:21:53 -04:00
0002-kdump-tools-adapt-check_secure_boot-checking.patch kdump-tools: adapt check_secure_boot checking 2022-10-25 22:27:02 -04:00
0003-kdump-tools-disable-AER-to-fix-kdump-hung-issue.patch kdump-tools: disable AER to fix kdump hung issue 2022-12-17 08:38:58 +08:00
0004-Do-not-load-unnecessary-device-drivers-in-the-kdump-.patch kdump-tools: fix oom issue during kdump 2023-10-10 21:42:23 -04:00
series kdump-tools: fix oom issue during kdump 2023-10-10 21:42:23 -04:00