这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 大家好:arm linux操作大文件时出错

共3条 1/1 1 跳转至

大家好:arm linux操作大文件时出错

菜鸟
2011-10-11 09:22:06     打赏
大家好:
     请教一个问题,我将linux2.6.21移植到了arm板上,在登录文件系统后,使用cp复制大于20M的文件时,系统就会跑飞,使用tar时也出现操作大于20M的文件时就跑飞的现象。请教各位有没有知道这是什么问题的。我试着做过两个文件 系统了都出现相同的情况,好像是内核问题

具体情况如下:
~ # cd /project/mm/
/project/mm # ls
1.tar  2.tar  3.tar  4.tar  5.tar
/project/mm # ls -l
total 31019
-rw-r--r--    1 root     root       2641920 Jan  1 00:00 1.tar
-rw-r--r--    1 root     root       2641920 Jan  1 00:01 2.tar
-rw-r--r--    1 root     root       5285888 Jan  1 00:01 3.tar
-rw-r--r--    1 root     root      10572288 Jan  1 00:01 4.tar
-rw-r--r--    1 root     root      10620928 Jan  1 00:01 5.tar
/project/mm # rm 5.tar
/project/mm # ls
1.tar  2.tar  3.tar  4.tar
/project/mm # tar cvf 5.tar *
1.tar
2.tar
3.tar
4.tar
Unable to handle kernel paging request at virtual address e5c23000
pgd = c3b7c000
[e5c23000] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0
pc : [<c0047960>]    lr : [<e5c23000>]    Not tainted
sp : c0029c50  ip : c0029c7c  fp : c0029c78
r10: 00000003  r9 : c0029c94  r8 : 00000000
r7 : c3b76410  r6 : c00000c0  r5 : 00000000  r4 : 00000001
r3 : 00000000  r2 : 00000001  r1 : 00000003  r0 : c00000c0
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  Segment user
Control: C000717F
Table: 23B7C000  DAC: 00000015
Process tar (pid: 825, stack limit = 0xc0028250)
Stack: (0xc0029c50 to 0xc002a000)
9c40:                                     20000013 00000000 0000001e c3b76410
9c60: 00000020 00000020 c0029ce0 c0029c90 c0029c7c c00479e0 c0047948 c0029c94
9c80: c0346000 c0029ca8 c0029c94 c005e368 c00479c4 c0346000 00000000 c0029cbc
9ca0: c0029cac c006a424 c005e348 c0346000 c0029cd4 c0029cc0 c012747c c006a3f8
9cc0: c0029ce0 c0346000 c0029d50 c0029cd8 c0070d74 c012746c 0000003c c26c85d8
9ce0: c03463b8 c0346038 00000002 00000000 c0355fc0 c0355fe0 c0029d04 c0071c1c
9d00: c0071794 c3b76880 00000000 00001000 c0029db8 c0029d20 c006c53c c0071b2c
9d20: 00001000 beaf2704 c0029df8 c3b76410 00000020 c26c85d8 0000003c c26c861c
9d40: c26c85d8 c0029d74 c0029d54 c0070f4c c0070bdc c0029df8 00000000 c26c85d8
9d60: c3b76410 00000000 c0029d98 c0029d78 c0071048 c0070eec c0029df8 00000000
9d80: c0029df8 00000020 00000001 c0029dc8 c0029d9c c0071244 c0070fb8 00000000
9da0: c0029e00 00001000 0000001c 0000001c 00a15200 00000000 00000000 c0029e48
9dc0: c0029dcc c006aba8 c0071078 00000001 00001000 c3b763ac 00000000 0000001b
9de0: 0000001c 0000001d 00000a15 c0029ef0 c26c85d8 c3b76410 0000001c 00000020
9e00: 00000000 00000000 0000001c 0000003c 00000020 00000020 00000000 00000000
9e20: 00000001 00000000 c26c85d8 c0029ea0 00000000 00000001 00001000 c0029e94
9e40: c0029e4c c006d0cc c006aa64 c0029e5c c006af48 c0029ef0 c0029ea0 00000000
9e60: 00001000 beaf1704 00000000 c0029ea8 c0029ef0 c26c85d8 c0029f78 c0029ea0
9e80: 00000000 beaf1704 c0029f50 c0029e9c c0082f30 c006cf24 0001c000 00000000
9ea0: beaf1704 00001000 c016f7cc c005e0cc 00000000 00000001 ffffffff c26c85d8
9ec0: 00000000 00000000 00000000 00000000 c381a6a0 00000000 00000000 c0047948
9ee0: c381a6a0 c005e21c c0029ee8 c0029ee8 0001c000 00000000 00000006 c3e93918
9f00: c0029f50 c0029f10 c016a7ac 00001000 c3e93cd4 00000006 00000000 00000000
9f20: 00000000 00000002 00000002 c26c85d8 beaf1704 c0029f78 00001000 00000000
9f40: c0028000 c0029f74 c0029f54 c0083040 c0082e80 00000000 c26c85f8 c26c85d8
9f60: c0029f78 0001c000 c0029fa4 c0029f78 c0083364 c0082f90 0001c000 00000000
9f80: 00000000 00001000 beaf1704 00000004 00000003 c0036d84 00000000 c0029fa8
9fa0: c0036be0 c0083328 00001000 beaf1704 00000004 beaf1704 00001000 00000000
9fc0: 00001000 beaf1704 00000004 00000003 0001c000 00000000 beaf1704 ffffffff
9fe0: 00000000 beaf16ec 0000a514 00118b24 60000010 00000004 00000000 00000000
Backtrace:
Function entered at [<c0047938>] from [<c00479e0>]
Function entered at [<c00479b4>] from [<c005e368>]
r4 = C0346000
Function entered at [<c005e338>] from [<c006a424>]
Function entered at [<c006a3e8>] from [<c012747c>]
r4 = C0346000
Function entered at [<c012745c>] from [<c0070d74>]
r5 = C0346000  r4 = C0029CE0
Function entered at [<c0070bcc>] from [<c0070f4c>]
Function entered at [<c0070edc>] from [<c0071048>]
r8 = 00000000  r7 = C3B76410  r6 = C26C85D8  r5 = 00000000
r4 = C0029DF8
Function entered at [<c0070fa8>] from [<c0071244>]
r6 = 00000001  r5 = 00000020  r4 = C0029DF8
Function entered at [<c0071068>] from [<c006aba8>]
Function entered at [<c006aa54>] from [<c006d0cc>]
Function entered at [<c006cf14>] from [<c0082f30>]
Function entered at [<c0082e70>] from [<c0083040>]
r9 = C0028000  r8 = 00000000  r7 = 00001000  r6 = C0029F78
r5 = BEAF1704  r4 = C26C85D8
Function entered at [<c0082f80>] from [<c0083364>]
r7 = 0001C000  r6 = C0029F78  r5 = C26C85D8  r4 = C26C85F8
Function entered at [<c0083318>] from [<c0036be0>]
r8 = C0036D84  r7 = 00000003  r6 = 00000004  r5 = BEAF1704
r4 = 00001000
Code: e1a0a001 e1a04002 e1a08003 e59b9004 (e59e7000)
Unable to handle kernel paging request at virtual address e54b301d
pgd = c3b48000
[e54b301d] *pgd=00000000
Internal error: Oops: 3 [#2]
Modules linked in:
CPU: 0
pc : [<c0047960>]    lr : [<e54b301d>]    Not tainted
sp : c3fedddc  ip : c3fede08  fp : c3fede04
r10: 00000003  r9 : c3fede20  r8 : 00000000
r7 : c3b050b8  r6 : c0000160  r5 : 00000001  r4 : 00000001
r3 : 00000000  r2 : 00000001  r1 : 00000003  r0 : c0000160
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  Segment user
Control: C000717F
Table: 23B48000  DAC: 00000015
Process sh (pid: 817, stack limit = 0xc3fec250)
Stack: (0xc3fedddc to 0xc3fee000)
ddc0:                                                                20000013
dde0: 00000001 c037cb60 c3b050b8 c3b050b8 c381a000 001bf000 c3fede1c c3fede08
de00: c00479e0 c0047948 c3fede20 c037cb60 c3fede34 c3fede20 c005e368 c00479c4
de20: c037cb60 00000000 c3fede48 c3fede38 c006a424 c005e348 c3821efc c3fede80
de40: c3fede4c c0076c00 c006a3f8 00000000 00000000 00000002 23b5b0df 000006fc
de60: 00000001 c3fec000 c3b050b8 c381a000 001bf000 c3fedecc c3fede84 c0077cec
de80: c0076aa0 c3b48000 c381a040 23b5b0df 00000000 00000000 c3b48000 00000800
dea0: 00000002 ffffffeb c383c460 c3b050b8 c381a000 c381a034 c3fedfb0 001bfa98
dec0: c3fedf04 c3feded0 c003c2d0 c0077684 c0057318 c0057260 0000081f ffffffff
dee0: c02b7130 0000081f c3fedfb0 001bfa98 00000000 00000007 c3fedfac c3fedf08
df00: c003c4ec c003c208 00000339 c3fedf8c c3fedf1c c004e5a0 c005e0cc c3fedf28
df20: c00470ec c01543d0 c383c514 c3fec000 00000000 bed2c78c ffffffff 00000000
df40: c383c460 c0047920 00000000 00000000 00000000 c383c460 c0047920 00100100
df60: 00200200 ffffffea bed2c78c ffffffff 00000072 c0036d84 c3fec000 00000007
df80: c3fedfa4 c3fedf90 c004e70c ffffffff ffffffff 00000013 bed2c790 00000000
dfa0: 00000000 c3fedfb0 c0036b88 c003c4c0 00000013 bed2c7a4 000a746c 00000000
dfc0: 001bfa3c ffffffff 00000013 bed2c790 00000000 00000000 00000007 001c453c
dfe0: 001b34ba bed2c770 000ebdc4 000ebdd4 60000010 ffffffff 00000000 00000000
Backtrace:
Function entered at [<c0047938>] from [<c00479e0>]
Function entered at [<c00479b4>] from [<c005e368>]
r4 = C037CB60
Function entered at [<c005e338>] from [<c006a424>]
Function entered at [<c006a3e8>] from [<c0076c00>]
r4 = C3821EFC
Function entered at [<c0076a90>] from [<c0077cec>]
Function entered at [<c0077674>] from [<c003c2d0>]
Function entered at [<c003c1f8>] from [<c003c4ec>]
Function entered at [<c003c4b0>] from [<c0036b88>]
r8 = 00000000  r7 = BED2C790  r6 = 00000013  r5 = FFFFFFFF
r4 = FFFFFFFF
Code: e1a0a001 e1a04002 e1a08003 e59b9004 (e59e7000)
Unable to handle kernel paging request at virtual address e24dd018
pgd = c0020000
[e24dd018] *pgd=00000000
Internal error: Oops: 5 [#3]
Modules linked in:
CPU: 0
pc : [<c0047960>]    lr : [<e24dd018>]    Not tainted
sp : c03a1d84  ip : c03a1db0  fp : c03a1dac
r10: 00000003  r9 : c03a1dc8  r8 : 00000000
r7 : c039dd50  r6 : c0000118  r5 : 00000003  r4 : 00000001
r3 : 00000000  r2 : 00000001  r1 : 00000003  r0 : c0000118
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  Segment user
Control: C000717F
Table: 20020000  DAC: 00000015
Process linuxrc (pid: 1, stack limit = 0xc03a0250)
Stack: (0xc03a1d84 to 0xc03a2000)
1d80:          20000013 00000003 c02bb150 c039dd50 00000001 c039b600 c38d40bc
1da0: c03a1dc4 c03a1db0 c00479e0 c0047948 c03a1dc8 c3b0533c c03a1ddc c03a1dc8
1dc0: c005e368 c00479c4 c3b0533c 00000003 c03a1df4 c03a1de0 c005e394 c005e348
1de0: c3b05218 c00b1e34 c03a1e04 c03a1df8 c0096518 c005e380 c03a1e1c c03a1e08
1e00: c0096958 c0096510 c3b05218 c3b05218 c03a1e30 c03a1e20 c0095c50 c0096890
1e20: c3b05188 c03a1e4c c03a1e34 c0093804 c0095bec c03a1eb4 c3b05188 c3b05188
1e40: c03a1e64 c03a1e50 c0093c74 c0093770 c3b05188 c38d4088 c03a1e88 c03a1e68
1e60: c0093d68 c0093c20 c3b05188 c38d4088 c38d40bc c38d4088 00000001 c03a1eb0
1e80: c03a1e8c c0094324 c0093cac c38d4088 c383c460 c03a1ec0 c02f3d00 c03a1eb4
1ea0: 00000004 c03a1ef4 c03a1eb4 c00b4224 c0094238 0013dc05 00000003 c03a1ec0
1ec0: 00373138 c03a1ed0 c03a1ef4 c03a1ed8 c383c460 c383c460 00000000 00000000
1ee0: c38d4330 00000004 c03a1f18 c03a1ef8 c004c7e8 c00b41dc 00000331 c383c460
1f00: c383c460 00000000 c383c51c c03a1f8c c03a1f1c c004e35c c004c550 c03a1f28
1f20: c0061020 c025eb6c c039b6b4 c03a0000 00000001 00000000 ffffffff 00000000
1f40: c039b600 c0047920 00000000 00000000 00000000 c039b600 c0047920 c039b938
1f60: c039b938 ffffffea 00000000 ffffffff 00000072 c0036d84 c03a0000 befedf14
1f80: c03a1fa4 c03a1f90 c004e70c c004db60 00000000 00000000 00000000 c03a1fa8
1fa0: c0036be0 c004e6e4 00000000 00000000 ffffffff 00000000 00000000 00000000
1fc0: 00000000 00000000 ffffffff 00000001 befedf14 001c03e8 befedf14 0000008a
1fe0: 00000000 befeda7c 000aaf78 0010066c 60000010 ffffffff e7c54003 858511fc
Backtrace:
Function entered at [<c0047938>] from [<c00479e0>]
Function entered at [<c00479b4>] from [<c005e368>]
r4 = C3B0533C
Function entered at [<c005e338>] from [<c005e394>]
Function entered at [<c005e370>] from [<c0096518>]
r5 = C00B1E34  r4 = C3B05218
Function entered at [<c0096500>] from [<c0096958>]
Function entered at [<c0096880>] from [<c0095c50>]
r5 = C3B05218  r4 = C3B05218
Function entered at [<c0095bdc>] from [<c0093804>]
r4 = C3B05188
Function entered at [<c0093760>] from [<c0093c74>]
r5 = C3B05188  r4 = C3B05188
Function entered at [<c0093c10>] from [<c0093d68>]
r5 = C38D4088  r4 = C3B05188
Function entered at [<c0093c9c>] from [<c0094324>]
r8 = 00000001  r7 = C38D4088  r6 = C38D40BC  r5 = C38D4088
r4 = C3B05188
Function entered at [<c0094228>] from [<c00b4224>]
Function entered at [<c00b41cc>] from [<c004c7e8>]
Function entered at [<c004c540>] from [<c004e35c>]
r8 = C383C51C  r7 = 00000000  r6 = C383C460  r5 = C383C460
r4 = 00000331
Function entered at [<c004db50>] from [<c004e70c>]
Function entered at [<c004e6d4>] from [<c0036be0>]
r4 = 00000000
Code: e1a0a001 e1a04002 e1a08003 e59b9004 (e59e7000)
Kernel panic - not syncing: Attempted to kill init!
请大家帮忙分析一下



关键词: 大家     linux     作大     文件     出错     0000000    

高工
2011-10-11 23:17:06     打赏
2楼
你的板子的ram多大,可能溢出了。

助工
2011-10-12 13:40:09     打赏
3楼
我觉得是内核驱动程序的问题,pc和函数地址都是3G以上的地方,都在内核地址空间。

共3条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]