From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755296Ab2DOOTO (ORCPT ); Sun, 15 Apr 2012 10:19:14 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:54943 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754552Ab2DOOTN convert rfc822-to-8bit (ORCPT ); Sun, 15 Apr 2012 10:19:13 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 15 Apr 2012 11:19:11 -0300 Message-ID: Subject: Re: mtdchar kernel oops From: Fabio Estevam To: Joel Reardon Cc: Artem Bityutskiy , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 15, 2012 at 8:58 AM, 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); I also see kernel oops when running flash_eraseall on a SPI NOR flash. If this patch is reverted the flash_eraseall operation is successful. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ey0-f177.google.com ([209.85.215.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SJQIN-0008Hw-6J for linux-mtd@lists.infradead.org; Sun, 15 Apr 2012 14:19:16 +0000 Received: by eaak13 with SMTP id k13so1092569eaa.36 for ; Sun, 15 Apr 2012 07:19:11 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 15 Apr 2012 11:19:11 -0300 Message-ID: Subject: Re: mtdchar kernel oops From: Fabio Estevam To: Joel Reardon Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 8:58 AM, 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: > =C2=A0 =C2=A0 =C2=A0 =C2=A0this_cpu_add(mnt->mnt_pcp->mnt_count, n); I also see kernel oops when running flash_eraseall on a SPI NOR flash. If this patch is reverted the flash_eraseall operation is successful.