summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.6/930-crashlog.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-12-18 20:10:02 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-12-18 20:10:02 +0000
commit2143de1a3db3deff78d1fe19b87d386975bcb1bf (patch)
treeb72b80c0fa229e485faf828a15cb81ad2880aea5 /target/linux/generic/patches-3.6/930-crashlog.patch
parent1e8ab4383481bd777f51b9ce03549e39b3266437 (diff)
downloadmtk-20170518-2143de1a3db3deff78d1fe19b87d386975bcb1bf.zip
mtk-20170518-2143de1a3db3deff78d1fe19b87d386975bcb1bf.tar.gz
mtk-20170518-2143de1a3db3deff78d1fe19b87d386975bcb1bf.tar.bz2
generic: disable crashlog on ppc
It causes panic on boot: [ 0.194287] __ioremap(): phys addr 0x1f00000 is RAM lr crashlog_init_fs [ 0.200902] Unable to handle kernel paging request for data at address 0x00000000 [ 0.208347] Faulting instruction address: 0xc026cb10 [ 0.213282] Oops: Kernel access of bad area, sig: 11 [#1] [ 0.218586] PowerPC 40x Platform [ 0.221783] Modules linked in: [ 0.224817] NIP: c026cb10 LR: c026cb10 CTR: c000c1b8 [ 0.229745] REGS: c1825ed0 TRAP: 0300 Not tainted (3.6.11) [ 0.235435] MSR: 00029030 <EE,ME,IR,DR> CR: 42004082 XER: 00000000 [ 0.241745] DEAR: 00000000, ESR: 00000000 [ 0.245724] TASK = c181e000[1] 'swapper' THREAD: c1824000 GPR00: c026cb10 c1825f80 c181e000 00000000 0000004b 0000004b c029a4dd 6f675f69 GPR08: 6e69745f c0290440 00000000 00000000 22004084 00000000 01ffc400 004011f8 GPR16: 00000001 ffffffff 00000000 007fff00 01ff6120 01f94298 01fff258 c02631b8 GPR24: c02604bc 00000019 c02a0000 c02a0000 c027c644 00000000 c02c0000 c02bd388 [ 0.279089] NIP [c026cb10] crashlog_init_fs+0x30/0xe0 [ 0.284095] LR [c026cb10] crashlog_init_fs+0x30/0xe0 [ 0.289000] Call Trace: [ 0.291442] [c1825f80] [c026cb10] crashlog_init_fs+0x30/0xe0 (unreliable) [ 0.298185] [c1825f90] [c00023fc] do_one_initcall+0xdc/0x1c8 [ 0.303812] [c1825fc0] [c02638c4] kernel_init+0x110/0x1a4 [ 0.309154] [c1825ff0] [c000ad4c] kernel_thread+0x4c/0x68 [ 0.314488] Instruction dump: [ 0.317429] 9421fff0 7c0802a6 bfc10008 3fc0c02c 90010014 3bfed388 3800fff4 807f0004 [ 0.325117] 2f830000 41be00a4 38804000 4bda2809 <81630000> 7c691b78 907ed388 6d605e11 Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34773
Diffstat (limited to 'target/linux/generic/patches-3.6/930-crashlog.patch')
-rw-r--r--target/linux/generic/patches-3.6/930-crashlog.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.6/930-crashlog.patch b/target/linux/generic/patches-3.6/930-crashlog.patch
index 41afaee..8c1a18a 100644
--- a/target/linux/generic/patches-3.6/930-crashlog.patch
+++ b/target/linux/generic/patches-3.6/930-crashlog.patch
@@ -26,7 +26,7 @@
+config CRASHLOG
+ bool "Crash logging"
-+ depends on (!NO_BOOTMEM || HAVE_MEMBLOCK) && !(ARM || SPARC)
++ depends on (!NO_BOOTMEM || HAVE_MEMBLOCK) && !(ARM || SPARC || PPC)
+
config BLK_DEV_INITRD
bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"