当前位置: 代码迷 >> 驱动开发 >> ,在ARM9下调用SD卡下的文件出现死机的情况
  详细解决方案

,在ARM9下调用SD卡下的文件出现死机的情况

热度:17   发布时间:2016-04-28 10:40:21.0
紧急求助,在ARM9上调用SD卡上的文件出现死机的情况
我在SD卡上放了一个mplayer,插入ARM9的SD卡槽,然后挂载:mount -t vfat /dev/mmcblk0p1 /tmp
就是把SD卡挂载到了tmp里面

进入tmp运行mplayer,./mplayer *.avi

一开始能运行,可是运行几秒钟以后就死机了,然后就弹出:
BUG: soft lockup - CPU#0 stuck for 61s! [mmcqd:884]
Modules linked in:

Pid: 884, comm:                mmcqd
CPU: 0    Not tainted  (2.6.28.7 #337)
PC is at do_pio_write+0xc8/0x154
LR is at 0xc39c89c0
pc : [<c020f7e4>]    lr : [<c39c89c0>]    psr: 20000013
sp : c39cfda4  ip : 00000003  fp : c39cfdbc
r10: c39cfef8  r9 : c39c8800  r8 : c39cff0c
r7 : c39cff64  r6 : c39c89c0  r5 : c5000040  r4 : 00000000
r3 : 000001c4  r2 : c2c7643c  r1 : 000001c4  r0 : c39c8000
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: c000717f  Table: 32804000  DAC: 00000017
[<c002bd0c>] (show_regs+0x0/0x4c) from [<c006ac50>] (softlockup_tick+0x104/0x14c)
 r4:01312c4b
[<c006ab4c>] (softlockup_tick+0x0/0x14c) from [<c0052250>] (run_local_timers+0x1c/0x20)
[<c0052234>] (run_local_timers+0x0/0x20) from [<c0052280>] (update_process_times+0x2c/0x58)
[<c0052254>] (update_process_times+0x0/0x58) from [<c002e59c>] (timer_tick+0xdc/0x100)
 r5:00000000 r4:c0394520
[<c002e4c0>] (timer_tick+0x0/0x100) from [<c0033bb0>] (s3c2410_timer_interrupt+0x10/0x18)
 r5:00000000 r4:c0366850
[<c0033ba0>] (s3c2410_timer_interrupt+0x0/0x18) from [<c006b30c>] (handle_IRQ_event+0x44/0x80)
[<c006b2c8>] (handle_IRQ_event+0x0/0x80) from [<c006cb3c>] (handle_edge_irq+0x104/0x144)
 r7:c39cff64 r6:c0366850 r5:0000001e r4:c0369bd4
[<c006ca38>] (handle_edge_irq+0x0/0x144) from [<c002a064>] (asm_do_IRQ+0x64/0x80)
 r6:00000000 r5:c03a0df4 r4:0000001e
[<c002a000>] (asm_do_IRQ+0x0/0x80) from [<c002a9e4>] (__irq_svc+0x24/0xa0)
Exception stack(0xc39cfd5c to 0xc39cfda4)
fd40:                                                                c39c8000 
fd60: 000001c4 c2c7643c 000001c4 00000000 c5000040 c39c89c0 c39cff64 c39cff0c 
fd80: c39c8800 c39cfef8 c39cfdbc 00000003 c39cfda4 c39c89c0 c020f7e4 20000013 
fda0: ffffffff                                                                
 r6:00004000 r5:f4000000 r4:ffffffff