Skip to contentSkip to conversation

cryptoloop on 2.4.22/ppc doesn't work

DISCUSSION Christian Jaeger 1 participant 1 message Sep 1, 2003

lore
Share & tools
lore
#0 lore raw

Hello

I cannot seem to get crypto loopback to run.

This is 2.4.22 + patch-cryptoloop-jari-2.4.22.0 + 2.4.22-ben1 (but the latter does not touch any of the crypto or loop devices), all from kernel.org.

Linux lombi 2.4.22-ben1 #4 Son Aug 31 22:58:54 MEST 2003 ppc unknown

root@lombi root# LANG=C losetup -e blowfish /dev/loop1 christest Password :
The cipher does not exist, or a cipher module needs to be loaded into the kernel
ioctl: LOOP_SET_STATUS: Invalid argument

root@lombi root# LANG=C losetup -e aes /dev/loop1 christest
The cipher does not exist, or a cipher module needs to be loaded into the kernel
ioctl: LOOP_SET_STATUS: Invalid argument

root@lombi root# stat christest | grep Blocks
Size: 20971520 Blocks: 41008 IO Block: 4096 Regular File

while the modules listed below are loaded.

This is Debian woody, /sbin/losetup from mount package 2.11m-1

Why doesn't it work?

Thanks,
Christian.

root@lombi root# lsmod
Module Size Used by Not tainted

twofish                37552   0 
sha512                  9536   0  (unused)
sha256                  8352   0  (unused)
sha1                    6016   0  (unused)
serpent                19232   0  (unused)
md4                     2816   0  (unused)
md5                     3584   0  (unused)
crypto_null             1008   0  (unused)
des                    10768   0  (unused)
cryptoloop              1664   0  (unused)
mol                    43828   1 
aes                    27528   0 
blowfish                9776   0 
loop                   12084   0  (autoclean) [cryptoloop]
sch_ingress             1952   1  (autoclean)
cls_u32                 5908   5  (autoclean)
sch_sfq                 4144   3  (autoclean)
sch_cbq                14992   1  (autoclean)
ipt_REJECT              3984  44  (autoclean)
ipt_MASQUERADE          1664   1  (autoclean)
iptable_filter          1888   1  (autoclean)
iptable_nat            18484   1  (autoclean) [ipt_MASQUERADE]
ip_conntrack           20724   1  (autoclean) [ipt_MASQUERADE iptable_nat]
ip_tables              14512   6  [ipt_REJECT ipt_MASQUERADE iptable_filter iptable_nat]
ds                      8608   1 
yenta_socket           12496   1 
pcmcia_core            44128   0  [ds yenta_socket]
usb-ohci               23136   0  (unused)
bmac                   14244   1 
ethertap                3468   1 
dmasound_pmac          70656   1 
i2c-core               14248   0  [dmasound_pmac]
dmasound_core          13448   1  [dmasound_pmac]
soundcore               4504   3  [dmasound_core]