[pkg-cryptsetup-devel] Bug#492926: Bug#492926: luksOpen fails, "Can not access device"

Jonas Meurer jonas at freesources.org
Wed Jul 30 14:17:40 UTC 2008


On 30/07/2008 Elmar Hoffman wrote:
> luksOpen fails with the following error:
> 
> # cryptsetup luksOpen /dev/sdc foo || echo $?
> Command failed: Can not access device
> 241
> 
> The device does exist and isLuks and luksDump do work as expected.
> After downgrade to 2:1.0.5-2 luksOpen does work again.

Hello Elmar,

Did you use cryptsetup 2:1.0.5-2 or a more recent version before you
upgraded to 2:1.0.6-4? Could you try version 2:1.0.6-1 from [1]?

Are you sure that /dev/sdc is the device in question, and that you
really want to luksopen the device directly, not only a partition, i.e.
/dev/sdc1? Did you verify that the device is not mapped already?

Please provide the output of the following commands:

# /lib/udev/vol_id /dev/sdc
# cryptsetup luksDump /dev/sdc
# strace cryptsetup luksOpen /dev/sdc foo 2>&1

greetings,
 jonas

[1] http://packages.debian.org/lenny/i386/cryptsetup/download
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20080730/042e2062/attachment.pgp 


More information about the pkg-cryptsetup-devel mailing list