forked from mirrors/nixpkgs
crashdump: it required some kernel options for the nmi_watchdog to work.
Now it says at boot, for every core: NMI watchdog: enabled, takes one hw-pmu counter.
This commit is contained in:
parent
4553a27a92
commit
f43033a3f7
|
@ -54,7 +54,7 @@ in
|
|||
'';
|
||||
kernelParams = [
|
||||
"crashkernel=64M"
|
||||
"nmi_watchdog=1"
|
||||
"nmi_watchdog=panic"
|
||||
];
|
||||
kernelPackages = mkOverride 50 (crashdump.kernelPackages // {
|
||||
kernel = crashdump.kernelPackages.kernel.override
|
||||
|
@ -64,6 +64,8 @@ in
|
|||
CRASH_DUMP y
|
||||
DEBUG_INFO y
|
||||
PROC_VMCORE y
|
||||
LOCKUP_DETECTOR y
|
||||
HARDLOCKUP_DETECTOR y
|
||||
'';
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue