LOOP_SET_STATUS

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

 



Hi,

I've another error with losetup:

runlevel # head -c 15 /dev/urandom | uuencode -m - | head -n 2 | tail -n 1 \
>         | losetup -p 0 -e AES128 /dev/loop2 /dev/hda7  
The cipher does not exist, or a cipher module needs to be loaded into the kernel
ioctl: LOOP_SET_STATUS: Argumento inválido <<<---- Invalid argument

I have this error proving with diferent algorithms like aes, aes128, blowfish 
and so on.

runlevel # lsmod
Module                  Size  Used by
snd_pcm_oss            52292  - 
snd_mixer_oss          18880  - 
crypto_null             1888  - 
aes                    32704  - 
des                    11296  - 
sha512                  9792  - 
sha256                 10112  - 
sha1                    8320  - 
blowfish                9312  - 
loop                   53288  - 

Next, I try strace to know whats happening:

............
ioctl(4, 0x4c02, 0xbffff460)            = -1 EINVAL (Invalid argument)
open("/proc/crypto/cipher/AES128-cbc", O_RDONLY|O_LARGEFILE) = -1 ENOTDIR (Not a directory)
ioctl(4, 0x4c02, 0xbffff460)            = -1 EINVAL (Invalid argument)
ioctl(4, 0x4c02, 0xbffff460)            = -1 EINVAL (Invalid argument)
open("/proc/crypto/cipher//dev/hda7", O_RDONLY|O_LARGEFILE) = -1 ENOTDIR (Not a directory)
ioctl(4, 0x4c02, 0xbffff460)            = -1 EINVAL (Invalid argument)
write(2, "The cipher does not exist, or a "..., 80The cipher does not exist, or a cipher module needs to be loaded into the kernel) = 80
............

runlevel # ls -lia /proc/crypto 
   4357 -r--r--r--    1 root     root            0 2003-09-22 14:07 /proc/crypto

I've 2.6-test5 kernel on a gentoo 1.4. I'm using loop-AES-v1.7e. What's the matter?

thanks

runlevel
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze
-
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