dsplink issues

I'm running some dsplink demos built from teh OE codec engine recipe.
I can load the kernel module and have run
mknod /dev/dsplink c 230 0.

I ran the message tests a few times (with different message counts)
and then ran ringiogpp. The dump is at the end of the email. Running
root@beagleboard:~# ring_iogpp /usr/share/dsplink/ringio.out 1024 10
after booting prints some encouraging messages, the dumped me back to
the login prompt.

How robust is dsplink and the dsplink samples on the Beagle?


root@beagleboard:~# ring_iogpp /usr/share/dsplink/ringio.out 1024 10
========== Sample Application : RING_IO ==========
Bytes to transfer :128
Data buffer size :1024
Entered RING_IO_Create ()
Unable to handle kernel paging request at virtual address 5d00000c
pgd = c7990000
[5d00000c] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in: dsplinkk ipv6
CPU: 0 Not tainted (2.6.27-omap1 #1)
PC is at MEM_Map+0x1c/0x70 [dsplinkk]
LR is at ISR_Callback+0x38/0x6c [dsplinkk]
pc : [<bf047e68>] lr : [<bf048110>] psr: 20000113
sp : c72c7d84 ip : c72c7da0 fp : c72c7d9c
r10: bf055864 r9 : c72c6000 r8 : 00000002
r7 : 0000001c r6 : 00000000 r5 : 00000000 r4 : 5d000000
r3 : bf047e58 r2 : 5f525349 r1 : c88a8000 r0 : 5d000000
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 00c5387f Table: 87990018 DAC: 00000015
Process ring_iogpp (pid: 1378, stack limit = 0xc72c62e8)
Stack: (0xc72c7d84 to 0xc72c8000)
7d80: 00000000 c71429c0 00000000 c72c7dbc c72c7da0 c007d5bc bf0480e4
7da0: c044a980 0000001c 00000000 00000000 c72c7dd4 c72c7dc0 c007ee08 c007d58c
7dc0: 0000001c c044a980 c72c7df4 c72c7dd8 c0033048 c007ed40 ffffffff d8200000
7de0: baba01bf 00000000 c72c7e5c c72c7df8 c00337f0 c003300c 00008000 00000000
7e00: 0000141d 00000000 c88c0100 c8874000 baba01bf 00000000 00000002 c72c6000
7e20: bf055864 c72c7e5c 80008017 c72c7e44 bf03d734 bf03dfcc 80000013 ffffffff
7e40: c72c7e84 c88c0000 00008000 bf055864 c72c7e94 c72c7e60 bf03d734 bf03df44
7e60: 87e21300 bf05584c c7006480 c0033dc4 00000000 87e21300 bf05584c c7006480
7e80: c0033dc4 40024000 c72c7eb4 c72c7e98 bf03d208 bf03d668 c72c7eb4 bf057260
7ea0: 00008000 00000000 c72c7ed4 c72c7eb8 bf04afec bf03d18c be972ba4 00006c03
7ec0: be972ba4 be972ba4 c72c7f3c c72c7ed8 bf04c578 bf04af54 00000000 c0440620
7ee0: 0000081f c72c7fb0 40968186 00000000 00000000 40024000 c72c7fac c72c7f08
7f00: c00331e8 00008000 00000000 87f30600 40968600 87f30000 40968000 00070000
7f20: c72c7f74 00006c03 be972ba4 00000003 c72c7f54 c72c7f40 c00adecc bf04c190
7f40: c7006480 be972ba4 c72c7f7c c72c7f58 c00ae14c c00ade70 c72c7f74 c72c7f68
7f60: 00000003 be972ba4 00006c03 c7006480 c72c7fa4 c72c7f80 c00ae19c c00adee8
7f80: c72c6000 00000001 00000000 00000000 00008bc4 00000036 00000000 c72c7fa8
7fa0: c0033c40 c00ae168 00000000 00000000 00000003 00006c03 be972ba4 00000003
7fc0: 00000000 00000000 00008bc4 00000036 00000000 00000000 40024000 be972b94
7fe0: 00000000 be972ac0 0001ca98 400f599c 20000010 00000003 000a6425 693e373c
[<bf0480d8>] (ISR_Callback+0x0/0x6c [dsplinkk]) from [<c007d5bc>] (handle_IRQ_e)
r5:00000000 r4:c71429c0
[<c007d580>] (handle_IRQ_event+0x0/0x74) from [<c007ee08>] (handle_level_irq+0x)
r7:00000000 r6:00000000 r5:0000001c r4:c044a980
[<c007ed34>] (handle_level_irq+0x0/0xf0) from [<c0033048>] (__exception_text_st)
r5:c044a980 r4:0000001c
[<c0033000>] (__exception_text_start+0x0/0x64) from [<c00337f0>] (__irq_svc+0x3)
Exception stack(0xc72c7df8 to 0xc72c7e40)
7de0: 00008000 00000000
7e00: 0000141d 00000000 c88c0100 c8874000 baba01bf 00000000 00000002 c72c6000
7e20: bf055864 c72c7e5c 80008017 c72c7e44 bf03d734 bf03dfcc 80000013 ffffffff
r7:00000000 r6:baba01bf r5:d8200000 r4:ffffffff
[<bf03df38>] (SHMDRV_handshake+0x0/0xc0 [dsplinkk]) from [<bf03d734>] (LDRV_DRV)
r6:bf055864 r5:00008000 r4:c88c0000
[<bf03d65c>] (LDRV_DRV_handshake+0x0/0x284 [dsplinkk]) from [<bf03d208>] (LDRV_)
[<bf03d180>] (LDRV_PROC_start+0x0/0xa4 [dsplinkk]) from [<bf04afec>] (PMGR_PROC)
r6:00000000 r5:00008000 r4:bf057260
[<bf04af48>] (PMGR_PROC_start+0x0/0xe4 [dsplinkk]) from [<bf04c578>] (DRV_Ioctl)
r6:be972ba4 r5:be972ba4 r4:00006c03
[<bf04c184>] (DRV_Ioctl+0x0/0x76c [dsplinkk]) from [<c00adecc>] (vfs_ioctl+0x68)
r6:00000003 r5:be972ba4 r4:00006c03
[<c00ade64>] (vfs_ioctl+0x0/0x78) from [<c00ae14c>] (do_vfs_ioctl+0x270/0x280)
r5:be972ba4 r4:c7006480
[<c00adedc>] (do_vfs_ioctl+0x0/0x280) from [<c00ae19c>] (sys_ioctl+0x40/0x64)
r7:c7006480 r6:00006c03 r5:be972ba4 r4:00000003
[<c00ae15c>] (sys_ioctl+0x0/0x64) from [<c0033c40>] (ret_fast_syscall+0x0/0x2c)
r7:00000036 r6:00008bc4 r5:00000000 r4:00000000
Code: e24dd004 e2504000 059f104c 0a000010 (e594200c)
Kernel panic - not syncing: Fatal exception in interrupt

I've been reminded I need to add a mem=xxM to the kernel command line.
Does anyone know what the proper value is for dsplink built from the
OE codec engine recipe is? Guessing is not working :slight_smile: