The 50-kdump-tools.rules file needs update for latest kernel 6.6 feature
Bug #2034732 reported by
Eric DeVolder
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kexec-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The following series has landed in mainline, and will be present in 6.6.
"crash: Kernel handling of CPU and memory hot un/plug"
https://<email address hidden>/
To take advantage of the performance benefits of that series, 50-kdump-
needs an update to optimize the handling of CPU and memory hotplug changes.
It is safe to deploy these rule updates now, ahead of distros/kernels
enabling the feature, since the crash_hotplug sysfs nodes would not be
present and thus the newly introduced rules in 50-kdump-tools would act as a
nop-op and fall thru for legacy behavior. But when distros/kernels
enable the feature, then 50-kdump-tools rules is ready and can properly take
advantage.
summary: |
- The 98-kexec.rules file needs update for latest kernel 6.6 feature + The 50-kdump-tools.rules file needs update for latest kernel 6.6 feature |
description: | updated |
To post a comment you must log in.
The 50-kdump- tools.rules file should look like this:
# The kernel updates the crash elfcorehdr for CPU and memory changes hotplug} =="1", GOTO="kdump_ reload_ end" ="memory" , ATTRS{crash_ hotplug} =="1", GOTO="kdump_ reload_ end"
SUBSYSTEM=="cpu", ATTRS{crash_
SUBSYSTEM=
SUBSYSTEM= ="memory" , ACTION=="online", PROGRAM= "/usr/sbin/ kdump-config try-reload" ="memory" , ACTION=="offline", PROGRAM= "/usr/sbin/ kdump-config try-reload" "/usr/sbin/ kdump-config try-reload" "/usr/sbin/ kdump-config try-reload" "/usr/sbin/ kdump-config try-reload"
SUBSYSTEM=
SUBSYSTEM=="cpu", ACTION=="add", PROGRAM=
SUBSYSTEM=="cpu", ACTION=="remove", PROGRAM=
SUBSYSTEM=="cpu", ACTION=="online", PROGRAM=
LABEL=" kdump_reload_ end"
where the first 3 lines and last 1 line are new/added.