From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754396Ab2DOPcZ (ORCPT ); Sun, 15 Apr 2012 11:32:25 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:46377 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753379Ab2DOPcY (ORCPT ); Sun, 15 Apr 2012 11:32:24 -0400 Date: Sun, 15 Apr 2012 16:32:20 +0100 From: Al Viro To: Joel Reardon Cc: Artem Bityutskiy , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: mtdchar kernel oops Message-ID: <20120415153220.GR6589@ZenIV.linux.org.uk> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 15, 2012 at 01:58:39PM +0200, Joel Reardon wrote: > I think that this patch: > "mtdchar: kill persistently held vfsmount" > http://permalink.gmane.org/gmane.linux.kernel.commits.head/314175 > > has started causing kernel oops's when running ubiformat. The oops is > occuring in fs/namespace.c's mnt_add_count() line: > this_cpu_add(mnt->mnt_pcp->mnt_count, n); > > with the stack trace: > mntget() > simple_pin_fs() > mtdchar_open() Check if commit c65390f4dd49755863f6d772ec538ee4757c08d7 Author: Al Viro Date: Mon Apr 9 01:36:28 2012 -0400 fix breakage in mtdchar_open(), sanitize failure exits has fixed that. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from zeniv.linux.org.uk ([195.92.253.2]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SJRRF-0002wO-N1 for linux-mtd@lists.infradead.org; Sun, 15 Apr 2012 15:32:30 +0000 Date: Sun, 15 Apr 2012 16:32:20 +0100 From: Al Viro To: Joel Reardon Subject: Re: mtdchar kernel oops Message-ID: <20120415153220.GR6589@ZenIV.linux.org.uk> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Al Viro Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Artem Bityutskiy List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, Apr 15, 2012 at 01:58:39PM +0200, Joel Reardon wrote: > I think that this patch: > "mtdchar: kill persistently held vfsmount" > http://permalink.gmane.org/gmane.linux.kernel.commits.head/314175 > > has started causing kernel oops's when running ubiformat. The oops is > occuring in fs/namespace.c's mnt_add_count() line: > this_cpu_add(mnt->mnt_pcp->mnt_count, n); > > with the stack trace: > mntget() > simple_pin_fs() > mtdchar_open() Check if commit c65390f4dd49755863f6d772ec538ee4757c08d7 Author: Al Viro Date: Mon Apr 9 01:36:28 2012 -0400 fix breakage in mtdchar_open(), sanitize failure exits has fixed that.