Yes this seems to be the problem, but it does not explain everything. I tried to compile the "loopback device support" and "Twofish encryption for loopback device" options as modules instead and THEN the losetup command worked (after "insmod loop_fish2"e) so apparently there is a problem if they are compiled, not as a modules, but as a part of the kernel. Bo
I had this same problem and the solution was rather simple, the module for twofish wasnt loaded.
do a lsmod and look for:
loop_fish2 9120 0
If its not there, then do a insmod loop_fish2 and it all should work.
Adam
On Wed, Apr 30, 2003 at 11:51:25PM +0200, Bo Jacobsen wrote:
I'm trying to mount a file to the loopback device but the losetup command complains about it.
I'm using the command line: losetup -e twofish /dev/loop0 /root/testfile
losetup asks for a password but returns: ioctl: LOOP_SET_STATUS: invalid argument when one is entered
"losetup -e none" works
I have tried with the standard kernel in SuSE 8.2 but also kernel 2.4.20-13 with both "loopback device support" and "Twofish encryption for loopback device" compiled into the kernel.
Any suggestions.
Thanks in advance Bo Jacobsen
--
Technical Consultant ----------------------------------------------------------------------- FORENSIC DATA SERVICES PTY LIMITED http://www.forensicdata.com.au ------------------------------------------------------------------------ The information contained in this e-mail is confidential and is intended solely for the addressee. If you received this e-mail by mistake please notify us immediately and delete all copies of this message. You must not disclose or use in any way the information in the e-mail. It is the responsibility of the recipient to virus scan this e-mail and any attachments included.
-- Check the headers for your unsubscription address For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here