Do not load unnecessary device drivers and do not start unnecessary services in the kdump initramfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Jiping Ma |
Bug Description
Brief Description
Starting with Debian-based WRCP versions, the kdump initramfs has included 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-
All of these introduce a possibility of not being able to collect a vmcore file after a kernel crash. This is a major issue.
The drivers loaded in kdump used to be different with CentOS-based WRCP, which used to exclude unnecessary drivers from the kdump initramfs. As an example: https:/
There is a need to exclude unnecessary NIC drivers from the kdump environment to make vmcore collection more reliable. This bug is created to prevent such drivers from being loaded in the kdump initramfs.
Finally, there is a need to prevent the sysctl settings from taking place in the kdump environment.
Severity
Major: vmcore generation is negatively impacted.
Steps to Reproduce
Triggering a kernel crash dump on systems that make use of ice and/or i40e and/or mlx5_en drivers might fail to generate a vmcore file.
A crash can be generated with "sudo tee <<<c /proc/sysrq-
Expected Behavior
No unnecessary drivers are loaded in the kdump environment.
Actual Behavior
ice, i40e, iavf and potentially other drivers are loaded in the kdump environment.
Reproducibility
Intermittent
System Configuration
Not applicable. Issue was encountered with customer issue.
Alarms
Not applicable.
Test Activity
Normal use.
Workaround
None.
Changed in starlingx: | |
assignee: | nobody → Jiping Ma (jma11) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.9.0 stx.distro.other |
Fix proposed to branch: master /review. opendev. org/c/starlingx /integ/ +/897670
Review: https:/