kdump-utils/orabug30928441.kdumpctl.no_timer_check.patch
2025-08-15 17:05:54 +03:00

29 lines
831 B
Diff

[PATCH] append no_timer_check for xen guest kdump
Withour this a panic is triggered on xen guest using sysrq, vmcore not gets
generated/copied and
system panics after triggering crash with this msg.
"Kernel panic - not syncing: IO-APIC + timer doesn't work"
Orabug: 30928441
Patch ported from ol9 to ol10.
Signed-off-by: Brian Maly <brian.maly@oracle.com>
----
--- kdump-utils-1.0.51/kdumpctl.orig 2025-02-10 19:22:09.802793276 -0500
+++ kdump-utils-1.0.51/kdumpctl 2025-02-10 19:24:15.585159500 -0500
@@ -54,6 +54,11 @@ trap '
exit $ret;
' EXIT
+# append no_timer_check for xen guest kdump
+if [ "$ARCH" == "x86_64" ] && $(virt-what |grep -qE "^xen$|^xen-domU$|^xen-hvm$"); then
+ KDUMP_COMMANDLINE_APPEND="${KDUMP_COMMANDLINE_APPEND} no_timer_check"
+fi
+
_get_dracut_arg()
{
local shortopt longopt n tmp