Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753545Ab0A3SKe (ORCPT ); Sat, 30 Jan 2010 13:10:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753322Ab0A3SKe (ORCPT ); Sat, 30 Jan 2010 13:10:34 -0500 Received: from 1wt.eu ([62.212.114.60]:55150 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753114Ab0A3SKd (ORCPT ); Sat, 30 Jan 2010 13:10:33 -0500 Date: Sat, 30 Jan 2010 19:09:29 +0100 From: Willy Tarreau To: Greg KH Cc: linux-kernel@vger.kernel.org, stable@kernel.org, Jie Yang , stable-review@kernel.org, akpm@linux-foundation.org, torvalds@linux-foundation.org, "David S. Miller" , alan@lxorguk.ukuu.org.uk Subject: Re: [Stable-review] [20/98] atl1c:use common_task instead of reset_task and link_chg_task Message-ID: <20100130180928.GA8245@1wt.eu> References: <20100126233950.GA5372@kroah.com> <20100126233923.487128431@mini.kroah.org> <20100127052531.GK20093@1wt.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100127052531.GK20093@1wt.eu> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2308 Lines: 52 On Wed, Jan 27, 2010 at 06:25:31AM +0100, Willy Tarreau wrote: > On Tue, Jan 26, 2010 at 03:33:46PM -0800, Greg KH wrote: > > From: Jie Yang > > > > commit cb19054697e92a793f336380fd72c588521178ff upstream. > > > > use common_task instead of reset_task and link_chg_task, so it fix "call cancel_work_sync > > from the work itself". > > > > Signed-off-by: Jie Yang > > Signed-off-by: David S. Miller > > Cc: Ben Hutchings > > Signed-off-by: Greg Kroah-Hartman > > I'm going to test this one. I'm randomly seeing my ASUS 1005HA > hanging after I replug the network cable. I noticed that the > driver from the Atheros site doesn't have the issue at all. I > spent a week-end trying to eliminate almost all of the diffs > between the two drivers to try to spot the faulty code chunk, > until I realized that I went past the failure point without > noticing in time because the issue was too much random :-( > > Clearly a non-bisectable issue. But with just this fix, I'll > be able to tell if the problem is definitely over. For the record, this patch has fixed my issue, the machine no longer hangs when I plug the cable. However, now when I unplug then replug the link, it normally takes 1 second to get back up, until I suspend. After the first suspend/resume cycle, it always takes 16 seconds to get the link up every time I unplug/replug it. If I wait before replugging, it gets up later (by the amount of time spent unplugged). Same if I unplug, wait a bit, then replug/unplug then replug. It still takes 16 seconds after the moment I last plugged the wire to get the link up. The link on the switch goes up at the same time as the message appears. It makes no difference whether I use S2R or S2D. It's not dramatical, but I suspect it's a bug in the suspend/ resume code which maybe does not reinitialize a hardware timer, though I have no idea where to look for. Anyway, the most important is that it does not freeze anymore ! Thanks, Willy -- 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/