xfs
[Top] [All Lists]

xfs internal error in fs/xfs/xfs_da_btree.c

To: linux-xfs@xxxxxxxxxxx
Subject: xfs internal error in fs/xfs/xfs_da_btree.c
From: Martin Murray <murrayma@xxxxxxxxxxxxxx>
Date: Mon, 19 Jun 2006 15:53:23 -0400
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
Howdy, Didn't think much of this until I saw Avuton Olrich's post. I had the
following bug while doing an apt-get upgrade. I rebooted with a linux cdrom
and dd'd the entire partition to a spare disk, so that I could debug the error
or just in case something went wrong with xfs_repair.

xfs_repair did a lot of magic, but the filesystem now works. I still have the
backed up disk image, and a good idea which file triggered the bug, if anyone
would like me to check anything.

This is running 2.6.17-rc6 with John Stultz's timekeeping patches. The drive
is a Fujitsu MAW3073NP on an LSI 53c1030. Otherwise, the machine isn't very
remarkable. Oh, it is SMP.

-Martin

Filesystem "sda2": XFS internal error xfs_da_do_buf(2) at line 2213 of file 
fs/xfs/xfs_da_btree.c.  Caller 0xffffffff80368034

Call Trace:
 [<ffffffff80378f6f>] xfs_corruption_error+0xef/0x110
 [<ffffffff803a1b9b>] kmem_zone_alloc+0x5b/0xc0
 [<ffffffff8036771a>] xfs_da_buf_make+0x2a/0x150
 [<ffffffff80367eaf>] xfs_da_do_buf+0x66f/0x780
 [<ffffffff80368034>] xfs_da_read_buf+0x24/0x30
 [<ffffffff803a1b9b>] kmem_zone_alloc+0x5b/0xc0
 [<ffffffff80368034>] xfs_da_read_buf+0x24/0x30
 [<ffffffff80373642>] xfs_dir2_leafn_lookup_int+0x2f2/0x4b0
 [<ffffffff80373642>] xfs_dir2_leafn_lookup_int+0x2f2/0x4b0
 [<ffffffff8036a7ee>] xfs_da_node_lookup_int+0x1fe/0x2c0
 [<ffffffff80371828>] xfs_dir2_node_lookup+0x48/0xd0
 [<ffffffff8036c179>] xfs_dir2_isleaf+0x19/0x50
 [<ffffffff8036c852>] xfs_dir2_lookup+0x122/0x160
 [<ffffffff8038c0e0>] xfs_log_release_iclog+0x10/0x40
 [<ffffffff80397f3b>] xfs_dir_lookup_int+0x4b/0x110
 [<ffffffff80393658>] xfs_rename+0x1d8/0xc90
 [<ffffffff80224391>] __up_read+0x21/0xd0
 [<ffffffff80270cf6>] _spin_unlock_irqrestore+0x16/0x40
 [<ffffffff8037ee06>] xfs_iunlock+0x66/0xa0
 [<ffffffff8039bbca>] xfs_access+0x4a/0x60
 [<ffffffff803a93ae>] xfs_vn_rename+0x4e/0xc0
 [<ffffffff80224391>] __up_read+0x21/0xd0
 [<ffffffff80270cf6>] _spin_unlock_irqrestore+0x16/0x40
 [<ffffffff8037ee06>] xfs_iunlock+0x66/0xa0
 [<ffffffff8025136f>] kstrdup+0x4f/0x70
 [<ffffffff8022e1b6>] vfs_rename+0x216/0x3a0
 [<ffffffff8023bf69>] sys_renameat+0x1c9/0x270
 [<ffffffff80270a3e>] _spin_lock+0xe/0x70
 [<ffffffff80270bb4>] _spin_unlock+0x14/0x40
 [<ffffffff802308dc>] mntput_no_expire+0x1c/0x80
 [<ffffffff80269e0e>] system_call+0x7e/0x83


followed after by:

Filesystem "sda2": XFS internal error xfs_da_do_buf(2) at line 2213 of file 
fs/xfs/xfs_da_btree.c.  Caller 0xffffffff80368034

Call Trace:
 [<ffffffff80378f6f>] xfs_corruption_error+0xef/0x110
 [<ffffffff803a1b9b>] kmem_zone_alloc+0x5b/0xc0
 [<ffffffff8036771a>] xfs_da_buf_make+0x2a/0x150
 [<ffffffff80367eaf>] xfs_da_do_buf+0x66f/0x780
 [<ffffffff80368034>] xfs_da_read_buf+0x24/0x30
 [<ffffffff8035d561>] xfs_bmapi+0x2f1/0x1f50
 [<ffffffff80270a3e>] _spin_lock+0xe/0x70
 [<ffffffff80368034>] xfs_da_read_buf+0x24/0x30
 [<ffffffff803703a8>] xfs_dir2_leaf_getdents+0x448/0x7b0
 [<ffffffff803703a8>] xfs_dir2_leaf_getdents+0x448/0x7b0
 [<ffffffff8036be50>] xfs_dir2_put_dirent64_direct+0x0/0x80
 [<ffffffff8036c598>] xfs_dir2_getdents+0x118/0x160
 [<ffffffff8020883b>] __handle_mm_fault+0x36b/0xa10
 [<ffffffff8039b861>] xfs_readdir+0x61/0xa0
 [<ffffffff803a678b>] xfs_file_readdir+0xdb/0x230
 [<ffffffff80240cd0>] filldir64+0x0/0xf0
 [<ffffffff80240cd0>] filldir64+0x0/0xf0
 [<ffffffff8023a303>] vfs_readdir+0x73/0xc0
 [<ffffffff802dd39f>] sys_getdents64+0x7f/0xd0
 [<ffffffff80269e0e>] system_call+0x7e/0x83



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