Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756454Ab1D3Cz4 (ORCPT ); Fri, 29 Apr 2011 22:55:56 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:48915 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751367Ab1D3Czz (ORCPT ); Fri, 29 Apr 2011 22:55:55 -0400 Date: Sat, 30 Apr 2011 03:55:45 +0100 From: Al Viro To: Linus Torvalds Cc: Joern Engel , Dave Chinner , werner , Linux Kernel Mailing List Subject: Re: 2.6.39-rc5-git2 boot crashs Message-ID: <20110430025545.GI9487@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 Content-Length: 1249 Lines: 25 On Fri, Apr 29, 2011 at 07:47:14PM -0700, Linus Torvalds wrote: > On Fri, Apr 29, 2011 at 7:31 PM, Linus Torvalds > wrote: > > > > It looks like a NULL pointer dereference with offset 4, so at a guess, > > super->s_freeing_list.next is NULL, and it's the "next->prev = entry" > > instruction that faults when inserting into that list. > > > > How/why would s_freeing_list be NULL? I have no idea. But it looks > > like a failed mount, so presumably it was never initialized. > > Hmm. super->s_freeing_list is initialized pretty late in > logfs_read_sb(), and any error path _before_ that point will result in > a "goto err1" in logfs_get_sb_device() which will do various iputs > etc. All without that list initialized. That would seem to be the > cause of this, possibly triggered by Al's changes to ->mount from > read_super. Then it ought to be reproducible with much ealier kernels. Say, 2.6.37 or so... That part of ->mount() series went in during last Autumn... -- 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/