From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:58082 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752606Ab1ECPHx (ORCPT ); Tue, 3 May 2011 11:07:53 -0400 Subject: Re: iwlagn: crash when unloading the module From: Johannes Berg To: wwguy Cc: Kalle Valo , "linux-wireless@vger.kernel.org" In-Reply-To: <1304435232.3720.6.camel@jlt3.sipsolutions.net> (sfid-20110503_170717_917904_FD5145B3) References: <87iptsgk5y.fsf@purkki.adurom.net> <1304433727.5744.107.camel@wwguy-ubuntu> (sfid-20110503_164512_782430_D6ED552C) <1304435232.3720.6.camel@jlt3.sipsolutions.net> (sfid-20110503_170717_917904_FD5145B3) Content-Type: text/plain; charset="UTF-8" Date: Tue, 03 May 2011 17:07:52 +0200 Message-ID: <1304435272.3720.7.camel@jlt3.sipsolutions.net> (sfid-20110503_170758_754525_273FF694) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, 2011-05-03 at 17:07 +0200, Johannes Berg wrote: > On Tue, 2011-05-03 at 07:42 -0700, wwguy wrote: > > > > http://www.adurom.com/~kvalo/tmp/iwlagn/rmmod-iommu-crash/1.png > > > http://www.adurom.com/~kvalo/tmp/iwlagn/rmmod-iommu-crash/2.png > > > > > > This is a new laptop and most likely I haven't removed iwlagn module > > > before. So this shouldn't be a regression. > > > > > > > it is new to me as well, I never see that happen on my system. Could you > > share some more information with me? such as laptop model, kernel > > version, 32 or 64 bits. > > > > Also is there any activity while you unload the iwlagn, is it in connect > > state or not? > > Dave looked at this and it turned out to most likely be a bug in the > intel-iommu code. A tentative patch to fix it from him is here: > http://david.woodhou.se/double-unmap-check.patch Err, no, http://david.woodhou.se/flush-unmaps-on-unbind.patch johannes