On Wed, Sep 18, 2002 at 04:23:59PM -1000, Sidik Isani wrote:
> Hello -
> As a follow-up to my previous posting: I just tried the current
> linux-2.4-xfs from CVS, and the same thing happens (mount crashes
> and I drop into kdb.) Something is strange about the formatting
> of the backtrace in kdb ... some lines are definitely scrolling
> off the top of my console before the "more>" prompt appears. This
> time the function at the top of my screen is "scrup", but I think
> there are stack levels above which rolled off the screen (is there
> a screen height setting in kdb?)
> Anyway, the crash still happens right after "Starting XFS recovery".
> Please let me know what I should do next...
I seem to remember Steve fixing an endian problem in the log code
at one point several months ago - this may be what's biting you -
perhaps you have a little endian number somewhere in the on disk
log and the new kernel is expecting it is as big endian.
If so, the right thing to do would be to run recovery using the
old kernel - so first mount, then unmount the filesystem. This
should complete fine with the old kernel. Then run xfs_repair
on the filesystem. This will zero out the log in phase 2, so
you can start afresh. Once you've done those things you should
be able to mount and use this filesystem with the latest kernel.
Hope this helps.