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

Alexander Beregalov
2009-01-09T22:26:37Z

2009/1/10 Alexander Beregalov <a.beregalov@gmail.com>:
> 2009/1/9 Dave Chinner <david@fromorbit.com>:
>> On Fri, Jan 09, 2009 at 07:41:21AM +0300, Alexander Beregalov wrote:
>> 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?
> Yes, it is easy reproducible for me, it happens every time I run
> `rtorrent` during few minutes after boot.
> I will try to provide simpler testcase.
>

This time I get it during log replaing before mounting.

* Mounting local filesystems...
[ 214.039447] XFS mounting filesystem sda3
[ 214.190773] Ending clean XFS mount for filesystem: sda3
[ 214.321525] XFS mounting filesystem sdb1
[ 214.453029] Starting XFS recovery on filesystem: sdb1 (logdev: internal)
[ 215.062964] Ending XFS recovery on filesystem: sdb1 (logdev: internal)
[ 215.163358] Assertion failed: fs_is_ok, file: fs/xfs/xfs_btree.c, line: 3327
[ 215.248223] ------------[ cut here ]------------
[ 215.257815] kernel BUG at fs/xfs/support/debug.c:108!
[ 215.257815] invalid opcode: 0000 [#1] PREEMPT DEBUG_PAGEALLOC
[ 215.257815] last sysfs file: /sys/kernel/uevent_seqnum
[ 215.257815] Modules linked in: i2c_nforce2
[ 215.257815]
[ 215.257815] Pid: 764, comm: async/1 Not tainted (2.6.28-08160-g7c51d57 #1)

It seems I need to downgrade the kernel to boot the machine.