sscargal / pmemchk

MIT License
0 stars 1 forks source link

[Linux Rule] Check the loaded Kernel modules #121

Open sscargal opened 2 years ago

sscargal commented 2 years ago

Kernel modules should lazy load on first use, but in some cases such as this one, manual intervention was required.

Perform a sanity check on the loaded modules and identify if critical ones are not loaded, eg: libnvdimm, dax_pmem, nd_pmem, nd_8280, nfit, acpi, etc.

Example:

# egrep "pmem|dax|e820|nfit|acpi" /proc/modules
acpi_ipmi 20480 0 - Live 0xffffffffc0825000
dax_pmem 16384 0 - Live 0xffffffffc0b43000
dax_pmem_core 16384 1 dax_pmem, Live 0xffffffffc08b8000
nd_pmem 24576 0 - Live 0xffffffffc060d000
nd_btt 32768 1 nd_pmem, Live 0xffffffffc0435000
nd_e820 16384 2 - Live 0xffffffffc0391000
nfit 77824 3 skx_edac, Live 0xffffffffc045e000
libnvdimm 204800 6 dax_pmem,dax_pmem_core,nd_pmem,nd_btt,nd_e820,nfit, Live 0xffffffffc03fb000
ipmi_msghandler 118784 4 ipmi_ssif,acpi_ipmi,ipmi_si,ipmi_devintf, Live 0xffffffffc0309000