|
|
按照OMAPL138/用户手册/14-1-OMAPL138的多核软件开发组件MCSDK开发入门.pdf操作,到8.2.2 运行 syslink 示例程序,出现错误。报错信息如下,然后内核通讯不成功,进入死机状态,求助0 I, ^0 f' I* O! n( e
- root@tl:/# cd /+ k6 f6 ^ W& D- s
- root@tl:/# ./runall.sh
( F$ j+ |. q" ~6 W3 o% S/ e - ##########################################################
4 K7 G! `2 z7 L4 W3 E* Q; Z - # Loading modules in ex33_umsg/load_umsg.sh
/ a. x1 Z* t# O/ z. {3 ?/ T - + insmod ./ex33_umsg/umsg.ko- t7 i0 Y- B" Y2 Q, d
- ##########################################################
4 m1 h1 s9 p* |0 G - ( ?6 b; u& G: A6 P. I- S# N: q l
- ##########################################################
! w+ q& P6 P( ^# x: x( g2 A - # Running example in ex01_helloworld/debug. c: H3 p1 Y! \1 ]; O& L1 ]2 A
- ##########################################################
2 R- S+ ]" I7 d( r( r7 y - + ./slaveloader startup DSP server_dsp.xe6747 u) z+ q8 y3 b/ j! l
- Attached to slave procId 0.; R5 m5 y% Y: v- n# g
- Loading procId 0.4 @, B' F9 \( s4 o7 T s
- [ 170.068595] ------------[ cut here ]------------
% x+ x2 c2 H- d1 h/ C1 Q - [ 170.074813] WARNING: at arch/arm/mm/ioremap.c:241 __arm_ioremap_pfn_caller+0x180/0x27c()2 r- z, h, D4 ^1 e: [) M$ |3 G3 u
- [ 170.084445] Modules linked in: umsg(O) syslink(O)3 c9 ]3 V. R% k/ L. L. F. Y
- [ 170.089278] Backtrace:
; e1 [0 T7 B2 d4 h8 K/ ?6 H - [ 170.093323] [<c000c1a8>] (dump_backtrace+0x0/0x110) from [<c040ebc0>] (dump_stack+0x18/0x1c)3 N5 W" c) F$ n+ ~. m
- [ 170.104267] r6:c04e15f7 r5:000000f1 r4:00000000 r3:200000931 f" M6 p9 c- O K
- [ 170.110094] [<c040eba8>] (dump_stack+0x0/0x1c) from [<c0017f50>] (warn_slowpath_common+0x54/0x6c)
5 D) g7 V' {6 D2 K O, q - [ 170.121691] [<c0017efc>] (warn_slowpath_common+0x0/0x6c) from [<c0017f8c>] (warn_slowpath_null+0x24/0x2c)
; Y$ E7 U$ I2 D& f' _1 R - [ 170.132879] r8:c3000000 r7:c0597b54 r6:0001b000 r5:0001ae20 r4:000c3000: |% t9 W, Z! L
- [ 170.139514] r3:00000009+ n8 M) [# e! s1 Y9 c) p
- [ 170.143766] [<c0017f68>] (warn_slowpath_null+0x0/0x2c) from [<c000f57c>] (__arm_ioremap_pfn_caller+0x180/0x27c)
2 a5 |$ D+ e- V. `/ P2 Q - [ 170.156460] [<c000f3fc>] (__arm_ioremap_pfn_caller+0x0/0x27c) from [<c000f6f4>] (__arm_ioremap_caller+0x5c/0x64)
5 q/ }7 `' G. ]9 [* \ - [ 170.168436] [<c000f698>] (__arm_ioremap_caller+0x0/0x64) from [<c000f710>] (__arm_ioremap+0x14/0x18)) `$ e7 A" V. ]3 U; ~ g
- [ 170.179176] r4:c882e000
! e3 n7 M2 f$ N8 e& U - [ 170.183032] [<c000f6fc>] (__arm_ioremap+0x0/0x18) from [<bf025d88>] (MemoryOS_map+0x1e0/0x3a0 [syslink])
& x0 X/ g! m' [9 J# { - [ 170.196146] [<bf025ba8>] (MemoryOS_map+0x0/0x3a0 [syslink]) from [<bf004ddc>] (_ProcMgr_map+0x1cc/0x4e8 [syslink])
) k! y. b& Y6 W9 R& V, U G0 \ - [ 170.208222] r7:c69b5cd4 r6:0001ae20 r5:06a85000 r4:c69b5d58
_- _: O6 Y6 O* P$ \0 } - [ 170.215339] [<bf004c10>] (_ProcMgr_map+0x0/0x4e8 [syslink]) from [<bf00d218>] (ElfLoaderTrgWrite_copy+0x154/0x3f0 [syslink])5 \' h) h w7 _! E( w3 J0 C
- [ 170.230158] [<bf00d0c4>] (ElfLoaderTrgWrite_copy+0x0/0x3f0 [syslink]) from [<bf010888>] (DLIF_copy+0x10/0x1c [syslink])( s$ N5 q; `% X+ C. _7 M# Y
- [ 170.243631] [<bf010878>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf00f59c>] (DLOAD_load+0x734/0xa5c [syslink])
- Q7 Q8 i# w% n. `0 f1 ^# X0 E - [ 170.256132] [<bf00ee68>] (DLOAD_load+0x0/0xa5c [syslink]) from [<bf00c1c4>] (ElfLoader_load+0x268/0x3a0 [syslink])7 ~* Q$ i7 I- J8 ?, F
- [ 170.269132] [<bf00bf5c>] (ElfLoader_load+0x0/0x3a0 [syslink]) from [<bf002d00>] (Loader_load+0xec/0x164 [syslink])4 p$ P5 s- r3 ]4 o
- [ 170.282202] [<bf002c14>] (Loader_load+0x0/0x164 [syslink]) from [<bf007474>] (ProcMgr_load+0x218/0x310 [syslink])2 S: A; [4 [6 ~- \8 ^6 Q
- [ 170.295064] [<bf00725c>] (ProcMgr_load+0x0/0x310 [syslink]) from [<bf009458>] (ProcMgrDrv_ioctl+0xb3c/0x1bac [syslink])
" K6 I W/ {. | - [ 170.308023] [<bf00891c>] (ProcMgrDrv_ioctl+0x0/0x1bac [syslink]) from [<c009cf20>] (do_vfs_ioctl+0x51c/0x5a0)7 q7 H( N) h" Y( b2 Y( B+ L
- [ 170.319581] r8:c00095c4 r7:c7830170 r6:bed90b78 r5:bed90b78 r4:c6938100
) H+ `8 x3 D' S; c( L - [ 170.326847] [<c009ca04>] (do_vfs_ioctl+0x0/0x5a0) from [<c009cfe4>] (sys_ioctl+0x40/0x64)
5 n# ]7 P2 W! p; k% i: a - [ 170.337723] r9:c69b4000 r8:c00095c4 r7:00000008 r6:c020e0a2 r5:bed90b78! Q: L. C) S) }7 n% T8 R6 X( {7 o( {
- [ 170.344730] r4:c6938100* }1 ]) c5 p$ ^! ?- T# x
- [ 170.347451] [<c009cfa4>] (sys_ioctl+0x0/0x64) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)- t" q+ a" ]- _' |, w4 u' E
- [ 170.359236] r7:00000036 r6:00000000 r5:bed90e82 r4:bed90bc4
: s* S. A) }' u& Q5 }1 Y0 ~$ { - [ 170.365333] ---[ end trace 8ea019fcb39ed870 ]---5 d& o" l/ g3 c' X" K) r+ p
- [ 170.370067] *** MemoryOS_map: Failed to map to host address space!
9 n9 P/ `3 p7 e9 m$ B - [ 170.370090] Error [0x897d2003] at Line no: 517 in file /home/wangsj/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/osal/Linux/MemoryOS.c0 [+ M4 j0 o" E" @4 C: l' z
- [ 170.398195] *** _ProcMgr_map: Memory_map failed- l6 p, H% {+ C" o3 t
- [ 170.398218] Error [0xfffffff1] at Line no: 2441 in file /home/wangsj/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/procMgr/common/ProcMgr.c
0 e- i/ }9 {( G - [ 170.422258] Assertion at Line no: 356 in /home/wangsj/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/osal/Linux/OsalKfile.c: ((bytesRead / size) == (UInt32) count) : failed4 |7 H8 p8 W7 w% _
- [ 170.445669] ------------[ cut here ]------------: m; \: g; v, g# ]+ o! c
- [ 170.451876] WARNING: at arch/arm/mm/ioremap.c:241 __arm_ioremap_pfn_caller+0x180/0x27c()4 o; a% r* l; r' }* E; ~' s" `, l; o
- [ 170.460073] Modules linked in: umsg(O) syslink(O)
- w$ ~) M+ J* z! d - [ 170.466353] Backtrace: : L% j. s9 M& E% h# A
- [ 170.468904] [<c000c1a8>] (dump_backtrace+0x0/0x110) from [<c040ebc0>] (dump_stack+0x18/0x1c)
) M3 ~# O+ h* M+ a& `5 ^ - [ 170.480977] r6:c04e15f7 r5:000000f1 r4:00000000 r3:20000093
7 s# Y2 A/ B- C8 @ - [ 170.486846] [<c040eba8>] (dump_stack+0x0/0x1c) from [<c0017f50>] (warn_slowpath_common+0x54/0x6c): a) O6 s, `+ k3 }
- [ 170.498292] [<c0017efc>] (warn_slowpath_common+0x0/0x6c) from [<c0017f8c>] (warn_slowpath_null+0x24/0x2c)
7 R0 M% F- Z) ?( O! l- V - [ 170.509539] r8:c301a000 r7:c0597b54 r6:00008000 r5:00006828 r4:000c301a, {5 p% X) W! C9 K4 _% W
- [ 170.516539] r3:00000009
0 V, z( f& v8 b) p. c - [ 170.519280] [<c0017f68>] (warn_slowpath_null+0x0/0x2c) from [<c000f57c>] (__arm_ioremap_pfn_caller+0x180/0x27c)3 D. s: A: r* l4 m% {# L
- [ 170.532990] [<c000f3fc>] (__arm_ioremap_pfn_caller+0x0/0x27c) from [<c000f6f4>] (__arm_ioremap_caller+0x5c/0x64)( C8 h) F9 r7 e9 T8 y) M- y
- [ 170.544882] [<c000f698>] (__arm_ioremap_caller+0x0/0x64) from [<c000f710>] (__arm_ioremap+0x14/0x18)
0 |- \' p+ J0 R/ M! K) g& B3 w- f - [ 170.555616] r4:c882e000/ ]8 B' O1 Z8 u7 B! Y. Q
- [ 170.558868] [<c000f6fc>] (__arm_ioremap+0x0/0x18) from [<bf025d88>] (MemoryOS_map+0x1e0/0x3a0 [syslink])
( G+ g+ d# ]3 e - [ 170.572097] [<bf025ba8>] (MemoryOS_map+0x0/0x3a0 [syslink]) from [<bf004ddc>] (_ProcMgr_map+0x1cc/0x4e8 [syslink])! r4 k) |* {9 b5 d% T! W
- [ 170.584085] r7:c69b5cd4 r6:00006828 r5:06a85000 r4:c69b5d58) ?2 J8 S* L, R( [& t9 D
- [ 170.590909] [<bf004c10>] (_ProcMgr_map+0x0/0x4e8 [syslink]) from [<bf00d218>] (ElfLoaderTrgWrite_copy+0x154/0x3f0 [syslink])
+ o. e) y6 X! K' h- L( i% h - [ 170.605710] [<bf00d0c4>] (ElfLoaderTrgWrite_copy+0x0/0x3f0 [syslink]) from [<bf010888>] (DLIF_copy+0x10/0x1c [syslink])
* U" T: R+ p6 b3 R$ X - [ 170.619133] [<bf010878>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf00f59c>] (DLOAD_load+0x734/0xa5c [syslink])
4 I7 F, `, g2 ]% N0 k - [ 170.631687] [<bf00ee68>] (DLOAD_load+0x0/0xa5c [syslink]) from [<bf00c1c4>] (ElfLoader_load+0x268/0x3a0 [syslink])( Z& h: l, w# o0 V" s
- [ 170.644708] [<bf00bf5c>] (ElfLoader_load+0x0/0x3a0 [syslink]) from [<bf002d00>] (Loader_load+0xec/0x164 [syslink])! `& \# [4 V1 V1 h3 l/ M
- [ 170.657715] [<bf002c14>] (Loader_load+0x0/0x164 [syslink]) from [<bf007474>] (ProcMgr_load+0x218/0x310 [syslink])
' V' Q) e; `" X- ?$ H( T - [ 170.670622] [<bf00725c>] (ProcMgr_load+0x0/0x310 [syslink]) from [<bf009458>] (ProcMgrDrv_ioctl+0xb3c/0x1bac [syslink])
* @8 d- M8 U6 M; ~* \1 J4 ?5 [ - [ 170.683603] [<bf00891c>] (ProcMgrDrv_ioctl+0x0/0x1bac [syslink]) from [<c009cf20>] (do_vfs_ioctl+0x51c/0x5a0)
) f% p! C6 f6 `! N6 Y" Q - [ 170.695136] r8:c00095c4 r7:c7830170 r6:bed90b78 r5:bed90b78 r4:c6938100
( R. L' m; z' j; k8 f/ [) R( u5 p( ^ - [ 170.702365] [<c009ca04>] (do_vfs_ioctl+0x0/0x5a0) from [<c009cfe4>] (sys_ioctl+0x40/0x64)
/ ? N( U* V7 @! @. {1 c2 p' s - [ 170.713061] r9:c69b4000 r8:c00095c4 r7:00000008 r6:c020e0a2 r5:bed90b78
( P- S( }# X4 d- A; r9 ?4 E7 T - [ 170.719736] r4:c69381004 ~. F" Z4 e! ~/ ?
- [ 170.723949] [<c009cfa4>] (sys_ioctl+0x0/0x64) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
- X- S2 J* F' Q* {0 C: d - [ 170.734781] r7:00000036 r6:00000000 r5:bed90e82 r4:bed90bc4
, D9 B t1 Z [" y/ f - [ 170.741127] ---[ end trace 8ea019fcb39ed871 ]---9 h0 ^5 @3 k- |9 W) @+ s
- [ 170.745831] *** MemoryOS_map: Failed to map to host address space!! T; {6 t1 q, X* P5 w% p+ k
- [ 170.745854] Error [0x897d2003] at Line no: 517 in file /home/wangsj/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/osal/Linux/MemoryOS.c
复制代码 |
|