Hi, all. I used the mv_pro_5.0.0 in dvsdk 2.0 for dm6446. When I enabled the following debug-related config flags: CONFIG_DEBUG_RT_MUTEXES / CONFIG_DEBUG_PREEMPT / CONFIG_LOCKDEP, the bug comes out.
It always appeared when a syscall is made during the spawn of init process. Will the debug influence the stability of the linux system seriously, and How to fix it. Thanks. The following lines are excerpt from dmesg: ======================================================================= VFS: Mounted root (nfs filesystem). ***************************************************************************** * * * REMINDER, the following debugging options are turned on in your .config: * * * * CONFIG_DEBUG_RT_MUTEXES * * CONFIG_DEBUG_PREEMPT * * CONFIG_DEBUG_SLAB * * CONFIG_LOCKDEP * * * * they may increase runtime overhead and latencies. * * * ***************************************************************************** Freeing init memory: 172K stopped custom tracer. default.hotplug/265[CPU#0]: BUG in check_flags at kernel/lockdep.c:2371 [<c003891c>] (dump_stack+0x0/0x24) from [<c0048fe4>] (__WARN_ON+0x58/0x74) [<c0048f8c>] (__WARN_ON+0x0/0x74) from [<c0064090>] (check_flags+0xa8/0x23c) r8 = 00000000 r7 = 00000000 r6 = 00000000 r5 = C6354000 r4 = 60000013 [<c0063fe8>] (check_flags+0x0/0x23c) from [<c0067304>] (lock_acquire+0x58/0x98) r4 = 60000013 [<c00672ac>] (lock_acquire+0x0/0x98) from [<c0061e20>] (compat_down_write+0x44/0x58) [<c0061ddc>] (compat_down_write+0x0/0x58) from [<c0086c74>] (sys_brk+0x30/0xfc) r5 = 000000FC r4 = C6354000 [<c0086c44>] (sys_brk+0x0/0xfc) from [<c0033fd8>] (__sys_trace_return+0x0/0x28) r8 = C0034008 r7 = 0000002D r6 = 00001000 r5 = 000000FC r4 = 000B9000 --------------------------- | preempt count: 00000001 ] | 1-level deep critical section nesting: ---------------------------------------- .. [<c033df38>] .... __spin_lock_irqsave+0x30/0x64 .....[<c0048fb4>] .. ( <= __WARN_ON+0x28/0x74) irq event stamp: 5927 hardirqs last enabled at (5926): [<c0033cc4>] __irq_usr+0x84/0xa0 hardirqs last disabled at (5927): [<c033ded0>] __spin_lock_irq+0x28/0x60 softirqs last enabled at (5925): [<c004dbb0>] __do_softirq+0x58/0x6c softirqs last disabled at (5902): [<c004e0b4>] irq_exit+0x60/0x74 INIT: version 2.86 booting Starting the hotplug events dispatcher: udevd. Synthesizing the initial hotplug events...done. Waiting for /dev to be fully populated...done. =======================================================================
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
