• Not Answered

dm6446 decode error with dvsdk_2_00_00_22

I can encode the video fine, but when I try to decode it hangs. I want to output the video to s-video. I use the comand:

#./decode -v v.264 -O s-video

When do a Ctrl-C, I get the following:

Unable to handle kernel paging request at virtual address c793c014
pgd = c53c0000
[c793c014] *pgd=80575011, *pte=00000000, *ppte=00000000
Internal error: Oops: 7 [#1]
Modules linked in: dsplinkk cmemk ipv6
CPU: 0
PC is at SYNC_WaitSEM+0x1b8/0x234 [dsplinkk]
LR is at __wake_up+0x40/0x80
pc : [<bf05b7b4>]    lr : [<c0044e6c>]    Tainted: GF
sp : c53b9e18  ip : c03aa01c  fp : c53b9e64
r10: 00000000  r9 : 00008000  r8 : c793c000
r7 : c793c008  r6 : c53b9e24  r5 : c53b8000  r4 : 7fffffff
r3 : 60000013  r2 : c745d600  r1 : 00000000  r0 : 7fffffff
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: 5317F
Table: 853C0000  DAC: 00000015
Process decode (pid: 1044, stack limit = 0xc53b8258)
Stack: (0xc53b9e18 to 0xc53ba000)
9e00:                                                       c53b9e44 c53b9e28
9e20: c0044e6c 00000001 c745d600 c0044bc0 c793c008 c793c008 c53b9e64 00008000
9e40: 00000000 c55184e0 bf0701b8 00000000 c53b8000 ffffffff c53b9e8c c53b9e68
9e60: bf059d3c bf05b60c 00008000 00000000 00007302 c7440280 00000008 00000000
9e80: c53b9ec4 c53b9e90 bf05a398 bf059c14 00000000 00000000 c0044e6c c0043548
9ea0: 00000000 00007302 be85771c 00007302 c7440280 00000008 c53b9f24 c53b9ec8
9ec0: bf0567f4 bf05a270 c745d600 c0044bc0 00100100 00200200 c0080840 c7440280
9ee0: be857794 00006c12 c7440280 00000008 c53b9f24 c53b9f00 00008000 00000000
9f00: 0005bbc8 00000001 80008000 00008000 c7440280 be85771c c53b9f44 c53b9f28
9f20: c00a6a68 bf05609c c00648a4 c7440280 00000008 be85771c c53b9f74 c53b9f48
9f40: c00a6d48 c00a69fc c0034de8 00000000 00000000 00000000 be85771c 00007302
9f60: 00000008 c53b8000 c53b9fa4 c53b9f78 c00a6e24 c00a6a94 0000012a 00000001
9f80: c53b8000 00000414 00001c20 0005811c 00000036 c0034fa8 00000000 c53b9fa8
9fa0: c0034f78 c00a6d80 00000414 00001c20 00000008 00007302 be85771c 00000008
9fc0: 00000414 00001c20 0005811c 00000036 00049dd4 00000000 40025000 be85770c
9fe0: 0000009e be857638 0003b1f4 4026650c 80000010 00000008 00000070 00000000
[<bf05b5fc>] (SYNC_WaitSEM+0x0/0x234 [dsplinkk]) from [<bf059d3c>] (UEVENT_AddBufByPid+0x138/0x15c [dsplinkk])
[<bf059c04>] (UEVENT_AddBufByPid+0x0/0x15c [dsplinkk]) from [<bf05a398>] (NOTIFY_KnlFinalize+0x138/0x15c [dsplinkk])
[<bf05a260>] (NOTIFY_KnlFinalize+0x0/0x15c [dsplinkk]) from [<bf0567f4>] (DRV_Ioctl+0x768/0x9a0 [dsplinkk])
 r8 = 00000008  r7 = C7440280  r6 = 00007302  r5 = BE85771C
 r4 = 00007302
[<bf05608c>] (DRV_Ioctl+0x0/0x9a0 [dsplinkk]) from [<c00a6a68>] (do_ioctl+0x7c/0x98)
 r5 = BE85771C  r4 = C7440280
[<c00a69ec>] (do_ioctl+0x0/0x98) from [<c00a6d48>] (vfs_ioctl+0x2c4/0x2ec)
 r6 = BE85771C  r5 = 00000008  r4 = C7440280
[<c00a6a84>] (vfs_ioctl+0x0/0x2ec) from [<c00a6e24>] (sys_ioctl+0xb4/0xe8)
 r9 = C53B8000  r8 = 00000008  r6 = 00007302  r5 = BE85771C
 r4 = 00000000
[<c00a6d70>] (sys_ioctl+0x0/0xe8) from [<c0034f78>] (__sys_trace_return+0x0/0x28)
 r8 = C0034FA8  r7 = 00000036  r6 = 0005811C  r5 = 00001C20
 r4 = 00000414
Code: ebfffd53 e3e00102 eb4b4c0a e1a04000 (e5980014)

3 Replies

  • I double-checked the uboot settings and made some changes. I also executed the commands:

    $ make codecs clean
    $ make codecs
    $ make clean
    $ make
    $ make install

    But I'm still getting a decode error. See below:

    root@10:/opt/dvsdk/dm6446# ./decode -v v2.264 -s s.g711 -O s-video
    Decode demo started.
    TraceUtil> Error: Failed to open codec engine "decode"
    TraceUtil> Error: Aborting TraceUtil_start
    Error: Failed to open codec engine decode
    Error: Failed to open codec engine decode
    Error: Failed to open codec engine decode

    loadmodules seems to be ok. Here's the output:

    root@10:/opt/dvsdk/dm6446# ./loadmodules.sh
    ioremap_nocache(0x87600000, 10485760)=0xc8000000
    allocated heap buffer 0xc8000000 of size 0x2c000
    cmem initialized 5 pools between 0x87600000 and 0x88000000
    dsplinkk: no version for "struct_module" found: kernel tainted.
    DSPLINK Module (1.60) created on Date: Oct 24 2008 Time: 12:59:07

    Here are my UBoot settings:

    bootargs=console=ttyS0,115200n8 noinitrd rw ip= root=/dev/nfs nfsroot=,nolock mem=118M

    Environment size: 582/131068 bytes


  • In reply to MRI:

    I have the same problem.Do you have solution?

  • In reply to MRI:


    I just installed the software per the Getting Started Guide (GSG); I did not do a 'make codecs clean' or 'make codecs' and was able to encode, decode and encodedecode sucessfully.  I couple of things worth noting are

    1) The first few messages after 'make' (section 4.6 of GSG) tell you if you have any components missing from the installation (very important)

    2) cmem starts at 118M, (in the past, it has started at 120 M); therefore, your bootargs must reflect this.  Otherwise, you will likely get errors when trying to run ./loadmodules.sh prior to running demos. 

    these are the only two things I noticed were different from previous builds.