Re: [xfs-masters] 2.6.29-rc: kernel BUG at fs/xfs/support/debug.c:108

Dave Chinner
2009-01-09T05:39:17Z

On Fri, Jan 09, 2009 at 07:41:21AM +0300, Alexander Beregalov wrote:
> Hi
>
> I got this with the latest git (2150edc6c5cf00f7adb54538b9ea2a3e9cedca3f).
>
> Assertion failed: fs_is_ok, file: fs/xfs/xfs_btree.c, line: 3327
> ------------[ cut here ]------------
> kernel BUG at fs/xfs/support/debug.c:108!
> invalid opcode: 0000 [#1] PREEMPT DEBUG_PAGEALLOC
> last sysfs file: /sys/devices/platform/w83627hf.656/name
> Modules linked in: w83627hf hwmon_vid i2c_nforce2
>
> Pid: 250, comm: pdflush Not tainted (2.6.28-07966-g2150edc #1)
> EIP: 0060:[<c029cfce>] EFLAGS: 00010282 CPU: 0
> EIP is at assfail+0x1e/0x30
> EAX: 00000053 EBX: ef2ed170 ECX: 10000000 EDX: 10000000
> ESI: 00000000 EDI: f6b158a4 EBP: f6b15838 ESP: f6b15828
> DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
> Process pdflush (pid: 250, ti=f6b14000 task=f6b0d1c0 task.ti=f6b14000)
> Stack:
> c04bbeb0 c049ba44 c049c4d3 00000cff f6b158f0 c024f3ed 00000008 f0ba7000
> f6b15894 f6b15878 f6b158e0 f0ba7000 00000010 f6b158fc 00000000 ef2ed170
> 00000000 f0b98000 f0ba7000 00000000 0000000b c024bb8d f6b158e8 f6b15890
> Call Trace:
> [<c024f3ed>] ? xfs_btree_delrec+0xebd/0x1270
> [<c024bb8d>] ? xfs_btree_lookup_get_block+0x9d/0x100
> [<c02492bd>] ? xfs_bmbt_init_key_from_rec+0xd/0x20
> [<c024a260>] ? xfs_lookup_get_search_key+0x40/0x80
> [<c024f7cc>] ? xfs_btree_delete+0x2c/0xa0

Looks like the same btree corruption problem as this:

http://oss.sgi.com/archives/xfs/2009-01/msg00118.html

We're working to find the cause right now, but I find it interesting
that you are running a CONFIG_XFS_DEBUG=y kernel and the first
point that something is found wrong is the same place that the
above non-debug case is detecting corruption.

Can you reproduce it/have a reproducable test case?

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com