Re: kernel OOPS for XFS in xfs_iget_core (using NFS+SMP+MD)

Steve Lord
2005-05-19T21:29:53Z

Joshua Baker-LePain wrote:
> On Thu, 19 May 2005 at 5:09pm, Lee Revell wrote
>
>
>>On Thu, 2005-05-19 at 17:00 -0400, Joshua Baker-LePain wrote:
>>
>>>May 19 16:47:10 norbert kernel: Filesystem "md0": XFS internal error xfs_da_do_buf(1) at line 2176 of file fs/xfs/xfs_da_btree.c. Caller 0xf8c90148
>
> *snip*
>
>>Couldn't this be a stack overflow? That's a very large kernel stack.
>
>
> I am using 8K stacks, and that's all the kernel messages I see.
>

The stack backtrace just converts all the code addresses it sees on
the stack, so you get extra false positives in there, it is not as
large as it seems.

Try setting /proc/sys/fs/xfs/error_level to 1 and running again,
it should spout out some more information about what it thinks
is corrupted.

Does xfs_repair report anything after this has happened, it looks
like it is trying to read a directory block up from disk to satisfy
a lookup request and failing for some reason. My suspicion is that
the filesystem will look ok (unmount it, then remount to reply the
log, then unmount again before running repair).

anything else in the syslog shortly before this?

Steve