当前位置: 技术问答>linux和unix
在做davinci的encodedecode时出现的错误
来源: 互联网 发布时间:2016-08-09
本文导语: 在启动的时候有一个warning 一个fatal WARNING: Couldn't open directory /lib/modules/2.6.10_mvl401: No such file or directory FATAL: Could not open /lib/modules/2.6.10_mvl401/modules.dep.temp for writing: No such file or directory 这是因为什么啊...
在启动的时候有一个warning 一个fatal
WARNING: Couldn't open directory /lib/modules/2.6.10_mvl401: No such file or directory
FATAL: Could not open /lib/modules/2.6.10_mvl401/modules.dep.temp for writing: No such file or directory
这是因为什么啊?如何解决?
在开发板要./loadmodules.sh 时出现下面情况
cmemk: module license '(c) Texas Instruments' taints kernel.
cmem initialized 3 pools between 0x81c00000 and 0x82400000
dsplinkk: no version for "struct_module" found: kernel tainted.
DDR_START 0x83a00000 DDR_SIZE 0x400000
kernel tainted是因为什么原因?
在./encodedecode时就死了。。。。
root@192.168.1.109:/examples/dvevm_codec# ./encodedecode
Encodedecode demo started.
win: 1, hfactor:0, vfactor: 0
Display set to 720x480 and no zoom
Capturing 720x480 video
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 817 [#1]
Modules linked in: dsplinkk cmemk
CPU: 0
PC is at DDA_cpmac_net_rx_multiple_cb+0x38/0xd4
LR is at 0x5ea
pc : [] lr : [] Tainted: PF
sp : c021ddf4 ip : c021de20 fp : c021de1c
r10: 00000001 r9 : c021de64 r8 : 00000001
r7 : 00000001 r6 : c0340a20 r5 : c3677800 r4 : c3a71740
r3 : 00000000 r2 : 00000001 r1 : c3677800 r0 : c0340a20
Flags: nzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 5317F Table: 8295C000 DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc021c198)
Stack: (0xc021ddf4 to 0xc021e000)
dde0: c01448dc c0179708 e1083020
de00: c3677810 20000000 c367b140 c3aff400 c021de5c c021de20 c0144568 c0144b08
de20: c3c27840 00000020 00000001 00000000 c3c27840 c0340de4 00000000 c3aff400
de40: 00000100 c021de8c c0269840 c0271040 c021de88 c021de60 c0144740 c0144378
de60: c02712dc 00000000 c0340800 c0340de4 c0285368 c0340a20 c021deb4 c021deb0
de80: c021de8c c01447e0 c0144620 00000000 c0340900 c0340800 c0285368 0000cefe
dea0: c021f2a4 c021ded8 c021deb4 c0180108 c0144784 0000012c c021c000 00000103
dec0: 00000001 c0271080 0000000a c021df00 c021dedc c003c2b8 c018006c c021c000
dee0: 00000000 ffffffff 00000002 c021c000 c021df64 c021df18 c021df04 c003c394
df00: c003c274 c021c000 c021c000 c021df2c c021df1c c003c544 c003c36c c021df98
df20: c021df60 c021df30 c0025cc4 c003c50c c021df3c c00324b4 c021df98 e1048000
df40: ffffffff 00000002 c021c000 00000001 8001eba0 c021dfc0 c021df64 c00245b4
df60: c0025bac 00000000 0005317f 0005217f 60000013 c021c000 60000093 c0273c78
df80: c028b880 8001ebd0 41069265 8001eba0 c021dfc0 c021dfac c021dfac c002677c
dfa0: c002678c 60000013 ffffffff c021c000 c0026714 c021dfd8 c021dfc4 c00267e4
dfc0: c0026724 00053175 c026937c c021dffc c021dfdc c00087c4 c00267a4 c0008300
dfe0: c026a7d0 00053175 c026a7bc c021efcc 00000000 c021e000 8000809c c000864c
Backtrace:
[] (DDA_cpmac_net_rx_multiple_cb+0x0/0xd4) from [] (CpmacRxBDProc+0x200/0x214)
r8 = C3AFF400 r7 = C367B140 r6 = 20000000 r5 = C3677810
r4 = E1083020
[] (CpmacRxBDProc+0x0/0x214) from [] (cpmacPktProcess+0x130/0x164)
[] (cpmacPktProcess+0x0/0x164) from [] (cpmac_poll+0x6c/0x13c)
r8 = C021DEB4 r7 = C0340A20 r6 = C0285368 r5 = C0340DE4
r4 = C0340800
[] (cpmac_poll+0x0/0x13c) from [] (net_rx_action+0xac/0x1b8)
r8 = C021F2A4 r7 = 0000CEFE r6 = C0285368 r5 = C0340800
r4 = C0340900
[] (net_rx_action+0x0/0x1b8) from [] (___do_softirq+0x54/0xf8)
r8 = 0000000A r7 = C0271080 r6 = 00000001 r5 = 00000103
r4 = C021C000
[] (___do_softirq+0x0/0xf8) from [] (__do_softirq+0x38/0x58)
[] (__do_softirq+0x0/0x58) from [] (irq_exit+0x48/0x5c)
r5 = C021C000 r4 = C021C000
[] (irq_exit+0x0/0x5c) from [] (asm_do_IRQ+0x128/0x140)
r4 = C021DF98
[] (asm_do_IRQ+0x0/0x140) from [] (__irq_svc+0x34/0x68)
[] (default_idle+0x0/0x80) from [] (cpu_idle+0x50/0x88)
r5 = C0026714 r4 = C021C000
[] (cpu_idle+0x0/0x88) from [] (start_kernel+0x188/0x1cc)
r5 = C026937C r4 = 00053175
[] (start_kernel+0x0/0x1cc) from [] (0x8000809c)
Code: e5943064 e3530000 e3a03000 e595e00c (15833000)
Kernel panic - not syncing: Aiee, killing interrupt handler!
这时候只能重启。。
WARNING: Couldn't open directory /lib/modules/2.6.10_mvl401: No such file or directory
FATAL: Could not open /lib/modules/2.6.10_mvl401/modules.dep.temp for writing: No such file or directory
这是因为什么啊?如何解决?
在开发板要./loadmodules.sh 时出现下面情况
cmemk: module license '(c) Texas Instruments' taints kernel.
cmem initialized 3 pools between 0x81c00000 and 0x82400000
dsplinkk: no version for "struct_module" found: kernel tainted.
DDR_START 0x83a00000 DDR_SIZE 0x400000
kernel tainted是因为什么原因?
在./encodedecode时就死了。。。。
root@192.168.1.109:/examples/dvevm_codec# ./encodedecode
Encodedecode demo started.
win: 1, hfactor:0, vfactor: 0
Display set to 720x480 and no zoom
Capturing 720x480 video
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 817 [#1]
Modules linked in: dsplinkk cmemk
CPU: 0
PC is at DDA_cpmac_net_rx_multiple_cb+0x38/0xd4
LR is at 0x5ea
pc : [] lr : [] Tainted: PF
sp : c021ddf4 ip : c021de20 fp : c021de1c
r10: 00000001 r9 : c021de64 r8 : 00000001
r7 : 00000001 r6 : c0340a20 r5 : c3677800 r4 : c3a71740
r3 : 00000000 r2 : 00000001 r1 : c3677800 r0 : c0340a20
Flags: nzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 5317F Table: 8295C000 DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc021c198)
Stack: (0xc021ddf4 to 0xc021e000)
dde0: c01448dc c0179708 e1083020
de00: c3677810 20000000 c367b140 c3aff400 c021de5c c021de20 c0144568 c0144b08
de20: c3c27840 00000020 00000001 00000000 c3c27840 c0340de4 00000000 c3aff400
de40: 00000100 c021de8c c0269840 c0271040 c021de88 c021de60 c0144740 c0144378
de60: c02712dc 00000000 c0340800 c0340de4 c0285368 c0340a20 c021deb4 c021deb0
de80: c021de8c c01447e0 c0144620 00000000 c0340900 c0340800 c0285368 0000cefe
dea0: c021f2a4 c021ded8 c021deb4 c0180108 c0144784 0000012c c021c000 00000103
dec0: 00000001 c0271080 0000000a c021df00 c021dedc c003c2b8 c018006c c021c000
dee0: 00000000 ffffffff 00000002 c021c000 c021df64 c021df18 c021df04 c003c394
df00: c003c274 c021c000 c021c000 c021df2c c021df1c c003c544 c003c36c c021df98
df20: c021df60 c021df30 c0025cc4 c003c50c c021df3c c00324b4 c021df98 e1048000
df40: ffffffff 00000002 c021c000 00000001 8001eba0 c021dfc0 c021df64 c00245b4
df60: c0025bac 00000000 0005317f 0005217f 60000013 c021c000 60000093 c0273c78
df80: c028b880 8001ebd0 41069265 8001eba0 c021dfc0 c021dfac c021dfac c002677c
dfa0: c002678c 60000013 ffffffff c021c000 c0026714 c021dfd8 c021dfc4 c00267e4
dfc0: c0026724 00053175 c026937c c021dffc c021dfdc c00087c4 c00267a4 c0008300
dfe0: c026a7d0 00053175 c026a7bc c021efcc 00000000 c021e000 8000809c c000864c
Backtrace:
[] (DDA_cpmac_net_rx_multiple_cb+0x0/0xd4) from [] (CpmacRxBDProc+0x200/0x214)
r8 = C3AFF400 r7 = C367B140 r6 = 20000000 r5 = C3677810
r4 = E1083020
[] (CpmacRxBDProc+0x0/0x214) from [] (cpmacPktProcess+0x130/0x164)
[] (cpmacPktProcess+0x0/0x164) from [] (cpmac_poll+0x6c/0x13c)
r8 = C021DEB4 r7 = C0340A20 r6 = C0285368 r5 = C0340DE4
r4 = C0340800
[] (cpmac_poll+0x0/0x13c) from [] (net_rx_action+0xac/0x1b8)
r8 = C021F2A4 r7 = 0000CEFE r6 = C0285368 r5 = C0340800
r4 = C0340900
[] (net_rx_action+0x0/0x1b8) from [] (___do_softirq+0x54/0xf8)
r8 = 0000000A r7 = C0271080 r6 = 00000001 r5 = 00000103
r4 = C021C000
[] (___do_softirq+0x0/0xf8) from [] (__do_softirq+0x38/0x58)
[] (__do_softirq+0x0/0x58) from [] (irq_exit+0x48/0x5c)
r5 = C021C000 r4 = C021C000
[] (irq_exit+0x0/0x5c) from [] (asm_do_IRQ+0x128/0x140)
r4 = C021DF98
[] (asm_do_IRQ+0x0/0x140) from [] (__irq_svc+0x34/0x68)
[] (default_idle+0x0/0x80) from [] (cpu_idle+0x50/0x88)
r5 = C0026714 r4 = C021C000
[] (cpu_idle+0x0/0x88) from [] (start_kernel+0x188/0x1cc)
r5 = C026937C r4 = 00053175
[] (start_kernel+0x0/0x1cc) from [] (0x8000809c)
Code: e5943064 e3530000 e3a03000 e595e00c (15833000)
Kernel panic - not syncing: Aiee, killing interrupt handler!
这时候只能重启。。
|
不知道你的./encodedecode 调用了什么驱动
我想可能是那个驱动被编译成了module
而你make内核的时候没有 make module 生成这些module,或者没有先insmod这些module
只是猜测
我想可能是那个驱动被编译成了module
而你make内核的时候没有 make module 生成这些module,或者没有先insmod这些module
只是猜测
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。