cryptsetup-luks on ARM

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

 



Hi,
I am trying to use cryptosetup an a nslu2 device (arm architecture).
Debian (etch) and linux 2.6.15 is installed.

I can create an encrypted partition as usual:
 echo "test" | cryptsetup -c aes luksFormat /dev/sdd2

But I can not open it:
 echo "test" | cryptsetup luksOpen /dev/sdd2 sdd2
This command replies with the following message:
 "automatic header conversion from 0.99 to 0.991 triggered"
and then it just hangs. (CTRL-C can stop it)
I attached strace to the running process to see what happens: nothing.

I started luksOpen with strace again and the activity stops after these lines:
 open("/proc/devices", O_RDONLY|O_LARGEFILE) = 3
 fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
 read(3, "Character devices:\n  1 mem\n  2 p"..., 1024) = 351
 close(3)                                = 0
 munmap(0x40016000, 4096)                = 0
 open("/proc/misc", O_RDONLY|O_LARGEFILE) = 3
 fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
 read(3, " 63 device-mapper\n  1 psaux\n130 "..., 1024) = 41
 close(3)                                = 0
 munmap(0x40016000, 4096)                = 0
 stat64("/dev/mapper/control", {st_mode=S_IFCHR|0660, st_rdev=makedev(10, 63), ...}) = 0
 open("/dev/mapper/control", O_RDWR|O_LARGEFILE) = 3
 ioctl(3, DM_DEV_REMOVE, 0x72080)        = 0
 close(3)                                = 0
 stat64("/dev/mapper/temporary-cryptsetup-2516", {st_mode=S_IFBLK|0600, st_rdev=makedev(254, 0), ...}) = 0
 unlink("/dev/mapper/temporary-cryptsetup-2516") = 0

dmesg reports no problems.
I also used the interactive way of providing the passphrase: same behaviour.

Does anyone have an idea, what could go wrong here?

thanks,
Lars

---------------------------------------------------------------------
 - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux