Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755720Ab1EYV2u (ORCPT ); Wed, 25 May 2011 17:28:50 -0400 Received: from posta.ukf.sk ([193.87.12.33]:55664 "EHLO posta.ukf.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752643Ab1EYV2t (ORCPT ); Wed, 25 May 2011 17:28:49 -0400 X-Greylist: delayed 525 seconds by postgrey-1.27 at vger.kernel.org; Wed, 25 May 2011 17:28:48 EDT Message-ID: <4DDD7263.5010904@ukf.sk> Date: Wed, 25 May 2011 23:19:31 +0200 From: Milan Oravec Organization: CIKT UKF Nitra User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.11) Gecko/20101006 Thunderbird/3.1.5 MIME-Version: 1.0 To: Ville Tervo CC: ext Ed Tomlinson , linux-kernel@vger.kernel.org, Hui Zhu , Dave Young , Bluettooth Linux , "Gustavo F. Padovan" Subject: Re: Linux 2.6.39 References: <201105211631.00804.edt@aei.ca> <201105231808.37369.edt@aei.ca> <20110525082744.GP2480@null> In-Reply-To: <20110525082744.GP2480@null> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6182 Lines: 133 Hi Ville, thank you for your help. In 2.6.39 kernel command hciconfig hci0 up produces this output: HCI sniffer - Bluetooth packet analyzer ver 1.42 device: hci0 snap_len: 1028 filter: 0xffffffff < HCI Command: Reset (0x03|0x0003) plen 0 > > HCI Event: Command Complete (0x0e) plen 4 < HCI Command: Read Local Supported Features (0x04|0x0003) plen 0 > > HCI Event: Command Complete (0x0e) plen 12 < HCI Command: Read Local Version Information (0x04|0x0001) plen 0 > > HCI Event: Command Complete (0x0e) plen 12 < HCI Command: Read Buffer Size (0x04|0x0005) plen 0 > > HCI Event: Command Complete (0x0e) plen 11 < HCI Command: Read BD ADDR (0x04|0x0009) plen 0 > > HCI Event: Command Complete (0x0e) plen 10 < HCI Command: Read Class of Device (0x03|0x0023) plen 0 > > HCI Event: Command Complete (0x0e) plen 7 < HCI Command: Read Local Name (0x03|0x0014) plen 0 > > HCI Event: Command Complete (0x0e) plen 252 < HCI Command: Read Voice Setting (0x03|0x0025) plen 0 > > HCI Event: Command Complete (0x0e) plen 6 < HCI Command: Set Event Filter (0x03|0x0005) plen 1 > > HCI Event: Command Complete (0x0e) plen 4 < HCI Command: Write Connection Accept Timeout (0x03|0x0016) plen 2 > > HCI Event: Command Complete (0x0e) plen 4 < HCI Command: Delete Stored Link Key (0x03|0x0012) plen 7 > > HCI Event: Command Complete (0x0e) plen 6 < HCI Command: Set Event Mask (0x03|0x0001) plen 8 > > HCI Event: Command Complete (0x0e) plen 4 In 2.6.38.7 kernel command hciconfig hci0 up produces: HCI sniffer - Bluetooth packet analyzer ver 1.42 device: hci0 snap_len: 1028 filter: 0xffffffff < HCI Command: Reset (0x03|0x0003) plen 0 > > HCI Event: Command Complete (0x0e) plen 4 < HCI Command: Read Local Supported Features (0x04|0x0003) plen 0 > > HCI Event: Command Complete (0x0e) plen 12 < HCI Command: Read Local Version Information (0x04|0x0001) plen 0 > > HCI Event: Command Complete (0x0e) plen 12 < HCI Command: Read Buffer Size (0x04|0x0005) plen 0 > > HCI Event: Command Complete (0x0e) plen 11 < HCI Command: Read BD ADDR (0x04|0x0009) plen 0 > > HCI Event: Command Complete (0x0e) plen 10 < HCI Command: Read Class of Device (0x03|0x0023) plen 0 > > HCI Event: Command Complete (0x0e) plen 7 < HCI Command: Read Local Name (0x03|0x0014) plen 0 > > HCI Event: Command Complete (0x0e) plen 252 < HCI Command: Read Voice Setting (0x03|0x0025) plen 0 > > HCI Event: Command Complete (0x0e) plen 6 < HCI Command: Set Event Filter (0x03|0x0005) plen 1 > > HCI Event: Command Complete (0x0e) plen 4 < HCI Command: Write Page Timeout (0x03|0x0018) plen 2 > > HCI Event: Command Complete (0x0e) plen 4 < HCI Command: Write Connection Accept Timeout (0x03|0x0016) plen 2 > > HCI Event: Command Complete (0x0e) plen 4 < HCI Command: Write Page Timeout (0x03|0x0018) plen 2 > > HCI Event: Command Complete (0x0e) plen 4 < HCI Command: Read Stored Link Key (0x03|0x000d) plen 7 > > HCI Event: Command Complete (0x0e) plen 8 < HCI Command: Set Event Mask (0x03|0x0001) plen 8 > > HCI Event: Command Complete (0x0e) plen 4 < HCI Command: Write Default Link Policy Settings (0x02|0x000f) plen 2 > > HCI Event: Command Status (0x0f) plen 4 < HCI Command: Write Local Name (0x03|0x0013) plen 248 > > HCI Event: Command Complete (0x0e) plen 4 < HCI Command: Write Class of Device (0x03|0x0024) plen 3 > > HCI Event: Command Complete (0x0e) plen 4 < HCI Command: Write Scan Enable (0x03|0x001a) plen 1 > > HCI Event: Command Complete (0x0e) plen 4 < HCI Command: Read Local Name (0x03|0x0014) plen 0 > > HCI Event: Command Complete (0x0e) plen 252 < HCI Command: Read Scan Enable (0x03|0x0019) plen 0 > > HCI Event: Command Complete (0x0e) plen 5 Hope this helps. Best regards, Milan On 05/25/2011 10:27 AM, Ville Tervo wrote: > On Mon, May 23, 2011 at 06:08:36PM -0400, ext Ed Tomlinson wrote: >> On Saturday 21 May 2011 16:31:00 Ed Tomlinson wrote: >>> On Saturday 21 May 2011 13:56:20 Milan Oravec wrote: >>>> Hi Linus, I'm sorry bothering you, but my usb-bluetooth dongle stop working in >>>> 2.6.39 kernel series. >>>> I know it is nothing ground breaking but it is bug. >>>> I'm using this hardware from 2.6.11 kernel series. >>>> Details are included in this thread: >>>> >>>> https://lkml.org/lkml/2011/4/18/481 >>>> >>>> I hope I'm doing nothing false writing this email. >>> >>> Same device, same problem here. >>> >>> You are not alone >> >> I had some time this afternood so I tried bisecting without much luck. I ended up somewhere rc1 ish with a system >> that would paniced during boot. Here is the bisect log incase it helps: >> >> # bad: [61c4f2c81c61f73549928dfd9f3e8f26aa36a8cf] Linux 2.6.39 >> # good: [521cb40b0c44418a4fd36dc633f575813d59a43d] Linux 2.6.38 >> git bisect start 'v2.6.39' 'v2.6.38' '--' 'drivers/bluetooth' >> # bad: [7a6362800cb7d1d618a697a650c7aaed3eb39320] Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 >> git bisect bad 7a6362800cb7d1d618a697a650c7aaed3eb39320 >> # bad: [0a0e9ae1bd788bc19adc4d4ae08c98b233697402] Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 >> git bisect bad 0a0e9ae1bd788bc19adc4d4ae08c98b233697402 >> # skip: [03c2d0e89409b59c1ec9d9511533cedc0b7aaa69] Bluetooth: Use usb_fill_int_urb() >> git bisect skip 03c2d0e89409b59c1ec9d9511533cedc0b7aaa69 >> # skip: [7f4b2b04c88377af30c022f36c060190182850fb] Bluetooth: Make hci a child of the corresponding tty device. >> git bisect skip 7f4b2b04c88377af30c022f36c060190182850fb >> # skip: [84f0e17f78471857104a20dfc57711409f68d7bf] Bluetooth: ath3k: Avoid duplication of code >> git bisect skip 84f0e17f78471857104a20dfc57711409f68d7bf >> >> Ring any bells for anyone? >> >> Probably should open a regression bug for this too.... > > I think this is regression with d5859e22cd40b73164b3e5d8d5d796f96edcc6af > commit. Probably the code tries to enable something that is not supported. > > Could you pastebin hcidump while doing hciconfig hci0 up? > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/