public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Punk Rider <kornos@mail.com>
Cc: xfs@oss.sgi.com
Subject: Re: XFS hangup - Failed to recover EFIs
Date: Sun, 19 May 2013 11:20:15 +1000	[thread overview]
Message-ID: <20130519012015.GF6495@dastard> (raw)
In-Reply-To: <20130518183919.100500@gmx.com>

On Sat, May 18, 2013 at 02:39:19PM -0400, Punk Rider wrote:
> Hello
> 
> After upgrading my laptop from Ubuntu 12.04 LTS to Ubuntu 13.04 Raring i noticed that my Linux would not boot again. 
> So after inserting Ubuntu 13.04 boot disk , this is what i've found out:
> 
> ubuntu@ubuntu:~$ uname -a
> Linux ubuntu 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> 
> ubuntu@ubuntu:~$ sudo xfs_repair -v /dev/sda3
> Phase 1 - find and verify superblock...
>  - block cache size set to 363760 entries
> Phase 2 - using internal log
>  - zero log...
> zero_log: head block 32468 tail block 31799
> ERROR: The filesystem has valuable metadata changes in a log which needs to
> be replayed. Mount the filesystem to replay the log, and unmount it before
> re-running xfs_repair. If you are unable to mount the filesystem, then use
> the -L option to destroy the log and attempt a repair.
> Note that destroying the log may cause corruption -- please attempt a mount
> of the filesystem before doing this.
> ubuntu@ubuntu:~$ ls /mnt/
> ubuntu@ubuntu:~$ sudo mount /dev/sda3 /mnt
>  ^C^C -> mount command hang indefinetely
> 
> On other terminal (output from dmeg):
> 
> [ 418.414325] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
> [ 418.428026] XFS (sda3): Mounting Filesystem
> [ 418.511943] XFS (sda3): Starting recovery (logdev: internal)
> [ 425.070536] XFS: Internal error XFS_WANT_CORRUPTED_GOTO at line 1557 of file /build/buildd/linux-3.8.0/fs/xfs/xfs_alloc.c. Caller 0xffffffffa06dae36
> [ 425.070536]
> [ 425.070552] Pid: 5671, comm: mount Tainted: GF 3.8.0-19-generic #29-Ubuntu
> [ 425.070556] Call Trace:
> [ 425.070605] [<ffffffffa06c311c>] xfs_error_report+0x3c/0x40 [xfs]
> [ 425.070646] [<ffffffffa06dae36>] ? xfs_free_extent+0xd6/0x120 [xfs]
> [ 425.070682] [<ffffffffa06d8556>] xfs_free_ag_extent+0x2d6/0x740 [xfs]
> [ 425.070717] [<ffffffffa06dae36>] xfs_free_extent+0xd6/0x120 [xfs]
> [ 425.070751] [<ffffffffa06d7137>] ? kmem_zone_alloc+0x67/0xe0 [xfs]
> [ 425.070797] [<ffffffffa0709b50>] xlog_recover_process_efi+0x170/0x1b0 [xfs]
> [ 425.070830] [<ffffffffa06c904f>] ? xfs_iget+0x36f/0x690 [xfs]
> [ 425.070869] [<ffffffffa070b376>] xlog_recover_process_efis.isra.8+0x66/0xc0 [xfs]

That's a corrupted freespace btree. Your only option at this point
is to zero the log and hope that xfs_repair can clean everything
up without too much loss.

> Before attempting mounting with -L flag , do you want me to do
> other things to assist in tracking this bug down?

Damage has already been done, there's no way we can find the cause
from the state you have on disk at this point, unfortunately.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      parent reply	other threads:[~2013-05-19  1:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-18 18:39 XFS hangup - Failed to recover EFIs Punk Rider
2013-05-18 19:56 ` Martin Spott
2013-05-19  1:20 ` Dave Chinner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130519012015.GF6495@dastard \
    --to=david@fromorbit.com \
    --cc=kornos@mail.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox