Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757811AbYCJWa4 (ORCPT ); Mon, 10 Mar 2008 18:30:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757523AbYCJWad (ORCPT ); Mon, 10 Mar 2008 18:30:33 -0400 Received: from relay1.sgi.com ([192.48.171.29]:49482 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757517AbYCJWac (ORCPT ); Mon, 10 Mar 2008 18:30:32 -0400 Date: Tue, 11 Mar 2008 09:30:18 +1100 From: David Chinner To: Andreas Kotes Cc: David Chinner , linux-kernel@vger.kernel.org, xfs@oss.sgi.com Subject: Re: XFS internal error Message-ID: <20080310223018.GA155407@sgi.com> References: <470831E6.4030704@fastmail.co.uk> <20071008001452.GX995458@sgi.com> <20080310122216.GG14256@slop.flatline.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080310122216.GG14256@slop.flatline.de> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2466 Lines: 62 On Mon, Mar 10, 2008 at 01:22:16PM +0100, Andreas Kotes wrote: > Hello, > > * David Chinner [20080310 13:18]: > > Yes, but those previous corruptions get left on disk as a landmine > > for you to trip over some time later, even on a kernel that has the > > bug fixed. > > > > I suggest that you run xfs_check on the filesystem and if that > > shows up errors, run xfs_repair onteh filesystem to correct them. > > I seem to be having similiar problems, and xfs_repair is not helping :( xfs_repair is ensuring that the problem is not being caused by on-disk corruption. In this case, it does not appear to be caused by on-disk corruption, so xfs_repair won't help. > I always run into: > > [ 137.099267] Filesystem "sda2": XFS internal error xfs_trans_cancel at line 1132 of file fs/xfs/xfs_trans.c. Caller 0xffffffff80372156 > [ 137.106267] > [ 137.106268] Call Trace: > [ 137.113129] [] xfs_trans_cancel+0x100/0x130 > [ 137.116524] [] xfs_create+0x256/0x6e0 > [ 137.119904] [] xfs_dir2_isleaf+0x19/0x50 > [ 137.123269] [] xfs_vn_mknod+0x195/0x250 > [ 137.126607] [] vfs_create+0xac/0xf0 > [ 137.129920] [] open_namei+0x5dc/0x700 > [ 137.133227] [] __wake_up+0x43/0x70 > [ 137.136477] [] do_filp_open+0x1c/0x50 > [ 137.139693] [] do_sys_open+0x5a/0x100 > [ 137.142838] [] sysenter_do_call+0x1b/0x67 > [ 137.145964] > [ 137.149014] xfs_force_shutdown(sda2,0x8) called from line 1133 of file fs/xfs/xfs_trans.c. Return address = 0xffffffff8036930e > [ 137.163485] Filesystem "sda2": Corruption of in-memory data detected. Shutting down filesystem: sda2 > > directly after booting. Interesting. I think I just found a cause of this shutdown under certain circumstances: http://marc.info/?l=linux-xfs&m=120518791828200&w=2 To confirm it might be the same issue, can you dump the superblock of this filesystem for me? i.e.: # xfs_db -r -c 'sb 0' -c p /dev/sda2 Also, what the mount options you are using are? Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group -- 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/