3
0
Fork 0
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:
Lluís Batlle i Rossell 2012-07-18 21:50:18 +02:00
parent 4553a27a92
commit f43033a3f7

View file

@ -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
'';
});
});