|
|
按照OMAPL138/用户手册/14-1-OMAPL138的多核软件开发组件MCSDK开发入门.pdf操作,到8.2.2 运行 syslink 示例程序,出现错误。报错信息如下,然后内核通讯不成功,进入死机状态,求助" l; S9 m U, H- a- p) [
- root@tl:/# cd /
; }7 r7 ~6 u# \& | - root@tl:/# ./runall.sh 7 E; f$ p6 C. d
- ##########################################################) |! U5 N( y4 { X
- # Loading modules in ex33_umsg/load_umsg.sh
) a5 ?. v# h, q/ d b - + insmod ./ex33_umsg/umsg.ko" W3 Y6 l L0 V& T9 x
- ##########################################################
2 H2 c: z. O: `& q0 A - ' K. _( E0 E- U7 x
- ##########################################################6 l1 ` o- h6 a. v* |, O7 N
- # Running example in ex01_helloworld/debug4 e5 }1 Q. F+ I: g- |) E
- ##########################################################1 \& i! K$ w S4 J- |9 L
- + ./slaveloader startup DSP server_dsp.xe674+ z0 y z2 ` ]5 y
- Attached to slave procId 0.
) o1 }0 C& O2 M0 J- Y - Loading procId 0.
+ V0 Z" W' r2 c# `9 x0 l - [ 170.068595] ------------[ cut here ]------------% ~4 Q: B0 ~) `: L0 h( X
- [ 170.074813] WARNING: at arch/arm/mm/ioremap.c:241 __arm_ioremap_pfn_caller+0x180/0x27c()
: D& n' Q6 I5 t: ^ - [ 170.084445] Modules linked in: umsg(O) syslink(O)5 ^; o* M5 z \! V/ [
- [ 170.089278] Backtrace: - n' C& ?% ?' `5 |, Y
- [ 170.093323] [<c000c1a8>] (dump_backtrace+0x0/0x110) from [<c040ebc0>] (dump_stack+0x18/0x1c)7 j# r8 b8 H: k7 l, M/ B- z
- [ 170.104267] r6:c04e15f7 r5:000000f1 r4:00000000 r3:20000093+ e( A( a) ?- [( x( Y
- [ 170.110094] [<c040eba8>] (dump_stack+0x0/0x1c) from [<c0017f50>] (warn_slowpath_common+0x54/0x6c)
1 r# P' J l8 M" q# o( X - [ 170.121691] [<c0017efc>] (warn_slowpath_common+0x0/0x6c) from [<c0017f8c>] (warn_slowpath_null+0x24/0x2c)
# W6 ^/ U! M+ ]) K5 A) e n - [ 170.132879] r8:c3000000 r7:c0597b54 r6:0001b000 r5:0001ae20 r4:000c3000
) X6 }) F' e8 N8 @% L - [ 170.139514] r3:00000009. U; |# \- `" R/ N% f$ |- k; i
- [ 170.143766] [<c0017f68>] (warn_slowpath_null+0x0/0x2c) from [<c000f57c>] (__arm_ioremap_pfn_caller+0x180/0x27c)9 S8 |7 Z6 n2 q% I3 K; N
- [ 170.156460] [<c000f3fc>] (__arm_ioremap_pfn_caller+0x0/0x27c) from [<c000f6f4>] (__arm_ioremap_caller+0x5c/0x64)0 P$ j5 b9 M* @. z I; }2 `! n
- [ 170.168436] [<c000f698>] (__arm_ioremap_caller+0x0/0x64) from [<c000f710>] (__arm_ioremap+0x14/0x18)
" G7 ?$ X$ g' l3 x: {, B9 R6 U! u: X - [ 170.179176] r4:c882e0004 ]1 d3 c; f, A% S" G. ^/ g
- [ 170.183032] [<c000f6fc>] (__arm_ioremap+0x0/0x18) from [<bf025d88>] (MemoryOS_map+0x1e0/0x3a0 [syslink])9 d* v9 o; C' `4 k- a0 i
- [ 170.196146] [<bf025ba8>] (MemoryOS_map+0x0/0x3a0 [syslink]) from [<bf004ddc>] (_ProcMgr_map+0x1cc/0x4e8 [syslink])# t: R5 O+ }+ ?( Y) n8 c( ?
- [ 170.208222] r7:c69b5cd4 r6:0001ae20 r5:06a85000 r4:c69b5d580 j; \ l6 p- l& }3 N7 @& S0 V
- [ 170.215339] [<bf004c10>] (_ProcMgr_map+0x0/0x4e8 [syslink]) from [<bf00d218>] (ElfLoaderTrgWrite_copy+0x154/0x3f0 [syslink])7 V. P# Q2 _7 r
- [ 170.230158] [<bf00d0c4>] (ElfLoaderTrgWrite_copy+0x0/0x3f0 [syslink]) from [<bf010888>] (DLIF_copy+0x10/0x1c [syslink]); d6 b0 h" z9 r
- [ 170.243631] [<bf010878>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf00f59c>] (DLOAD_load+0x734/0xa5c [syslink])* U# Q# [ @3 E* B
- [ 170.256132] [<bf00ee68>] (DLOAD_load+0x0/0xa5c [syslink]) from [<bf00c1c4>] (ElfLoader_load+0x268/0x3a0 [syslink])
9 q, s) H; N* B - [ 170.269132] [<bf00bf5c>] (ElfLoader_load+0x0/0x3a0 [syslink]) from [<bf002d00>] (Loader_load+0xec/0x164 [syslink])" L; _$ B- p/ L ~$ d! ?+ f
- [ 170.282202] [<bf002c14>] (Loader_load+0x0/0x164 [syslink]) from [<bf007474>] (ProcMgr_load+0x218/0x310 [syslink])' j% w9 `* D# c! k8 I9 ^3 L
- [ 170.295064] [<bf00725c>] (ProcMgr_load+0x0/0x310 [syslink]) from [<bf009458>] (ProcMgrDrv_ioctl+0xb3c/0x1bac [syslink]); M( A, n5 Y! H# E$ w: U
- [ 170.308023] [<bf00891c>] (ProcMgrDrv_ioctl+0x0/0x1bac [syslink]) from [<c009cf20>] (do_vfs_ioctl+0x51c/0x5a0)
' e( w% Y1 B, h3 U' l' ?" C: o3 f - [ 170.319581] r8:c00095c4 r7:c7830170 r6:bed90b78 r5:bed90b78 r4:c6938100
& i4 q" r. i6 c% R3 U# ^. e2 Z - [ 170.326847] [<c009ca04>] (do_vfs_ioctl+0x0/0x5a0) from [<c009cfe4>] (sys_ioctl+0x40/0x64)" I% `' \; G u+ K. a
- [ 170.337723] r9:c69b4000 r8:c00095c4 r7:00000008 r6:c020e0a2 r5:bed90b78
! V+ q! c/ l" X/ p6 Y$ v - [ 170.344730] r4:c6938100
s- l6 |8 k% K) Y - [ 170.347451] [<c009cfa4>] (sys_ioctl+0x0/0x64) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
6 `" e" p) ^* P7 D/ K - [ 170.359236] r7:00000036 r6:00000000 r5:bed90e82 r4:bed90bc4! G6 n* ^, f9 i" u: x) `
- [ 170.365333] ---[ end trace 8ea019fcb39ed870 ]---
; H2 Q r- }8 L- F" J/ u - [ 170.370067] *** MemoryOS_map: Failed to map to host address space!
2 V9 {; p+ E/ y) p d - [ 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.c
D1 `$ s/ A- r4 l - [ 170.398195] *** _ProcMgr_map: Memory_map failed
9 U8 _) C+ m |7 S- 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.c0 y5 i; Y- P3 [1 F
- [ 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) : failed$ {; E ?, @+ J! g( {
- [ 170.445669] ------------[ cut here ]------------
: Z9 o/ I8 [- b% v/ L( u - [ 170.451876] WARNING: at arch/arm/mm/ioremap.c:241 __arm_ioremap_pfn_caller+0x180/0x27c()9 G/ J0 R* v' f. X9 h/ ^
- [ 170.460073] Modules linked in: umsg(O) syslink(O)
6 N- |" @# z5 F ?4 P5 q4 Q: C1 G. ~ - [ 170.466353] Backtrace:
% b. @- ]' i7 h* c0 { - [ 170.468904] [<c000c1a8>] (dump_backtrace+0x0/0x110) from [<c040ebc0>] (dump_stack+0x18/0x1c)/ Q0 a' {% k& [3 f' t0 E8 q, e- F$ L) D
- [ 170.480977] r6:c04e15f7 r5:000000f1 r4:00000000 r3:20000093 {: m. [3 u+ p& s1 k+ \) y$ V
- [ 170.486846] [<c040eba8>] (dump_stack+0x0/0x1c) from [<c0017f50>] (warn_slowpath_common+0x54/0x6c)
7 L. G1 d/ a$ H6 v - [ 170.498292] [<c0017efc>] (warn_slowpath_common+0x0/0x6c) from [<c0017f8c>] (warn_slowpath_null+0x24/0x2c)
; n+ t2 M9 D5 S0 w0 b5 l. M - [ 170.509539] r8:c301a000 r7:c0597b54 r6:00008000 r5:00006828 r4:000c301a
4 _5 H% d* }1 S0 E - [ 170.516539] r3:00000009
* Y. a! Y7 Q1 Y- K - [ 170.519280] [<c0017f68>] (warn_slowpath_null+0x0/0x2c) from [<c000f57c>] (__arm_ioremap_pfn_caller+0x180/0x27c)
* a# s7 `, F) d- U c5 t - [ 170.532990] [<c000f3fc>] (__arm_ioremap_pfn_caller+0x0/0x27c) from [<c000f6f4>] (__arm_ioremap_caller+0x5c/0x64)6 g4 ?: B4 Z2 s2 d3 Q) @
- [ 170.544882] [<c000f698>] (__arm_ioremap_caller+0x0/0x64) from [<c000f710>] (__arm_ioremap+0x14/0x18)
' n6 R K- K. g9 X% h$ O) E3 e* Z - [ 170.555616] r4:c882e000
5 I: x( m! _5 c$ o- Y' y, a$ e* g4 T - [ 170.558868] [<c000f6fc>] (__arm_ioremap+0x0/0x18) from [<bf025d88>] (MemoryOS_map+0x1e0/0x3a0 [syslink])
K" x. b6 `" W- g t8 T$ z% j - [ 170.572097] [<bf025ba8>] (MemoryOS_map+0x0/0x3a0 [syslink]) from [<bf004ddc>] (_ProcMgr_map+0x1cc/0x4e8 [syslink])$ N5 T, ]% a0 X, H! K) w' u
- [ 170.584085] r7:c69b5cd4 r6:00006828 r5:06a85000 r4:c69b5d586 K6 x. l* e- K1 O3 B
- [ 170.590909] [<bf004c10>] (_ProcMgr_map+0x0/0x4e8 [syslink]) from [<bf00d218>] (ElfLoaderTrgWrite_copy+0x154/0x3f0 [syslink])
" `1 b9 k. e5 T* U" A - [ 170.605710] [<bf00d0c4>] (ElfLoaderTrgWrite_copy+0x0/0x3f0 [syslink]) from [<bf010888>] (DLIF_copy+0x10/0x1c [syslink])" S, J. N/ p7 l, @% _; Y2 u1 J2 A
- [ 170.619133] [<bf010878>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf00f59c>] (DLOAD_load+0x734/0xa5c [syslink])) u4 ~- [- l: v
- [ 170.631687] [<bf00ee68>] (DLOAD_load+0x0/0xa5c [syslink]) from [<bf00c1c4>] (ElfLoader_load+0x268/0x3a0 [syslink]) d; E$ m/ x7 T8 V& v# E. ^% u5 S
- [ 170.644708] [<bf00bf5c>] (ElfLoader_load+0x0/0x3a0 [syslink]) from [<bf002d00>] (Loader_load+0xec/0x164 [syslink])+ ^# o m) {$ W4 p
- [ 170.657715] [<bf002c14>] (Loader_load+0x0/0x164 [syslink]) from [<bf007474>] (ProcMgr_load+0x218/0x310 [syslink])
* t# d) U( T" W; o - [ 170.670622] [<bf00725c>] (ProcMgr_load+0x0/0x310 [syslink]) from [<bf009458>] (ProcMgrDrv_ioctl+0xb3c/0x1bac [syslink])8 N$ J- I5 Y9 {, D4 w8 B$ R
- [ 170.683603] [<bf00891c>] (ProcMgrDrv_ioctl+0x0/0x1bac [syslink]) from [<c009cf20>] (do_vfs_ioctl+0x51c/0x5a0) A( g9 M. L* U5 @$ P, Z7 h
- [ 170.695136] r8:c00095c4 r7:c7830170 r6:bed90b78 r5:bed90b78 r4:c6938100' V& S& `/ |2 ?6 h0 |+ D
- [ 170.702365] [<c009ca04>] (do_vfs_ioctl+0x0/0x5a0) from [<c009cfe4>] (sys_ioctl+0x40/0x64)
' }( X; h1 C4 P2 Y! d9 w - [ 170.713061] r9:c69b4000 r8:c00095c4 r7:00000008 r6:c020e0a2 r5:bed90b78
5 c, d4 [6 [* Q+ t! N/ _ - [ 170.719736] r4:c6938100& B2 S( _, t9 {8 @( }/ ?% N/ Y
- [ 170.723949] [<c009cfa4>] (sys_ioctl+0x0/0x64) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)' O. U2 X: |* I6 Q" q. N/ L
- [ 170.734781] r7:00000036 r6:00000000 r5:bed90e82 r4:bed90bc4; q! q& s l8 ~: C
- [ 170.741127] ---[ end trace 8ea019fcb39ed871 ]---( x/ Y6 L/ S/ U4 ]. T7 |$ Y" e6 N
- [ 170.745831] *** MemoryOS_map: Failed to map to host address space!
+ X# ?" t" p F- C' y, F - [ 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
复制代码 |
|