From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dave Young" Subject: bluetooth : lockdep warning on rfcomm Date: Thu, 24 Jan 2008 11:02:55 +0800 Message-ID: Reply-To: BlueZ development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Netdev , Marcel Holtmann , David Miller , bluez-devel@lists.sf.net To: LKML Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net List-Id: netdev.vger.kernel.org ============================================= [ INFO: possible recursive locking detected ] 2.6.24-rc8-mm1 #8 --------------------------------------------- bluepush/3213 is trying to acquire lock: (sk_lock-AF_BLUETOOTH){--..}, at: [] l2cap_sock_bind+0x40/0x100 [l2cap] but task is already holding lock: (sk_lock-AF_BLUETOOTH){--..}, at: [] rfcomm_sock_connect+0x3e/0xe0 [rfcomm] other info that might help us debug this: 2 locks held by bluepush/3213: #0: (sk_lock-AF_BLUETOOTH){--..}, at: [] rfcomm_sock_connect+0x3e/0xe0 [rfcomm] #1: (rfcomm_mutex){--..}, at: [] rfcomm_dlc_open+0x26/0x60 [rfcomm] stack backtrace: Pid: 3213, comm: bluepush Not tainted 2.6.24-rc8-mm1 #8 [] ? printk+0x18/0x20 [] print_deadlock_bug+0xc7/0xe0 [] check_deadlock+0x6c/0x80 [] validate_chain+0x14c/0x320 [] __lock_acquire+0x1c1/0x730 [] lock_acquire+0x79/0xb0 [] ? l2cap_sock_bind+0x40/0x100 [l2cap] [] lock_sock_nested+0x55/0x70 [] ? l2cap_sock_bind+0x40/0x100 [l2cap] [] l2cap_sock_bind+0x40/0x100 [l2cap] [] kernel_bind+0xa/0x10 [] rfcomm_session_create+0x4c/0x110 [rfcomm] [] __rfcomm_dlc_open+0x129/0x150 [rfcomm] [] rfcomm_dlc_open+0x38/0x60 [rfcomm] [] rfcomm_sock_connect+0xb6/0xe0 [rfcomm] [] sys_connect+0x99/0xd0 [] ? cache_add_dev+0x39/0x1a0 [] ? put_lock_stats+0xd/0x30 [] ? lock_release_holdtime+0x60/0x80 [] ? fget+0x7c/0x100 [] ? __lock_release+0x47/0x70 [] ? fget+0x7c/0x100 [] ? copy_from_user+0x37/0x70 [] sys_socketcall+0xa5/0x230 [] ? trace_hardirqs_on+0xb9/0x130 [] ? restore_nocheck+0x12/0x15 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/