ioctl: LOOP_SET_STATUS: Invalid argument

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

 



Im running knoppix/debian and trying to  compile my own 2.4.20 kernel. After  
doing the usual patching of the vanilla kernel;

#cd /usr/src/linux
#zcat /home/david/downloads/patch-int-2.4.20.1.gz | patch -p1
#patch -p1 < ~/loop-jari-2.4.20.0.patch
#bunzip2 /home/david/downloads/loop-AES-v1.7c.tar.bz2 | patch -p1
#tar xvf /home/david/downloads/loop-AES-v1.7c.tar | patch -p1

And build in all cryptoapi cryptoloop ciphers etc etc as modules

When I execute losetup -e aes /dev/loop0 ~/cryptfile I get;
" ioctl: LOOP_SET_STATUS: Invalid argument"
It works if I use xor and the pre-built knopix/debian kernel works fine but 
any kernel (I've tried several) I build doesnt.  Im guessing its an issue 
with cipher-aes but I dont know.
HELP!!!

system info stuff;
Linux palmer 2.4.20-wolk4.1s #2 SMP Fri May 23 20:05:20 BST 2003 i686 unknown 
unknown GNU/Linux

Gnu C                  3.2.3
Gnu make               3.80
util-linux             2.11z
mount                  2.11x
modutils               2.4.21
e2fsprogs              1.32
jfsutils               1.1.1
pcmcia-cs              3.2.2
PPP                    2.4.1
isdn4k-utils           3.2p1
Linux C Library        2.3.1
Dynamic linker (ldd)   2.3.1
Procps                 3.1.8
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               5.0
Modules Loaded         cipher-aes cryptoloop loop cryptoapi emu10k1 sound dmfe 
irda-usb usbnet usb-storage hid mousedev wacom printer usb-ohci usbcore

May 25 20:58:07 palmer kernel: cryptoloop: loaded
May 25 20:58:07 palmer kernel: cryptoapi: Registered aes-ecb (0)
May 25 20:58:07 palmer kernel: cryptoapi: Registered aes-cbc (65536)
May 25 20:58:07 palmer kernel: cryptoapi: Registered aes-cfb (131072)
May 25 20:58:07 palmer kernel: cryptoapi: Registered aes-ctr (262144)
May 25 20:58:07 palmer kernel: cryptoapi: Registered aes-rtc (524288)


-
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