Â
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]
[ 425.070908] [<ffffffffa070e91a>] xlog_recover_finish+0x2a/0xd0 [xfs]
[ 425.070951] [<ffffffffa0715e54>] xfs_log_mount_finish+0x34/0x50 [xfs]
[ 425.070991] [<ffffffffa071145d>] xfs_mountfs+0x42d/0x690 [xfs]
[ 425.071026] [<ffffffffa06d2c6f>] xfs_fs_fill_super+0x2bf/0x340 [xfs]
[ 425.071037] [<ffffffff81196ebd>] mount_bdev+0x1cd/0x210
[ 425.071070] [<ffffffffa06d29b0>] ? xfs_parseargs+0xc10/0xc10 [xfs]
[ 425.071103] [<ffffffffa06d0ec5>] xfs_fs_mount+0x15/0x20 [xfs]
[ 425.071110] [<ffffffff81197bf3>] mount_fs+0x43/0x1b0
[ 425.071119] [<ffffffff811b2407>] ? alloc_vfsmnt+0xd7/0x1b0
[ 425.071127] [<ffffffff811b2594>] vfs_kern_mount+0x74/0x110
[ 425.071135] [<ffffffff811b490f>] do_mount+0x21f/0xac0
[ 425.071145] [<ffffffff8114a41b>] ? strndup_user+0x5b/0x80
[ 425.071153] [<ffffffff811b523e>] sys_mount+0x8e/0xe0
[ 425.071165] [<ffffffff816d379d>] system_call_fastpath+0x1a/0x1f
[ 425.071189] XFS (sda3): Failed to recover EFIs
[ 425.071194] XFS (sda3): log mount finish failed
Â
Â
Before attempting mounting with -L flag , do you want me to do other things to assist in tracking this bug down?
Â
I've attached dmesg output.
If there is anything else i can help with,please let me know.
Â
Best regards
Victor