Displaying 1 result from an estimated 1 matches for "ext3_state_jdata".
2001 Jul 07
2
Bad unaligned kernel access with ext3 0.8.0
...83f74: f0 02 01 a6 ldq a0,752(t0)
fffffc0000883f78: 08 a1 7d a7 ldq t12,-24312(gp)
[...]
The ldl_l .... stl_c sequence can be identified as test_and_clear_bit() on
alpha.
So the faulting instruction is this line of fs/ext3/inode.c::ext3_bmap() :
if (test_and_clear_bit(EXT3_STATE_JDATA, &inode->u.ext3_i.i_state))
In fact ext3_i.i_state is a 16 bit aligned 16 bit value while
test_and_clear_bit() expects to work on aligned 32 bit quantities. Furthermore
the unaligned trap handler doesn't know how to handle the ldl_l.
How to fix it?
Weird side note: ext3 0.0.7 on kern...