The testcase needs hwpoison-inject module to run. But it is not enabled in the Configs by default.
$ sudo ./run_hugepage_overcommit.sh
sysctl: cannot stat /proc/sys/vm/memory_failure_early_kill: No such file or directory
modprobe: FATAL: Module hwpoison-inject not found in directory /lib/modules/4.10.0-28-generic
DIE: Failed to load hwpoison-inject module. Abort.
DIE: Failed to load hwpoison-inject module. Abort.
I can confirm that rebuilding the kernel with the hwpoison-inject module, and running the test, the kernel does not get soft-lockups and test works as expected.
== Testing kernel in -proposed ==
The kernel installs and boots fine on the QDF2400 platform.
$ uname -a
Linux awsdp0 4.10.0-28-generic #32-Ubuntu SMP Fri Jun 30 05:33:10 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
$ apt policy linux-image- 4.10.0- 28-generic 4.10.0- 28-generic: ports.ubuntu. com/ubuntu- ports zesty-proposed/main arm64 Packages dpkg/status
linux-image-
Installed: 4.10.0-28.32
Candidate: 4.10.0-28.32
Version table:
*** 4.10.0-28.32 500
500 http://
100 /var/lib/
The testcase needs hwpoison-inject module to run. But it is not enabled in the Configs by default.
$ sudo ./run_hugepage_ overcommit. sh vm/memory_ failure_ early_kill: No such file or directory 4.10.0- 28-generic
sysctl: cannot stat /proc/sys/
modprobe: FATAL: Module hwpoison-inject not found in directory /lib/modules/
DIE: Failed to load hwpoison-inject module. Abort.
DIE: Failed to load hwpoison-inject module. Abort.
I can confirm that rebuilding the kernel with the hwpoison-inject module, and running the test, the kernel does not get soft-lockups and test works as expected.