coreos/coreos-overlay — pull request #651 by marineam (2014-06-03 21:07:11+00:00)
Title: bump(sys-kernel/coreos-kernel): Update to v3.14.5, update panic settings

In addition to bumping to the latest stable this tweaks the default
settings for panics and lockups so that they do not need to be set in
sysctl configs. We needed to update these settings anyway and setting it
here means they will apply before boot gets around loading sysctl confs.

Previously the sysctl options set the hardlockup threshold to 5 seconds
and the softlockup threshold to 10 seconds. This is perhaps a bit too
aggressive, just use the default values of 10 and 20 seconds.

Also sysctl enabled an immediate reboot after panic, using a friendlier
60 seconds gives users a chance to see the error before the reboot.

For reference here is the config diff:

```patch
--- files/x86_64_defconfig-3.14.4	2014-05-30 13:25:49.515293803 -0700
+++ files/x86_64_defconfig-3.14.5	2014-06-03 14:05:15.380593579 -0700
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 3.14.4 Kernel Configuration
+# Linux/x86 3.14.5 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
@@ -225,6 +225,7 @@
CONFIG_SLUB=y
# CONFIG_SLOB is not set
CONFIG_SLUB_CPU_PARTIAL=y
+CONFIG_SYSTEM_TRUSTED_KEYRING=y
CONFIG_PROFILING=y
CONFIG_TRACEPOINTS=y
# CONFIG_OPROFILE is not set
@@ -285,7 +286,6 @@
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
-CONFIG_SYSTEM_TRUSTED_KEYRING=y
CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
@@ -3258,9 +3258,9 @@
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
-# CONFIG_PANIC_ON_OOPS is not set
-CONFIG_PANIC_ON_OOPS_VALUE=0
-CONFIG_PANIC_TIMEOUT=0
+CONFIG_PANIC_ON_OOPS=y
+CONFIG_PANIC_ON_OOPS_VALUE=1
+CONFIG_PANIC_TIMEOUT=60
CONFIG_SCHED_DEBUG=y
CONFIG_SCHEDSTATS=y
CONFIG_TIMER_STATS=y
```