Bug#131044: mount: patch-int-2.4.17.0.gz vs mount_2.11n-2
Package: mount
Version: 2.11n-2
Severity: normal
NAGY Andras <nagya@inf.elte.hu> sent me the following:
<-- snip -->
Scenario: loop-hvr-2.4.16.0.patch and patch-int-2.4.17.0.gz applied to
a 2.4.17 kernel.
Mount package version 2.11n-2 installed from woody.
loop, cryptoapi and cipher-aes (and the digest-*, not sure whether
they are needed) modules loaded.
# losetup -e aes /dev/loop0 /dev/sda2
Available keysizes (bits): 128 192 256
Keysize: 128
Password :
The cipher does not exist, or a cipher module needs to be loaded into the
kernel
ioctl: LOOP_SET_STATUS: Invalid argument
# strace losetup -e aes /dev/loop0 /dev/sda2
[...]
[read password]
ioctl(6, SNDCTL_TMR_CONTINUE, {B38400 opost isig icanon echo ...}) = 0
close(6) = 0
munmap(0x40019000, 4096) = 0
ioctl(4, 0x4c02, 0xbffffa18) = -1 EINVAL (Invalid argument)
ioctl(4, 0x4c02, 0xbffffa18) = -1 EINVAL (Invalid argument)
open("/proc/crypto/cipher//dev/sda2", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
ioctl(4, 0x4c02, 0xbffffa18) = -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
write(2, "\n", 1
) = 1
write(2, "ioctl: LOOP_SET_STATUS: Invalid "..., 41ioctl: LOOP_SET_STATUS:
Invalid argument
) = 41
ioctl(4, 0x4c01, 0) = 0
munmap(0x40017000, 4096) = 0
_exit(1) = ?
The `open("/proc/crypto/cipher//dev/sda2")' looks especially weird.
Andras
<-- snip -->
Reply to: