Changing the kernel parameters for crashump
I think that these enable more checks, and make more NMIs happen.
This commit is contained in:
parent
6b6b245693
commit
a9e5d1ab50
@ -6,6 +6,7 @@ let
|
|||||||
crashdump = config.boot.crashDump;
|
crashdump = config.boot.crashDump;
|
||||||
|
|
||||||
kernelParams = concatStringsSep " " crashdump.kernelParams;
|
kernelParams = concatStringsSep " " crashdump.kernelParams;
|
||||||
|
|
||||||
in
|
in
|
||||||
###### interface
|
###### interface
|
||||||
{
|
{
|
||||||
@ -55,6 +56,8 @@ in
|
|||||||
kernelParams = [
|
kernelParams = [
|
||||||
"crashkernel=64M"
|
"crashkernel=64M"
|
||||||
"nmi_watchdog=panic"
|
"nmi_watchdog=panic"
|
||||||
|
"softlockup_panic=1"
|
||||||
|
"idle=poll"
|
||||||
];
|
];
|
||||||
kernelPackages = mkOverride 50 (crashdump.kernelPackages // {
|
kernelPackages = mkOverride 50 (crashdump.kernelPackages // {
|
||||||
kernel = crashdump.kernelPackages.kernel.override
|
kernel = crashdump.kernelPackages.kernel.override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user