Re: Kernel 2.4.6 and crypto 2.4.3.1 will not mount file systems

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

 



On Fri, 13 Jul 2001, John Bass wrote:

> Hello,
>
> I'm running kernel 2.4.6 patched with the crypto patch 2.4.3.1 but after
> building a 10M file, encrypting it with AES, making the file system.... it
> will not mount. I get the following message. Are there any known fixes?
>
> Jul 13 15:57:21 ariane kernel: cipher-aes-cbccipher-aes<6>cryptoapi:
> Registered aes-ecb (0)
> Jul 13 15:57:21 ariane kernel: cryptoapi: Registered aes-cbc (65536)
> Jul 13 15:58:26 ariane kernel: EXT2-fs error (device loop(7,0)):
> ext2_check_descriptors: Block bitmap for group 0 not in group (block
> 3488652124)!
> Jul 13 15:58:26 ariane kernel: EXT2-fs: group descriptors corrupted !

known issue... it's the variable blocksize IV calculation syndrome

the simple solution, (but hacky)

repeat the mke2fs and mount commands,
since the blocksize was changed by trying to mount the image, which
affects the encryption...

the better solution, switch to 512byte IV calculation mode...
either use the cryptoapi-branch of the international crypto patch or
loop-AES, depending on whether you want an improved int-patch approach or
just a specific but compact solution...

-- 
Herbert Valerio Riedel       /    Phone: (EUROPE) +43-1-58801-18840
Email: hvr@xxxxxxxxxx       /    Finger hvr@xxxxxxx for GnuPG Public Key
GnuPG Key Fingerprint: 7BB9 2D6C D485 CE64 4748  5F65 4981 E064 883F 4142


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