From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265940AbTIJW60 (ORCPT ); Wed, 10 Sep 2003 18:58:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265941AbTIJW60 (ORCPT ); Wed, 10 Sep 2003 18:58:26 -0400 Received: from palrel13.hp.com ([156.153.255.238]:9617 "EHLO palrel13.hp.com") by vger.kernel.org with ESMTP id S265940AbTIJW6Y (ORCPT ); Wed, 10 Sep 2003 18:58:24 -0400 Date: Wed, 10 Sep 2003 15:58:10 -0700 To: Max Krasnyansky , BlueZ mailing list , Linux kernel mailing list Subject: [BUG] BlueTooth socket busted in 2.6.0-test5 Message-ID: <20030910225810.GA7712@bougret.hpl.hp.com> Reply-To: jt@hpl.hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Organisation: HP Labs Palo Alto Address: HP Labs, 1U-17, 1501 Page Mill road, Palo Alto, CA 94304, USA. E-mail: jt@hpl.hp.com From: Jean Tourrilhes Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is self explanatory : ----------------------------------------------------------- kernel BUG at include/net/sock.h:459! invalid operand: 0000 [#1] CPU: 1 EIP: 0060:[] Not tainted EFLAGS: 00010282 EIP is at l2cap_sock_alloc+0x36/0xb4 [l2cap] eax: d08b3500 ebx: c6b4de40 ecx: 00000020 edx: d08ac440 esi: 00000000 edi: 00000000 ebp: ffffffa3 esp: c81abf1c ds: 007b es: 007b ss: 0068 Process sdpd (pid: 390, threadinfo=c81aa000 task=ce634cc0) Stack: 00000000 d08ac524 d08ae72c c20e7780 00000000 000000d0 d08a10f4 c20e7780 00000000 c20e7780 0000007c c033ecc0 ffffff9f c01e1236 c20e7780 00000000 0000001f bffff894 c81abfa8 00000001 c01e1325 0000001f 00000005 00000000 Call Trace: [] l2cap_sock_create+0x60/0x7c [l2cap] [] bt_sock_create+0x8c/0xd0 [bluetooth] [] sock_create+0x12e/0x200 [] sys_socket+0x1d/0x50 [] sys_socketcall+0xbc/0x260 [] syscall_call+0x7/0xb Code: 0f 0b cb 01 e2 1a 8b d0 89 83 28 01 00 00 85 c0 74 30 50 e8 ----------------------------------------------------------- Basically, the socket is already owned by the 'bluetooth' module in bt_sock_alloc(), and the 'l2cap' module try to change the ownersip to itself in l2cap_sock_alloc(). The socket layer doesn't like it. At least, that's the way I read it. Without the ability to open BT socket, BT is pretty much useless. Good luck... Jean