Return-path: Received: from mail-qw0-f46.google.com ([209.85.216.46]:36679 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750882Ab1EJVsy convert rfc822-to-8bit (ORCPT ); Tue, 10 May 2011 17:48:54 -0400 MIME-Version: 1.0 In-Reply-To: References: <1305054401.2939.52.camel@work-vm> Date: Tue, 10 May 2011 23:48:53 +0200 Message-ID: (sfid-20110510_234900_878508_B64C27E7) Subject: Re: [hrtimers] Re: Regression affecting b43 LP-PHY card From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= To: John Stultz Cc: b43-dev , linux-wireless@vger.kernel.org, Juan Carlos Romero , Larry Finger , Ben Greear , Jamie Lokier , Thomas Gleixner , Alexander Shishkin , =?UTF-8?B?QXJ2ZSBIasO4bm5ldsOlZw==?= , "Rafael J. Wysocki" , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: 2011/5/10 Rafał Miłecki : > 2011/5/10 John Stultz : >> On Tue, 2011-05-10 at 20:57 +0200, Rafał Miłecki wrote: >>> W dniu 10 maja 2011 00:52 użytkownik Rafał Miłecki napisał: >>> > In this situation we decided to bisect. I was a little afraid of last >>> > merges so we took older 2.6.38 as GOOD (we tested this twice) and >>> > wireless-testing commit before my ssb changes as BAD. Today Juan >>> > finished bisecting kernel: >>> > http://pastebin.com/HSKbRzpB >>> > >>> > According to his bisection the first bad commit is >>> > e06383db9ec591696a06654257474b85bac1f8cb [0]: >>> > hrtimers: extend hrtimer base code to handle more then 2 clockids >>> > >>> > Does it make any sense to you? Could this be some timing issue? >>> > >>> > It was too late to test this today, we (Juan) will work on this >>> > tomorrow. It's impossible to revert this commit from HEAD of >>> > wireless-testing, so my idea is to checkout commit, test, revert, >>> > test. >>> > >>> > Did anyone else experience any similar problems with latest wireless-testing? >>> > >>> > >>> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e06383db9ec591696a06654257474b85bac1f8cb >>> >>> Today Juan checkouted commit e06383db9ec591696a06654257474b85bac1f8cb >>> and tested it. He was disconnected really soon. >>> >>> Then he reverted e06383db9ec591696a06654257474b85bac1f8cb and tested >>> again. Connection was stable, he downloaded 2GB file over network. >>> >>> >>> John S.: your commit does not touch Broadcom card directly, but it >>> seems it somehow affects it. I suspect there can be some timing issue. >>> Do you have any idea what could it be, how can we debug this? >> >> Sorry for the trouble! >> >> My commit exposed a few spots where hrtimers were being initialized >> before hrtimer_init is called, which caused problems. Thomas provided a >> solution that makes such behavior still function ok: >> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ce31332d3c77532d6ea97ddcb475a2b02dd358b4 >> >> Let me know if the issue is still reproducible with Linus' latest git >> tree. > > We were using wireless-testing git tree, commit: > 1e664a777e5eb4b23e65e76fbeadd2376fe8d8d8 > > I can not see ce31332d3c77532d6ea97ddcb475a2b02dd358b4 it git log. > I'll apply and test, thanks! I can confirm updated wireless-testing resolves this issue! Too bad Juan spent 2-3 days on bisecting on his Atom... but at least we came and met ready fix. It could be pain to find a solution with out feedback only. I'm aware it was not very detailed. Thanks for your help :) -- Rafał