mirror of
https://github.com/crash-utility/crash
synced 2025-02-13 03:46:58 +00:00
With Linux 5.4 and later kernels that contain commit 7e35b42591c058b91282f95ce3b2cf0c05ffe93d ("kbuild: remove SUBDIRS support"), "make" command in the memory_driver directory doesn't build crash memory driver module as expected. Add "M=" to fix. Signed-off-by: Kazuhito Hagio <k-hagio-ab@nec.com> |
||
---|---|---|
.. | ||
crash.c | ||
Makefile | ||
README |
For live system analysis, the physical memory source must be one of the following devices: /dev/mem /proc/kcore /dev/crash If the live system kernel was configured with CONFIG_STRICT_DEVMEM or CONFIG_HARDENED_USERCOPY, then /dev/mem cannot be used. If the live system kernel was configured without CONFIG_PROC_KCORE, or if /proc/kcore is non-functional, then /proc/kcore cannot be used. The third alternative is this /dev/crash driver. Presuming that /lib/modules/`uname -r`/build points to a kernel build tree or kernel "devel" package tree, the module can simply be built and installed like so: # make ... # insmod crash.ko Once installed, the /dev/crash driver will be used by default for live system crash sessions.