zentara wrote: I am right in the process of compiling kernel 2.4.21. I'll let you know how it goes. So far everything looks good, the patches all went in cleanly.
From the error message, I have to ask, "did you compile loopback into the kernel too" I think you may need to. There may be some glitch if you make loop a module but put encryption built-in. Just a guess. I'll be done testing by tommorrow.
Yes it's there. If not, I could not run losetup .. /dev/loop0 succesfully (with Twofish compiled as a module). Bo
OK, I think I found the problem you are having. I had forgot I had a patched version of losetup. I put the utils-linux.rpm that comes with suse in, and I got your error.
If you read /usr/src/linux/Documentation/cryptoapi/cryptoloop.txt it tells you that you need a patched utils-linux from: http://www.kernel.org/pub/linux/kernel/people/hvr/util-linux-patch-int/
you should apply that patch to utils-linux package available in the utilities directory at http://kernel.org.
Warning:, the patch does not apply cleanly and you will have to manually apply the patches to losetup and mount in the mount subdir of utils-linux-2.11z When you first apply the patch, it will give you a couple of *.rej files in /mount, you need to manually copy them in to patch the files.
If you have trouble with the patching, I'll email you a copy of the patched files.
Once that is done, your error should go away.
That really sounds encouraging. When I saw that you compiled the kernel and, just like that, had it working, I was beginning to wonder if maybe the problem originated outside the kernel. I'll try to look into the patching of losetup in the next couple of days. Great, thanks Bo