[Armadillo:08535] Armadillo-460のKernel panicについて

岡本 亮 email@hidden
2013年 1月 23日 (水) 10:07:20 JST


お世話になっております。
岡本と申します。

Armadillo460でカーネルはlinux-2.6.26-at15を使用して、
データロガーの開発を行っております。

機能概要は以下の通りです。

・30秒毎に機器から出力されるデータをSDに保存
・1時間毎にADC(pcf8591)の値をSDに保存
・1時間毎に上記データをFOMA(3G-FARM)でFTP
→この時にifconfig eth0 downします
・上記時間以外はスリープ(stanby)

連続運転しているとSDカード書込みタイミングで
下記ログのようにKernel panicが発生し停止してしまいます。

運転時間やタイミングなどは決まっておらず、
不定期のタイミングで発生します。

現在原因が特定できずにとても困っております。
対処方法などご教授よろしくお願いします。

mmcblk0: error -110 transferring data
end_request: I/O error, dev mmcblk0, sector 2880
end_request: I/O error, dev mmcblk0, sector 2888
end_request: I/O error, dev mmcblk0, sector 2896
end_request: I/O error, dev mmcblk0, sector 2904
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 2880
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 2880
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 1344
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 1344
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 1472
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 5184
end_request: I/O error, dev mmcblk0, sector 5192
end_request: I/O error, dev mmcblk0, sector 5200
end_request: I/O error, dev mmcblk0, sector 5208
end_request: I/O error, dev mmcblk0, sector 5216
end_request: I/O error, dev mmcblk0, sector 5224
end_request: I/O error, dev mmcblk0, sector 5232
end_request: I/O error, dev mmcblk0, sector 5240
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 5184
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 5248
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 1352
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 1536
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 1600
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 5312
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 244
Buffer I/O error on device mmcblk0p1, logical block 1
lost page write due to I/O error on mmcblk0p1
Unable to handle kernel NULL pointer dereference at virtual address 
00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 17 [#1] PREEMPT
Modules linked in:
CPU: 0    Not tainted  (2.6.26-at15 #58)
PC is at sdhci_tasklet_finish+0x3c/0x17c
LR is at sdhci_tasklet_finish+0x38/0x17c
pc : [<c01ddca8>]    lr : [<c01ddca4>]    psr: 60000093
sp : c6e21c58  ip : c6e21c58  fp : c6e21c74
r10: c033c2cc  r9 : 00000000  r8 : 00000001
r7 : 00000000  r6 : 20000013  r5 : c6e20000  r4 : c6f1c9c0
r3 : 00000000  r2 : 00000001  r1 : 00000000  r0 : 00000000
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0005317f  Table: 8108c000  DAC: 00000017
Process mmcqd (pid: 16, stack limit = 0xc6e20268)
Stack: (0xc6e21c58 to 0xc6e22000)
1c40:                                                       00000000 
c0339a60 
1c60: c0339a40 00000000 c6e21c94 c6e21c78 c00486a8 c01ddc7c c0339aac 
00000001 
1c80: 00000009 c0339a40 c6e21cc4 c6e21c98 c0048c04 c0048640 c031e3b0 
c6e20000 
1ca0: 00000009 c033dc08 00000000 00000001 c6e20000 c0334cc8 c6e21cdc 
c6e21cc8 
1cc0: c0048cd0 c0048ba0 c033dc08 c031e3b0 c6e21cfc c6e21ce0 c002804c 
c0048c84 
1ce0: ffffffff fc400000 00090000 00000002 c6e21d7c c6e21d00 c00287a4 
c0028010 
1d00: c033c290 00000001 00000000 00000001 c6e21e10 7fffffff c6e28ca0 
c6e20000 
1d20: c6e21e0c 00000015 c0334cc8 c6e21d7c c6e21d80 c6e21d48 c026ffe0 
c026f5b8 
1d40: 60000013 ffffffff c026ffe0 c6e21d58 c0034d2c c6e21e10 7fffffff 
7fffffff 
1d60: 00000002 c6e21e0c 00000015 c6e20000 c6e21db4 c6e21d80 c026ffe0 
c026f590 
1d80: c0034d68 a0000093 c6e21e40 c6e21e54 00000003 c6f1c9c0 c6e21e10 
c6e20000 
1da0: 7fffffff 00000002 c6e21df4 c6e21db8 c026fd8c c026ff60 c01dc800 
00000001 
1dc0: c6e28ca0 c003e9fc c6e21e10 c6e21e10 00000001 c6e21e40 c6f1c800 
c6e21e0c 
1de0: c6e26e00 c6f08370 c6e21e04 c6e21df8 c026ff24 c026fcdc c6e21e34 
c6e21e08 
1e00: c01d498c c026ff1c 00000001 00000001 c6e21dc8 c6e21dc8 c01daa30 
c6e20000 
1e20: c6f2fba4 0000000d c6e21f9c c6e21e38 c01da4cc c01d4894 00000001 
00000001 
1e40: c6e21e54 c6e21eac 00000000 c6e21e0c c01d4acc 00000018 0003d400 
00000000 
1e60: 00000000 00000000 00000000 000000b5 00000000 ffffff92 c6e21eac 
c6e21e40 
1e80: 0000000c 00000000 00000000 00000000 00000000 00000000 0000049d 
00000000 
1ea0: 00000000 00000000 00000000 11e1a300 00000000 00000200 00000001 
ffffffac 
1ec0: 00000100 00000200 00000000 c6e21e40 00000001 c6f34380 05f5e100 
00000000 
1ee0: 00000004 00000001 00000000 00000200 00000000 00000000 c6e21f30 
00000001 
1f00: c6e21f5c 00000016 00000000 00000000 00000000 00000000 00000000 
000000b5 
1f20: 00000000 ffffff92 c6e21ed8 c6e21f30 c6e21f04 c6e21ed8 00000000 
c6e21e0c 
1f40: c01d4acc 00000000 00000015 00000005 00000000 00000000 c6e20000 
c6f07810 
1f60: c6e21f7c 00000000 c6e21f9c c6e21f78 c011cff8 c6e20000 c6f08370 
c6f2fba4 
1f80: c6f07904 c6f2fbac 00000000 00000001 c6e21fd4 c6e21fa0 c01db054 
c01da3ac 
1fa0: c0059a7c c6f07810 c6e21fd4 c6e20000 c6f2fba4 c01daf8c c033afbc 
00000000 
1fc0: 00000000 00000000 c6e21ff4 c6e21fd8 c0059a98 c01daf9c 00000000 
00000000 
1fe0: 00000000 00000000 00000000 c6e21ff8 c0046994 c0059a50 00000000 
00000000 
Backtrace: 
[<c01ddc6c>] (sdhci_tasklet_finish+0x0/0x17c) from [<c00486a8>] (tasklet
_action+0x78/0xe0)
 r7:00000000 r6:c0339a40 r5:c0339a60 r4:00000000
[<c0048630>] (tasklet_action+0x0/0xe0) from [<c0048c04>] (__do_softirq+
0x74/0xe4)
 r7:c0339a40 r6:00000009 r5:00000001 r4:c0339aac
[<c0048b90>] (__do_softirq+0x0/0xe4) from [<c0048cd0>] (irq_exit+0x5c/
0x70)
[<c0048c74>] (irq_exit+0x0/0x70) from [<c002804c>] (__exception_text_
start+0x4c/0x60)
 r4:c031e3b0
[<c0028000>] (__exception_text_start+0x0/0x60) from [<c00287a4>] (__irq_
svc+0x44/0x88)
Exception stack(0xc6e21d00 to 0xc6e21d48)
1d00: c033c290 00000001 00000000 00000001 c6e21e10 7fffffff c6e28ca0 
c6e20000 
1d20: c6e21e0c 00000015 c0334cc8 c6e21d7c c6e21d80 c6e21d48 c026ffe0 
c026f5b8 
1d40: 60000013 ffffffff                                                  
     
 r7:00000002 r6:00090000 r5:fc400000 r4:ffffffff
[<c026f580>] (schedule+0x0/0x3c0) from [<c026ffe0>] (schedule_timeout+
0x90/0xd4)
[<c026ff50>] (schedule_timeout+0x0/0xd4) from [<c026fd8c>] (wait_for_
common+0xc0/0x1c8)
 r7:00000002 r6:7fffffff r5:c6e20000 r4:c6e21e10
[<c026fccc>] (wait_for_common+0x0/0x1c8) from [<c026ff24>] (wait_for_
completion+0x18/0x1c)
 r8:c6f08370 r7:c6e26e00 r6:c6e21e0c r5:c6f1c800 r4:c6e21e40
[<c026ff0c>] (wait_for_completion+0x0/0x1c) from [<c01d498c>] (mmc_wait_
for_req+0x108/0x128)
[<c01d4884>] (mmc_wait_for_req+0x0/0x128) from [<c01da4cc>] (mmc_blk_
issue_rq+0x130/0x5e4)
 r6:0000000d r5:c6f2fba4 r4:c6e20000
[<c01da39c>] (mmc_blk_issue_rq+0x0/0x5e4) from [<c01db054>] (mmc_queue_
thread+0xc8/0x120)
[<c01daf8c>] (mmc_queue_thread+0x0/0x120) from [<c0059a98>] (kthread+
0x58/0x8c)
[<c0059a40>] (kthread+0x0/0x8c) from [<c0046994>] (do_exit+0x0/0x6ec)
 r7:00000000 r6:00000000 r5:00000000 r4:00000000
Code: e5853004 e2800c01 ebf9be4d e594706c (e5973000) 
Kernel panic - not syncing: Fatal exception in interrupt







armadillo メーリングリストの案内