How do I get loopback encryption filesystems working with 2.2.19?
I note the .config file created by make xconfig has lines with:
CONFIG_BLK_DEV_LOOP CONFIG_CIPHER_TWOFISH
Just having the lines in the .config is not enough. You need the _code_. Which is available as a patch, even from ftp.kernel.org. Then, you need a patched version of the losetup command. You use this to enter the password for your encrypted file or block device. This losetup requires some minor fiddling with the patched source, as well as the kernel (apply the patch). I can recommend to use the latest 2.2.19 kernel as announced in the latest SuSE Security announcement. It contains the kernel module as /lib/modules/2.2.19/block/loop_fish2.o . The loop driver itself is compiled into the kernel (not as a module).
ftp.kernel.org does not have a patch listed for 2.2.19
You have to look more thoroughly. I think it's there, in /pub/linux/kernel/crypto/v2.2 on ftp2.de.kernel.org. More information is inside the patch, and after applying it in Documentation/crypto relative to your kernel source path.
Thank You.
No Problem!
Roman.
--
- -
| Roman Drahtmüller