This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Share Region Memory in DVRRDK

Hi, 

I developed a buffer control link(module) in M3/Video.

I used the function, Utils_memAlloc, to allocate memory in this link.

I think the memory is in share region 2 (frame). 

Then I created a chain to connect each link in M3/Video as below:

enc-->buffer control-->ipcBitOut-->ipcBitIn

Currently, I got a problem as below:

I don't know which function will use sys_ioctl in A8/Linux.

Unable to handle kernel paging request at virtual address 0894dfc0
pgd = d724c000
[0894dfc0] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT
last sysfs file: /sys/devices/virtual/gpio/gpio24/value
Modules linked in: osa_kermod syslink
CPU: 0 Not tainted (2.6.37 #45)
PC is at v7_dma_inv_range+0x2c/0x48
LR is at Cache_inv+0x50/0x78 [syslink]
pc : [<c00540f4>] lr : [<bf01bd34>] psr: 00000013
sp : d63b1e70 ip : 00000101 fp : d63b1e9c
r10: 00000000 r9 : d63b0000 r8 : 4706fd68
r7 : 00000003 r6 : bf0af658 r5 : 0894bc80 r4 : 00002346
r3 : 0000003f r2 : 00000040 r1 : 0894dfc0 r0 : 0894bc80
Flags: nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 9724c019 DAC: 00000015
Process test_ap (pid: 152, stack limit = 0xd63b02e8)
Stack: (0xd63b1e70 to 0xd63b2000)
1e60: 00002346 0000ffff 00000001 4706fd68
1e80: 00000003 00000000 4706fd68 00000003 d63b1ecc d63b1ea0 bf0018f4 bf01bcf0
1ea0: 4706fd68 d7007600 d63b1ec4 0894bc80 00002346 0001ffff c010f931 4706fd68
1ec0: d63b1ef4 d63b1ed0 bf020b58 bf00183c c010f931 4706fd68 c0538690 0000081f
1ee0: d70316a0 d62eca80 d63b1f04 d63b1ef8 c00e4994 bf020ae0 d63b1f74 d63b1f08
1f00: c00e5128 c00e4978 d63b1f3c d63b1f18 c004d524 c004ea64 d63b1f74 d63b1f58
1f20: c03f8230 c00d7378 00000000 c03f8230 d63b1f54 d63b1f40 c03f8230 c004d4f4
1f40: d62eca80 00000003 d63b1f74 00000000 4706fd68 c010f931 00000003 d62eca80
1f60: d63b0000 00000000 d63b1fa4 d63b1f78 c00e51c8 c00e4bdc 00000000 00000001
1f80: 52c654f1 4706fd68 c010f931 4028550c 00000036 c004b0e8 00000000 d63b1fa8
1fa0: c004af40 c00e517c 4706fd68 c010f931 00000003 c010f931 4706fd68 40274160
1fc0: 4706fd68 c010f931 4028550c 00000036 4028550c 403430a0 4072f968 00004c4c
1fe0: 0894bc80 4706fd28 40209d58 406c4aec 20000010 00000003 ffffffff ffffffff
Backtrace:
[<bf01bce4>] (Cache_inv+0x0/0x78 [syslink]) from [<bf0018f4>] (CacheDrv_ioctl+0xc4/0x2a4 [syslink])
r6:00000003 r5:4706fd68 r4:00000000
[<bf001830>] (CacheDrv_ioctl+0x0/0x2a4 [syslink]) from [<bf020b58>] (OsalDrvDrv_ioctl+0x84/0x214 [syslink])
r5:4706fd68 r4:c010f931
[<bf020ad4>] (OsalDrvDrv_ioctl+0x0/0x214 [syslink]) from [<c00e4994>] (vfs_ioctl+0x28/0x44)
r5:d62eca80 r4:d70316a0
[<c00e496c>] (vfs_ioctl+0x0/0x44) from [<c00e5128>] (do_vfs_ioctl+0x558/0x5a0)
[<c00e4bd0>] (do_vfs_ioctl+0x0/0x5a0) from [<c00e51c8>] (sys_ioctl+0x58/0x7c)
[<c00e5170>] (sys_ioctl+0x0/0x7c) from [<c004af40>] (ret_fast_syscall+0x0/0x30)
r8:c004b0e8 r7:00000036 r6:4028550c r5:c010f931 r4:4706fd68
Code: e1c00003 1e070f3e e1110003 e1c11003 (1e071f3e)
---[ end trace 7df0ac5418e436fc ]---

Thanks