Skip to content

Commit

Permalink
vmtest: try testing kdump on ppc64
Browse files Browse the repository at this point in the history
Now that ppc64 virtual address translation is implemented, we can test
against /proc/vmcore.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
  • Loading branch information
osandov committed Sep 20, 2023
1 parent 5eff308 commit 6ee651b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vmtest/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,8 @@ def _kdump_works(kernel: Kernel) -> bool:
# bytes...".
return False
elif kernel.arch.name == "ppc64":
# Without virtual address translation, we can't debug vmcores.
return False
# Before 6.1, sysrq-c hangs.
# return KernelVersion(kernel.release) >= KernelVersion("6.1")
return KernelVersion(kernel.release) >= KernelVersion("6.1")
elif kernel.arch.name == "s390x":
# Before 5.15, sysrq-c hangs.
return KernelVersion(kernel.release) >= KernelVersion("5.15")
Expand Down

0 comments on commit 6ee651b

Please sign in to comment.