Re: problem with aes-256 after software upgrade

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

 



finaly i found the solution. reviewing the source dir on my disk i found the following directory:

util-linux-2.12

dated just the time of my initial setup. now i know, that i've to write down every importatant configuration step i do. with the losetup found in this dir every ting works as expected. you may find the sorurce at www.mhcsoftware.de/ul212.tar.gz if you want to have a look at it.

i use this losetup with the "cryptoloop" and "aes" module of the 2.6.6 kernel.

now here are my quetions - because i want to understand this:

- what is the difference between "cryptoloop" of the kernel and "loop-aes" ?

- why are they incomaptible ? or better, are the incompatible ? and if so, why ?

- and finaly - if they are incomatible - why are there different implementations and what is the difference ?


well the core question is: what should i use and why.


thank for your persistant support and your patience !!!!

cheers
matthias

--On Sonntag, August 29, 2004 14:34:52 +0300 Jari Ruusu <jariruusu@xxxxxxxxxxxxxxxxxxxxx> wrote:

| lists@xxxxxxxxxxxxxx wrote:
| > first losetup segfaulted and then:
| >
| > MHC:root@linux:/var/src/util-linux-2.12a/mount# ./losetup -a
| > Segmentation fault
| > MHC:root@linux:/var/src/util-linux-2.12a/mount# lsmod | grep loop
| > loop                   57420  1
| >
| > module is not removable again
|
| > echo $PW | $GPG | ./losetup -e AES256 -p 0 /dev/loop0 /cf/xcf0
| >
| > i get:
| >
| > ioctl: LOOP_CLR_FD: No such device or address
| >
| > but when i do "losetup -a" i get:
| >
| > /dev/loop0: [0303]:7454729 (/cf/xcf0) encryption=AES256
| >
| > but /dev/loop0 is still unusable :((((
|
| Above looks like loop.ko module was compiled for wrong kernel
| configuration.
|
| After you compile your kernel, you need to compile loop.ko without moving
| or cleaning compiled kernel source tree. Something like this:
|
|     cd /usr/src/linux-2.6.6
|     mv .config z
|     make distclean
|     mv z .config
|     make oldconfig
|     make dep && make clean && make bzImage
|     make modules && make modules_install
|     cat arch/i386/boot/bzImage >/boot/vmlinuz
|     cp System.map /boot/System.map-2.6.6
|
|     cd /usr/src/loop-AES-v2.1c
|     make LINUX_SOURCE=/usr/src/linux-2.6.6
|
| If you are using lilo bootloader, you need to run lilo:
|
|     lilo
|
| And then reboot to new kernel /boot/vmlinuz



--


Matthias Henze matthias@xxxxxxxxxxxxxx

Use PGP!! http://www.mhcsoftware.de/MatthiasHenze.asc
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
MHC SoftWare GmbH          voice: +49-(0)9533-92006-0
Fichtera 17                  fax: +49-(0)9533-92006-6
96274 Itzgrund/Germany    e-Mail: info@xxxxxxxxxxxxxx
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Attachment: pgpvSUdmOssks.pgp
Description: PGP signature


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