From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p8EEOZSh145152 for ; Wed, 14 Sep 2011 09:24:36 -0500 Received: from bombadil.infradead.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E22B7152810F for ; Wed, 14 Sep 2011 07:29:18 -0700 (PDT) Received: from bombadil.infradead.org (173-166-109-252-newengland.hfc.comcastbusiness.net [173.166.109.252]) by cuda.sgi.com with ESMTP id Hw2wONEldWbi3oRP for ; Wed, 14 Sep 2011 07:29:18 -0700 (PDT) Date: Wed, 14 Sep 2011 10:24:30 -0400 From: Christoph Hellwig Subject: Re: xfs_repair segfaut in stage 6 Message-ID: <20110914142430.GA28049@infradead.org> References: <4E69D1B9.8070201@nasza-klasa.pl> <201109091401.31422@zmi.at> <4E6A2B73.50503@nasza-klasa.pl> <20110912161215.GA17798@infradead.org> <4E707624.9030703@nasza-klasa.pl> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4E707624.9030703@nasza-klasa.pl> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Bartosz Cisek Cc: Christoph Hellwig , Michael Monnerie , xfs@oss.sgi.com On Wed, Sep 14, 2011 at 11:38:44AM +0200, Bartosz Cisek wrote: > W dniu 12.09.2011 18:12, Christoph Hellwig pisze: > > I've repaired the image fine using xfs_repair from the Debian testing > > xfsprogs 3.1.5+nmu1 package. It found two invalid blocks in a > > directory, which look like the result from the hardware error you saw. > > > > You should be able to just rebuild the current xfsprogs (from > > testing/unstable or git) on Lenny and get the same result. > > I've build xfs_repair from git on lenny and got segfault before my first > email to this list (please refer to first email in this thread) :) Ooops. > What else I can do to find what differ our two cases? The hardware? Given that you were getting read I/O errors from the hardware when shutting the fs down you probably got those as well when running repair and that caused the segfault. Can you run xfs_repair under gdb for me, that is: gdb /path/to.xfs_repair (gdb) set args /dev/cciss/c0d5p1 (gdb) run and see what backtrace it gives you? Please make sure to build xfs_repair in the git tree manually using make and not the Debian packaging, as that removes the debug symbols. You can run gdb on the xfs_repair binary just built in the tree, no need to install it first. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs