Re: Problems with 2.6.8.1, loop-AES and ext3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Gümbel wrote:
> All is running fine, except for the encrypted /home, which shows this error
> after some time of work (usually 10 to 30 minutes):
> 
> > Aug 16 19:36:26 [kernel] EXT3-fs error (device loop0): ext3_readdir:
> > directory # 783444 contains a hole at offset 8192
> > Aug 16 19:36:32 [kernel] ext3_abort called.
> > Aug 16 19:36:32 [kernel] EXT3-fs abort (device loop0): ext3_journal_start:
> > Detected aborted journal
> > Aug 16 19:37:04 [kernel] EXT3-fs error (device loop0) in
> > start_transaction: Journal has aborted
> >                 - Last output repeated 4 times -
> > Aug 16 19:37:22 [su(pam_unix)] session closed for user root
> > Aug 16 19:37:22 [kernel] EXT3-fs error (device loop0) in
> > start_transaction: Journal has aborted
> >                 - Last output repeated 52 times -

I am unable to reproduce any such errors in my test using kernel 2.6.8.1 and
loop-AES-v2.1c and ext3 file system on my x86 test box.

> I did not really change the configuration for my kernel (did a make
> oldconfig); the only "major" thing that is different between my 2.6.7 and
> my 2.6.8.1 config is the use of mregparm=3 in the latter case.

I have tested loop-AES using mregparm=3 in my earlier tests, and they worked
ok. gcc version in those tests was 3.3.2 . Today's test kernel was compiled
with Debian woody gcc-2.95.4, and no mregparm=3 was used.

I quickly browsed through ext3 changes from kernel 2.6.7 to 2.6.8.1, and I
did't see any obvious change that would cause this problem.

loop-AES-v2.1b to loop-AES-v2.1c changes include addition of two missing
flush_dcache_page() function calls to loop code, but on x86 that function is
defined as no-operation:

# grep flush_dcache_page include/asm-i386/*.h
include/asm-i386/cacheflush.h:#define flush_dcache_page(page)  do { } while (0)

> I will try if the problem goes away when disabling that option

Please let me know how that works out.

> I have reverted to 2.6.7 and not encountering any trouble

2.6.7+loop-AES-v2.1b or 2.6.7+loop-AES-v2.1c ?

-- 
Jari Ruusu  1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9  DB 1D EB E3 24 0E A9 DD

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/



[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux