Changing the kernel parameters for crashump

I think that these enable more checks, and make more NMIs happen.
This commit is contained in:
Lluís Batlle i Rossell 2012-09-05 09:55:02 +02:00
parent 6b6b245693
commit a9e5d1ab50

View File

@ -6,6 +6,7 @@ let
crashdump = config.boot.crashDump;
kernelParams = concatStringsSep " " crashdump.kernelParams;
in
###### interface
{
@ -55,6 +56,8 @@ in
kernelParams = [
"crashkernel=64M"
"nmi_watchdog=panic"
"softlockup_panic=1"
"idle=poll"
];
kernelPackages = mkOverride 50 (crashdump.kernelPackages // {
kernel = crashdump.kernelPackages.kernel.override