From 749918911d35613f8bf7852d2a91f78ff625739e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 13 Jan 2017 14:48:25 +0100 Subject: [PATCH] x86: disable crashlog It could cause crashes with some forms of virtualization, and it is unlikely to work properly with most systems. It's safer to just disable it. Signed-off-by: Felix Fietkau --- config/Config-kernel.in | 2 +- target/linux/x86/config-4.4 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 3f30013845..a4c46f55ae 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -26,7 +26,7 @@ config KERNEL_PRINTK config KERNEL_CRASHLOG bool "Crash logging" - depends on !(arm || powerpc || sparc || TARGET_uml) + depends on !(arm || powerpc || sparc || TARGET_uml || i386 || x86_64) default y config KERNEL_SWAP diff --git a/target/linux/x86/config-4.4 b/target/linux/x86/config-4.4 index e2236b2a25..29d19daeb0 100644 --- a/target/linux/x86/config-4.4 +++ b/target/linux/x86/config-4.4 @@ -79,6 +79,7 @@ CONFIG_CPU_SUP_CYRIX_32=y CONFIG_CPU_SUP_INTEL=y CONFIG_CPU_SUP_TRANSMETA_32=y CONFIG_CPU_SUP_UMC_32=y +# CONFIG_CRASHLOG is not set CONFIG_CRC16=y CONFIG_CRYPTO_AES_586=y CONFIG_CRYPTO_CRC32C=y -- 2.30.2