Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752929Ab2FRTDa (ORCPT ); Mon, 18 Jun 2012 15:03:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27031 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752674Ab2FRTD2 (ORCPT ); Mon, 18 Jun 2012 15:03:28 -0400 From: Jeff Moyer To: Torsten Hilbrich Cc: linux-ext4@vger.kernel.org, LKML Subject: Re: Kernel 3.3.8 breaks accidental ext3 mount of extended partition References: <4FDEC3C2.4060909@secunet.com> X-PGP-KeyID: 1F78E1B4 X-PGP-CertKey: F6FE 280D 8293 F72C 65FD 5A58 1FF8 A7CA 1F78 E1B4 X-PCLoadLetter: What the f**k does that mean? Date: Mon, 18 Jun 2012 15:03:21 -0400 In-Reply-To: <4FDEC3C2.4060909@secunet.com> (Torsten Hilbrich's message of "Mon, 18 Jun 2012 07:59:30 +0200") Message-ID: User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2408 Lines: 62 Torsten Hilbrich writes: > Hello, > > a software that tries to mount each existing partition as ext3 file > system started to fail when updating from v3.3.7 to v3.3.8. > > The applications then hangs-up in the mount syscall, here is a > snapshot of its stack at this moment: > > [] __cond_resched+0x2a/0x40 > [] __getblk+0x1bf/0x270 > [] __bread+0x13/0xb0 > [] ext3_fill_super+0x132/0x1b00 > [] mount_bdev+0x1aa/0x1f0 > [] ext3_mount+0x15/0x20 > [] mount_fs+0x43/0x1a0 > [] vfs_kern_mount+0x72/0x100 > [] do_kern_mount+0x52/0x110 > [] do_mount+0x25a/0x7d0 > [] sys_mount+0x98/0xf0 > [] system_call_fastpath+0x16/0x1b > > The expected behaviour (which was still there in v3.3.7) is that the > mount syscall fails because the partition contains no valid ext3 file > system. > > I have create more snapshot of the stack in the following pastebin: > http://pastebin.com/99x9EpnM > > Using bisecting I found the following commit to be the cause of the issue: > > commit 3735b0a1d73af536484ddefef4d8438dd468c4a6 > Author: Jeff Moyer > Date: Fri May 11 16:34:10 2012 +0200 > > block: don't mark buffers beyond end of disk as mapped > > commit 080399aaaf3531f5b8761ec0ac30ff98891e8686 upstream. > > Reverting this commit brought back the desired behaviour of the mount > syscall failing because of invalid superblock. > > It seems to be that ext3_fill_super is unable to read the super block > because there is no blocked for an extended partition. > > The same issue can be found in v3.4, where the upstream commit > (080399aa) was released. I am unable to reproduce this behaviour. Can you give more information about your storage configuration? What is the partition layout, which partition are you trying to mount, and are you using the standard mount command to try to mount it? Is there anything else you can provide that would help me reproduce the problem? Thanks, Jeff -- 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/