Return-path: Received: from mail-vw0-f46.google.com ([209.85.212.46]:63034 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754874Ab0DPBQB (ORCPT ); Thu, 15 Apr 2010 21:16:01 -0400 Message-ID: <4bc7ba4f.cb3cdc0a.3ebe.0678@mx.google.com> Date: Thu, 15 Apr 2010 18:15:59 -0700 (PDT) From: Ben Gamari Subject: Re: Lockup inside of stop_machine() during modprobe aes (was Re: Another AR5008 hang) To: Andrew Morton Cc: Johannes Berg , linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, ath9k@venema.h4ckr.net, Herbert Xu In-Reply-To: <20100415172205.c1e57636.akpm@linux-foundation.org> References: <4bb0e2da.04c2f10a.32b2.11ae@mx.google.com> <1269928986.3927.5.camel@jlt3.sipsolutions.net> <4bb1f940.47c2f10a.3469.609b@mx.google.com> <4bb235fb.0baa660a.5b56.ffffa9c2@mx.google.com> <4bbb7896.48c3f10a.30b9.365b@mx.google.com> <20100415172205.c1e57636.akpm@linux-foundation.org> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, 15 Apr 2010 17:22:05 -0400, Andrew Morton wrote: > On Tue, 06 Apr 2010 11:08:22 -0700 (PDT) Ben Gamari wrote: > > ... > > In particular, it seems that the kernel is deadlocking inside of > > stop_machine() while flushing workqueues. > > ... > > My guess would be that ieee80211 is calling crypto->request_module() > under rtnl_lock, and the fact that rtnl_lock is held is causing > modprobe->stop_machine to not complete. > > > P.S. I am now quite certain that I was mistaken in saying that 2.6.33 was > > affected. This seems to just be a 2.6.34 issue. > > OK, thanks, I'll ask Rafael and Maciej to track this as a post-2.6.33 > regression, probably wireless. Thanks! - Ben