-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
I'm using dsplink 1.60 along with CE 2.21 and sometimes I face kernel oops messages. [1] Then the issuing process locks-up. The error always(up to now) shows-up while process is finishing. I debugged this issue a little deeper further down and I suspect that some mutex is tried to be locked after it is deleted. I made a one line change in ldrv_msgq.c but I haven't tried it yet because error is not deterministically shows itself. I'll update my module when I success 100% failure generation. Currently it is highly dependent on code-path and random, but always in the closing phase of an application. I wonder if there is a known issue or suggestions about the problem. Thanks for advance, Caglar [1] Oops message is: Unable to handle kernel NULL pointer dereference at virtual address 00000003 pgd = c63ec000 [00000003] *pgd=85349031, *pte=00000000, *ppte=00000000 Internal error: Oops: 801 [#2] Modules linked in: dsplinkk cmemk CPU: 0 Tainted: G D (2.6.28-davinci1-05792-g452c406-dirty #134) PC is at mutex_lock_interruptible_nested+0x114/0x2d4 LR is at mutex_lock_interruptible_nested+0x104/0x2d4 pc : [<c031dfdc>] lr : [<c031dfcc>] psr: 60000093 sp : c5673de8 ip : c5673de8 fp : c5673e44 r10: c5c9c9e0 r9 : 80008051 r8 : 00000000 r7 : 00000000 r6 : 60000013 r5 : c8fd4000 r4 : c5673e04 r3 : c8fd4020 r2 : 00000003 r1 : c5673e04 r0 : c8fd4000 Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user Control: 0005317f Table: 863ec000 DAC: 00000015 Process video_decode_di (pid: 973, stack limit = 0xc5672268) Stack: (0xc5673de8 to 0xc5674000) 3de0: 00000002 00000000 bf018120 c031e2d0 c5673e54 bf018120 3e00: bf018bb0 c8fd4020 c5673e04 11111111 c8fd4000 c5673e04 c5c9c9e0 00000000 3e20: 00008000 c5673edc cbcb3000 ffffffff 80008051 bf024d50 c5673e54 c5673e48 3e40: bf018120 c031ded8 c5673e84 c5673e58 bf01060c bf018114 bf01077c 00006f0b 3e60: 00006f0b bee2a9c4 c57220e0 bee2a9c4 c5672000 00047504 c5673e94 c5673e88 3e80: bf01b05c bf0105d4 c5673efc c5673e98 bf01b870 bf01b05c c5830738 00000000 3ea0: 00000000 c536f248 c63d3d30 60000093 c5672000 00000000 41765000 c002af24 3ec0: c5672000 00008000 401b2940 00010000 ffffffff 00000000 00000010 00000000 3ee0: c536f238 bee2a9c4 00006f0b 00006f0b c5673f14 c5673f00 c009c900 bf01b590 3f00: c57220e0 00000007 c5673f7c c5673f18 c009cd5c c009c8a8 c0060e70 c0060620 3f20: 00000001 00000000 00000000 c57220e0 00000007 c5673f84 00000036 c002af24 3f40: c5673f7c c5673f50 c0091854 c0061814 00000001 00000000 00000007 bee2a9c4 3f60: 00006f0b c57220e0 c002af24 00047504 c5673fa4 c5673f80 c009cde8 c009c948 3f80: c0082eac 00000001 bee2a8f4 000472b4 bee2aa34 00000036 00000000 c5673fa8 3fa0: c002ada0 c009cdb8 bee2a8f4 000472b4 00000007 00006f0b bee2a9c4 bee2a9c4 3fc0: bee2a8f4 000472b4 bee2aa34 00000036 00010000 000332dc 00047504 00033258 3fe0: bee2a8e0 bee2a8d8 0002fcb9 4025872c 80000010 00000007 00000000 00000000 Backtrace: [<c031dec8>] (mutex_lock_interruptible_nested+0x0/0x2d4) from [<bf018120>] (SYNC_SpinLockStartEx+0x1c/0x28 [dsplinkk]) [<bf018104>] (SYNC_SpinLockStartEx+0x0/0x28 [dsplinkk]) from [<bf01060c>] (LDRV_MSGQ_get+0x48/0xd0 [dsplinkk]) [<bf0105c4>] (LDRV_MSGQ_get+0x0/0xd0 [dsplinkk]) from [<bf01b05c>] (PMGR_MSGQ_get+0x10/0x14 [dsplinkk]) [<bf01b04c>] (PMGR_MSGQ_get+0x0/0x14 [dsplinkk]) from [<bf01b870>] (DRV_Ioctl+0x2f0/0x780 [dsplinkk]) [<bf01b580>] (DRV_Ioctl+0x0/0x780 [dsplinkk]) from [<c009c900>] (vfs_ioctl+0x68/0x78) r6:00006f0b r5:00006f0b r4:bee2a9c4 [<c009c898>] (vfs_ioctl+0x0/0x78) from [<c009cd5c>] (do_vfs_ioctl+0x424/0x470) r5:00000007 r4:c57220e0 [<c009c938>] (do_vfs_ioctl+0x0/0x470) from [<c009cde8>] (sys_ioctl+0x40/0x64) [<c009cda8>] (sys_ioctl+0x0/0x64) from [<c002ada0>] (ret_fast_syscall+0x0/0x2c) r7:00000036 r6:bee2aa34 r5:000472b4 r4:bee2a8f4 Code: e2853020 e5932004 e50b3040 e5834004 (e5824000) - ---[ end trace 79c33c778aec290b ]--- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkm1dA4ACgkQ/nL+S5dojehCLgCgmtc6qnptlx8jk1wPm2eNFHOh OFQAnRTA60JdWMmJpQqULveGlPrVoXjD =tGiM -----END PGP SIGNATURE----- _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source