xfs
[Top] [All Lists]

XFS_WANT_CORRUPTED_GOTO Error (XFS Log crashed) (contains debug log)

To: linux-xfs@xxxxxxxxxxx
Subject: XFS_WANT_CORRUPTED_GOTO Error (XFS Log crashed) (contains debug log)
From: Grand Apeiron <Grand.Apeiron@xxxxxxx>
Date: Wed, 15 Jun 2005 17:25:21 +0200
Sender: linux-xfs-bounce@xxxxxxxxxxx
Hi All,

i want to send you the following error report for providing you some
debug information of an XFS crash and maybe receiving some ideas what
could cause those crashes.

First some system information:
Debian SID - Kernel 2.6.10
2x300GB Seagate SATA HD's on a Fasttrack SATA II controller
Three RAID-1 (md0, md1, md2) devices which are built using 
partitions of these two disks.
Every md-device is formatted with XFS

The XFS on the md1 devices made problems.
md1 has a size of 66GB.


Today i was suddenly unable to access the data on the md1 device.
After looking into my syslog I found the first error of the log below.
I tried to unmount/remount and xfs_check the filesystem.

I was unable to remount /dev/md1 in read-write mode (probably because
XFS tried to recover the information of the journal but was unable to
because of the XFS_WANT_CORRUPTED_GOTO error).

xfs_check came up with an error which said that it can't check the
filesystem because of an corrupt XFS log.

Since i was able to mount /dev/md1 as read-only. I backed up all my data
to another partition and ran xfs_repair -L.
This did what it is proposed to do and i am now able to mount and
use /dev/md1 as before.

But for sure i am nervous about what this all means and why this problem
arised now. I am using XFS since 2 years and never had any problems.
In addition to the problem described above I found a file with wrong
filesize information 3 days ago. The file was shown as a 545TB file.
I was able to delete it.

Please find my saved logs of the XFS_WANT_CORRUPTED_GOTO problem below.
I added a simple comment about the tasks I did, before each log message.

Please note that the XFS_WANT_CORRUPTED_GOTO error comes up at two
different locations of fs/xfs/xfs_alloc.c.

If you answer to this message please answer to the list and to my
personal E-Mail address since I am not sure if my subscription to this
list has worked till now.

I will appreciate any information about why and how this error can
occur.
Must I hesitate about my hardware or kernel installation?

Thank you and Greetings from Germany,
Best Regards,
Grand Apeiron


FIRST ERROR (The problem arises)
-----------------------------------------------------------------------

XFS internal error XFS_WANT_CORRUPTED_GOTO at line 1714 of file
fs/xfs/xfs_alloc.c.  Caller 0xc01aac5e
 [<c01d3ac5>] xfs_error_report+0x35/0x38
 [<c01a9f64>] xfs_free_ag_extent+0x528/0x5cc
 [<c01aac5e>] xfs_free_extent+0xb2/0xdc
 [<c01aac5e>] xfs_free_extent+0xb2/0xdc
 [<c01ba050>] xfs_bmap_finish+0x158/0x16c
 [<c01b9fee>] xfs_bmap_finish+0xf6/0x16c
 [<c01dc77c>] xfs_itruncate_finish+0x1ac/0x2d0
 [<c01f6071>] xfs_inactive+0x201/0x410
 [<c020394b>] vn_rele+0x27/0x74
 [<c0202644>] linvfs_clear_inode+0x10/0x1c
 [<c014dab1>] clear_inode+0xd5/0x10c
 [<c014e5e6>] generic_delete_inode+0xa6/0xf4
 [<c014e724>] generic_drop_inode+0x10/0x20
 [<c014e790>] iput+0x5c/0x64
 [<c0146545>] sys_unlink+0xc9/0x124
 [<c0101eb7>] syscall_call+0x7/0xb
xfs_force_shutdown(md1,0x8) called from line 4073 of file
fs/xfs/xfs_bmap.c.  Return address = 0xc02032f1


AFTER REBOOT (Changed fstab to noauto before)
Mounting manually as root with ro
-----------------------------------------------------------------------

XFS mounting filesystem md1
Starting XFS recovery on filesystem: md1 (dev: md1)
XFS internal error XFS_WANT_CORRUPTED_GOTO at line 1714 of file
fs/xfs/xfs_alloc.c.  Caller 0xc01aac5e
 [<c01d3ac5>] xfs_error_report+0x35/0x38
 [<c01a9f64>] xfs_free_ag_extent+0x528/0x5cc
 [<c01aac5e>] xfs_free_extent+0xb2/0xdc
 [<c01aac5e>] xfs_free_extent+0xb2/0xdc
 [<c01f1143>] xfs_trans_log_efd_extent+0x1b/0x48
 [<c01e9137>] xlog_recover_process_efi+0x14b/0x178
 [<c01e912b>] xlog_recover_process_efi+0x13f/0x178
 [<c01e9190>] xlog_recover_process_efis+0x2c/0x50
 [<c01ea48c>] xlog_recover_finish+0x18/0x9c
 [<c01ebe88>] xfs_mountfs+0x9e0/0xc04
 [<c01e31c0>] xfs_log_mount_finish+0x1c/0x24
 [<c01ebfb4>] xfs_mountfs+0xb0c/0xc04
 [<c030cd4b>] __down_failed+0x7/0xc
 [<c01fd541>] xfs_setsize_buftarg+0x31/0x6c
 [<c01df25e>] xfs_ioinit+0x22/0x28
 [<c01f29d2>] xfs_mount+0x2fa/0x378
 [<c02030dd>] vfs_mount+0x25/0x2c
 [<c0202e94>] linvfs_fill_super+0x78/0x1a4
 [<c0202e1c>] linvfs_fill_super+0x0/0x1a4
 [<c020cc36>] snprintf+0x16/0x1c
 [<c0165534>] disk_name+0x24/0x70
 [<c013f78f>] sb_set_blocksize+0x17/0x44
 [<c013f27f>] get_sb_bdev+0xd7/0x12c
 [<c0128e4a>] kmem_cache_alloc+0x2e/0x38
 [<c0202fda>] linvfs_get_sb+0x1a/0x20
 [<c0202e1c>] linvfs_fill_super+0x0/0x1a4
 [<c013f44e>] do_kern_mount+0x4e/0xcc
 [<c01506b6>] do_new_mount+0x5a/0x7c
 [<c0150c21>] do_mount+0x135/0x150
 [<c0150a9c>] copy_mount_options+0x54/0xa4
 [<c0150f50>] sys_mount+0x7c/0xbc
 [<c0101eb7>] syscall_call+0x7/0xb
Ending XFS recovery on filesystem: md1 (dev: md1)


AFTER FSTAB CHANGE AND MOUNTING AS RW
-----------------------------------------------------------------------

XFS internal error XFS_WANT_CORRUPTED_GOTO at line 1637 of file
fs/xfs/xfs_alloc.c.  Caller 0xc01aac5e
 [<c01d3ac5>] xfs_error_report+0x35/0x38
 [<c01a9f64>] xfs_free_ag_extent+0x528/0x5cc
 [<c01aac5e>] xfs_free_extent+0xb2/0xdc
 [<c01aac5e>] xfs_free_extent+0xb2/0xdc
 [<c01b9fee>] xfs_bmap_finish+0xf6/0x16c
 [<c01dc77c>] xfs_itruncate_finish+0x1ac/0x2d0
 [<c01f6071>] xfs_inactive+0x201/0x410
 [<c01dac79>] xfs_itobp+0x1a1/0x1c0
 [<c020394b>] vn_rele+0x27/0x74
 [<c0202644>] linvfs_clear_inode+0x10/0x1c
 [<c014dab1>] clear_inode+0xd5/0x10c
 [<c014e5e6>] generic_delete_inode+0xa6/0xf4
 [<c014e724>] generic_drop_inode+0x10/0x20
 [<c014e790>] iput+0x5c/0x64
 [<c01e948d>] xlog_recover_process_iunlinks+0x209/0x35c
 [<c01f05cf>] xfs_trans_first_ail+0x13/0x24
 [<c01e2fa4>] xfs_log_force+0x34/0x58
 [<c01ea4ab>] xlog_recover_finish+0x37/0x9c
 [<c01ebe88>] xfs_mountfs+0x9e0/0xc04
 [<c01e31c0>] xfs_log_mount_finish+0x1c/0x24
 [<c01ebfb4>] xfs_mountfs+0xb0c/0xc04
 [<c030cd4b>] __down_failed+0x7/0xc
 [<c01fd541>] xfs_setsize_buftarg+0x31/0x6c
 [<c01df25e>] xfs_ioinit+0x22/0x28
 [<c01f29d2>] xfs_mount+0x2fa/0x378
 [<c02030dd>] vfs_mount+0x25/0x2c
 [<c0202e94>] linvfs_fill_super+0x78/0x1a4
 [<c0202e1c>] linvfs_fill_super+0x0/0x1a4
 [<c020cc36>] snprintf+0x16/0x1c
 [<c0165534>] disk_name+0x24/0x70
 [<c013f78f>] sb_set_blocksize+0x17/0x44
 [<c013f27f>] get_sb_bdev+0xd7/0x12c
 [<c0128e4a>] kmem_cache_alloc+0x2e/0x38
 [<c0202fda>] linvfs_get_sb+0x1a/0x20
 [<c0202e1c>] linvfs_fill_super+0x0/0x1a4
 [<c013f44e>] do_kern_mount+0x4e/0xcc
 [<c01506b6>] do_new_mount+0x5a/0x7c
 [<c0150c21>] do_mount+0x135/0x150
 [<c01301dd>] unmap_vma+0x51/0x58
 [<c0150a9c>] copy_mount_options+0x54/0xa4
 [<c0150f50>] sys_mount+0x7c/0xbc
 [<c0101eb7>] syscall_call+0x7/0xb
xfs_force_shutdown(md1,0x8) called from line 4073 of file
fs/xfs/xfs_bmap.c.  Return address = 0xc02032f1
Filesystem "md1": Corruption of in-memory data detected.  Shutting down
filesystem: md1
Please umount the filesystem, and rectify the problem(s)
Ending XFS recovery on filesystem: md1 (dev: md1)


REMOUNTING AS ro
-----------------------------------------------------------------------

XFS mounting filesystem md1
Starting XFS recovery on filesystem: md1 (dev: md1)
XFS internal error XFS_WANT_CORRUPTED_GOTO at line 1637 of file
fs/xfs/xfs_alloc.c.  Caller 0xc01aac5e
 [<c01d3ac5>] xfs_error_report+0x35/0x38
 [<c01a9f64>] xfs_free_ag_extent+0x528/0x5cc
 [<c01aac5e>] xfs_free_extent+0xb2/0xdc
 [<c01aac5e>] xfs_free_extent+0xb2/0xdc
 [<c01e912b>] xlog_recover_process_efi+0x13f/0x178
 [<c01e9190>] xlog_recover_process_efis+0x2c/0x50
 [<c01ea48c>] xlog_recover_finish+0x18/0x9c
 [<c01ebe88>] xfs_mountfs+0x9e0/0xc04
 [<c01e31c0>] xfs_log_mount_finish+0x1c/0x24
 [<c01ebfb4>] xfs_mountfs+0xb0c/0xc04
 [<c030cd4b>] __down_failed+0x7/0xc
 [<c01fd541>] xfs_setsize_buftarg+0x31/0x6c
 [<c01df25e>] xfs_ioinit+0x22/0x28
 [<c01f29d2>] xfs_mount+0x2fa/0x378
 [<c02030dd>] vfs_mount+0x25/0x2c
 [<c0202e94>] linvfs_fill_super+0x78/0x1a4
 [<c0202e1c>] linvfs_fill_super+0x0/0x1a4
 [<c020cc36>] snprintf+0x16/0x1c
 [<c0165534>] disk_name+0x24/0x70
 [<c013f78f>] sb_set_blocksize+0x17/0x44
 [<c013f27f>] get_sb_bdev+0xd7/0x12c
 [<c0128e4a>] kmem_cache_alloc+0x2e/0x38
 [<c0202fda>] linvfs_get_sb+0x1a/0x20
 [<c0202e1c>] linvfs_fill_super+0x0/0x1a4
 [<c013f44e>] do_kern_mount+0x4e/0xcc
 [<c01506b6>] do_new_mount+0x5a/0x7c
 [<c0150c21>] do_mount+0x135/0x150
 [<c01301dd>] unmap_vma+0x51/0x58
 [<c0150a9c>] copy_mount_options+0x54/0xa4
 [<c0150f50>] sys_mount+0x7c/0xbc
 [<c0101eb7>] syscall_call+0x7/0xb
Ending XFS recovery on filesystem: md1 (dev: md1)



-- 
If I would be a tapeworm, I would prefer penguins.


<Prev in Thread] Current Thread [Next in Thread>