Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752795Ab3JYJPl (ORCPT ); Fri, 25 Oct 2013 05:15:41 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:49586 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752442Ab3JYJPj (ORCPT ); Fri, 25 Oct 2013 05:15:39 -0400 Date: Fri, 25 Oct 2013 10:17:17 +0100 From: Greg Kroah-Hartman To: "Paul E. McKenney" Cc: Linus Torvalds , Knut Petersen , Ingo Molnar , Thomas Gleixner , =?iso-8859-1?Q?Fr=E9d=E9ric?= Weisbecker , "Rafael J. Wysocki" , Viresh Kumar , linux-kernel , cpufreq@vger.kernel.org, rusty@rustcorp.com.au Subject: Re: [BUG 3.12.rc4] Oops: unable to handle kernel paging request during shutdown Message-ID: <20131025091717.GA10636@kroah.com> References: <525BD08C.2080101@t-online.de> <20131025090809.GZ4118@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131025090809.GZ4118@linux.vnet.ibm.com> User-Agent: Mutt/1.5.22 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1070 Lines: 28 On Fri, Oct 25, 2013 at 02:08:09AM -0700, Paul E. McKenney wrote: > On Fri, Oct 25, 2013 at 10:02:22AM +0100, Linus Torvalds wrote: > > Adding more people, so quoting the whole email for them. > > > > We definitely have some module unload issues. Guys, try the following > > a few times to unload modules: > > > > lsmod | grep ' 0 '| cut -d' ' -f1 | xargs sudo rmmod > > > > (a few times because unloading one module will then potentially make > > other modules unloadable). > > Isn't it still the user's responsibility to ensure that a module will > no longer being used before rmmod-ing it? Or were all those race > conditions fixed? If the module count is allowing the unload to happen, then the driver should handle the issues. Userspace shouldn't have to "know" if it can unload it or not. thanks, greg k-h -- 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/