Gabor Juhos
2143de1a3d
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
12 years ago
Florian Fainelli
8ad0b56ba5
do not build crashlog on sparc too
...
This is crashing the kernel in crashlog_init_fs(), until fixed, disable it
for SPARC too.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34213
12 years ago
Gabor Juhos
9a37cf7ec6
generic: fix crashlog patch for 3.6
...
kmsg_dump() uses an iterator to receive log buffer
content since 3.5. Change the 'crashlog_do_dump'
function in order to make it compatible with the
new version.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33970
12 years ago
Florian Fainelli
7e856e5a97
make all 3.6 patches apply and build
...
SVN-Revision: 33911
12 years ago
Imre Kaloz
949b46d13d
linux 3.6 support (work in progress)
...
SVN-Revision: 33897
12 years ago
Gabor Juhos
b942309f4f
generic: use __meminit annotation for crashlog_init_memblock
...
Fixes this section mismatch warning:
WARNING: vmlinux.o(.meminit.text+0xb14): Section mismatch in reference
from the function memblock_insert_region() to the function
.init.text:crashlog_init_memblock()
The function __meminit memblock_insert_region() references
a function __init crashlog_init_memblock().
If crashlog_init_memblock is only used by memblock_insert_region then
annotate crashlog_init_memblock with a matching annotation.
Also, remove the __init annotations from 'include/linux/crashlog.h'
SVN-Revision: 33137
12 years ago
Florian Fainelli
c0561a42e7
disable crashlog on ARM platforms for the moment
...
It is currently badly broken on ARM, until fixed, disable it
SVN-Revision: 32926
12 years ago
Felix Fietkau
b59bc92c6e
crashlog: fix dependency, add memblock support
...
SVN-Revision: 32787
12 years ago
Jonas Gorski
eca9950f63
kernel: add preliminary support for linux 3.3
...
Based on 3.3-rc2
SVN-Revision: 29986
13 years ago
Jonas Gorski
1bc0abb058
kernel: add support for linux 3.2.1
...
SVN-Revision: 29730
13 years ago
Jonas Gorski
3e94ee9642
kernel: generic: refresh patches for 3.1-rc2
...
SVN-Revision: 28021
13 years ago
Jonas Gorski
cf2070bd5b
linux: generic: add support for 3.1-rc1
...
SVN-Revision: 27940
13 years ago
Hauke Mehrtens
1c0d5f5ae2
kernel: refresh patches for kernel 3.0-rc4
...
SVN-Revision: 27247
14 years ago
Hauke Mehrtens
235e331987
linux/generic: Add support for 3.0-rc3
...
Also make linux identify itself properly as 3.0, not 3.0.0.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27191
14 years ago
Felix Fietkau
127e4ebd32
generic: Add support for 2.6.39
...
Add support for 2.6.39 based on rc3. Runtime tested on bcm63xx.
SVN-Revision: 26615
14 years ago
Imre Kaloz
c700e57cc7
preliminary 2.6.38 support
...
SVN-Revision: 25057
14 years ago
Alexandros C. Couloumbis
ce0984ec5d
linux/generic: update & refresh 2.6.36 & 2.6.37. ( closes #8324 )
...
SVN-Revision: 24370
14 years ago
Alexandros C. Couloumbis
a2d17ea8cf
target/linux: add preliminary 2.6.37 kernel support
...
SVN-Revision: 23828
14 years ago
Hamish Guthrie
0dc830c8f1
kernel: crashlog uses bootmem to allocate memory which is being deprecated in favour of memblock. microblaze, sh, arm, sparc and powerpc only have memblock.
...
SVN-Revision: 23269
14 years ago
Alexandros C. Couloumbis
11c45f64fe
linux/generic: refresh 2.6.36 kernel patches
...
SVN-Revision: 23237
14 years ago
Alexandros C. Couloumbis
206e5f313e
linux/generic: add kernel 2.6.36 preliminary support
...
SVN-Revision: 22832
14 years ago
Florian Fainelli
083ff78000
crashlog depends on BOOTMEM
...
SVN-Revision: 22541
14 years ago
Felix Fietkau
9f6c22b497
kernel: add the new 'crashlog' feature, which tries to store kernel oops/panic logs in a fixed location in RAM to recover them after the reboot and make them available to user space using debugfs
...
SVN-Revision: 22305
15 years ago