> With these changes, Linux XFS in MIPS mode should be able to
> mount and modify clean MIPS XFS filesystems and vice-versa.
>
> Note if you try to mount a dirty FS you can be fairly sure
> you won't like the results.
>
> Anyway, you should be able to move FSes between IRIX and
> Linux and get pretty much full functionality (minus
> quotas and attributes).
>
> (of course the appropriate CONFIG_ option must be enabled
> to use MIPS mode)
>
Something nasty crept in with this mod - it may be as simple as a bad
assert. A debug build using native format now blows up in the transaction
code:
XFS assertion failed: log->l_grant_write_cycle-1 == CYCLE_LSN(tail_lsn,
ARCH_NOCONVERT), file: xfs_log.c, line: 2366
kernel BUG at xfs_debug.c:86!
Entering kdb (0xc12e8000) on processor 1 Panic: invalid operand
due to panic @ 0xc88a5489
eax = 0x0000001e ebx = 0x00000003 ecx = 0xc02f4124 edx = 0xc02f4124
esi = 0xc48ee120 edi = 0xc48ee1c8 esp = <kernel> eip = 0xc88a5489
ebp = 0xc12e9e38 ss = 0xc88cbf0e cs = 0x00000010 eflags = 0x00010086
ds = <kernel> es = 0x00000018 origeax = 0xffffffff ®s = 0xc12e9df8
[E1]ntkderbi> ng kdb (0xc0ee0000) on processor 0 due to NonMaskable Interrupt @
0xc0223ca4
eax = 0x00000000 ebx = 0xc13d1c80 ecx = 0xc0ee0000 edx = 0x00000001
esi = 0x00000000 edi = 0xc13d1c80 esp = <kernel> eip = 0xc0223ca4
ebp = 0xc0ee1f50 ss = 0x00000001 cs = 0x00000010 eflags = 0x00000202
ds = <kernel> es = 0xc13d0018 origeax = 0x00000000 ®s = 0xc0ee1ed4
[0]kdb> cpu 1
Entering kdb (0xc12e8000) on processor 1 due to cpu switch
[1]kdb> bt
EBP EIP Function(args)
0xc12e9c10 0xc021de54 kdb_getscancode+0x90( 0xc12e9c80, 0xff, 0xc12e9c30,
0xc0183fe0, 0xc12e9c80 )
0xc12e9c20 0xc021e024 kdba_read+0x10( 0xc12e9c80, 0xff, 0xc12e9c50,
0xc018400a, 0xc12e9c80 )
0xc12e9c30 0xc0183fe0 kdb_read+0x10( 0xc12e9c80, 0xff, 0xc024c019, 0x1, 0x0 )
0xc12e9c50 0xc018400a kdb_getstr+0x26( 0xc12e9c80, 0xff, 0xc024c019,
0xc024c2240xc12e9d80 0xc0182220 kdb+0x488( 0x4, 0x0, 0xc12e9df8, 0xc12e9db8,
0xc010c545 )
0xc12e9d94 0xc021ebb3 kdba_callback_die+0x1b( 0xc12e9df8, 0x0, 0xffffffff,
0xc0229646, 0xc12e9df8 )
0xc12e9db8 0xc010c545 die+0x79( 0xc0229646, 0xc12e9df8, 0x0, 0xc12e8000,
0xc12e9de8 )
0xc12e9dd0 0xc010c68e die_if_no_fixup+0x3a( 0xc0229646, 0xc12e9df8, 0x0,
0xc12e8000, 0xc12e9e38 )
0xc12e9de8 0xc010ca81 do_invalid_op+0x2d( 0xc12e9df8, 0x0, 0x3, 0xc02f4124,
0xc02f4124 )
0xc12e9e38 0xc010bff1 error_code+0x2d( 0xc88c4680, 0xc88c3dd6, 0x93e,
0xc7fa20cc, 0xc48ee120 )
0xc12e9e7c 0xc8880cd1 xlog_grant_log_space+0x321( 0xc48ee120, 0xc7fa20cc,
0xc2d15000, 0x0, 0xc48ee120 )
0xc12e9eb4 0xc887dfb3 xfs_log_reserve+0x133( 0xc2d15000, 0x638, 0x0,
0xc2e1f174, 0x69 )
0xc12e9ee0 0xc88921a6 xfs_trans_reserve+0x12a( 0xc2e1f140, 0x0, 0x638, 0x0,
0x0 )
0xc12e9f70 0xc8899ec6 xfs_syncsub+0x1046( 0xc2d15000, 0x31, 0x0, 0x0,
0xc2d15000 )
0xc12e9f90 0xc8898e77 xfs_sync+0x1b( 0xc2d15000, 0x31, 0xc88d81a0, 0xc2d15400,
0xc12e9fbc )
0xc12e9fa8 0xc88aeecc linvfs_write_super+0x24( 0xc2d15400, 0xc12e8000,
0xc12e8000, 0xc12e9fd4 )
0xc12e9fbc 0xc0146884 sync_supers+0x68( 0x0, 0xc12e8000, 0xc12e84a8,
0xc12e84a8 )
0xc12e9fd4 0xc0140e06 sync_old_buffers+0x6e( 0xf00, 0xc1293f98, 0xc1292000,
0x78 )
0xc12e9fec 0xc014135e kupdate+0x20e
0xc1293fa0 0xc0108f93 kernel_thread+0x23
Can someone fix this - I am on vacation!
Steve
|