ext3 assertion failure and oops, 2.4.18
I can reliably reproduce an assertion failure and oops in ext3 by simply restarting cyrus21, if directories used by cyrus have +j flag set with chattr. Filesystem was mounted with default journalling mode data=orderded, kernels tested were 2.4.18 and 2.4.19-pre3-ac4. Recent -pre or -ac kernels wouldn't compile with my .config.
Assertion failure in journal_revoke() at revoke.c:330:
"!(__builtin_constant_p(BH_Revoked) ? constant_test_bit((BH_Revoked),( &bh->b_state)) : variable_test_bit((BH_Revoked),( &bh->b_state)))"
I'll capture whole oops if requested.
I found two similar cases from lkml archives, but they were left unresponded (atleast lkml wasn't cc'ed). I couldn't judge from changelogs if this problem has been already fixed.
http://groups.google.com/groups?selm=2446DD7E.7F1AEC90.00A5E169%40netscape.net&output=gplain
http://groups.google.com/groups?as_umsgid=%3C2446DD7E.7F1AEC90.00A5E169%40netscape.net%3E&lr=&hl=en
Signature · 1 line
Antti Salmela
Quoted 5 lines · Antti Salmela
I can reliably reproduce an assertion failure and oops in ext3 by simply restarting cyrus21, if directories used by cyrus have +j flag set with chattr. Filesystem was mounted with default journalling mode data=orderded, kernels tested were 2.4.18 and 2.4.19-pre3-ac4. Recent -pre or -ac kernels wouldn't compile with my .config.
I can atest to this, too. 2.4.18 stock, if I use the +j flag, the kernel will oops with the exact same assertion failure. The access pattern is that of Sleepycat DB3 doing a database snapshot in a subdirectory of the directory with the +j attribute set.
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Quoted 11 lines · Antti Salmela
I can reliably reproduce an assertion failure and oops in ext3 by simply restarting cyrus21, if directories used by cyrus have +j flag set with chattr. Filesystem was mounted with default journalling mode data=orderded, kernels tested were 2.4.18 and 2.4.19-pre3-ac4. Recent -pre or -ac kernels wouldn't compile with my .config.
Assertion failure in
journal_revoke()at revoke.c:330:
"!(__builtin_constant_p(BH_Revoked) ?constant_test_bit((BH_Revoked),( &bh->b_state)):variable_test_bit((BH_Revoked),( &bh->b_state)))"
Quoted 9 lines
I'll capture whole oops if requested.
I found two similar cases from lkml archives, but they were left unresponded (atleast lkml wasn't cc'ed). I couldn't judge from changelogs if this problem has been already fixed.
http://groups.google.com/groups?selm=2446DD7E.7F1AEC90.00A5E169%40netscape.net&output=gplain
http://groups.google.com/groups?as_umsgid=%3C2446DD7E.7F1AEC90.00A5E169%40netscape.net%3E&lr=&hl=en
It seems that mixing journalling modes in this manner doesn't work. Please turn off +j for the while - we'll aim to fix this in 2.4.20.
-