On 09/03/2006 Bastian Kleineidam wrote:
> You wrote:
> > Do you have the image still on disk? Can you try to open it via the
> > loopback driver?
> >
> > losetup /dev/loopX image
> > cryptsetup --readonly /dev/loopX _image
> 
> The losetup case works. Everything I do on disk works fine, only on DVD
> it fails.
> I debugged a little and found out that the difference between disk and
> DVD is the lib/utils.c:sector_size() return value: for my disc
> (dev/hdaX), it is 512, on DVD (/dev/hdc) it is 2048. The sector size is
> used in the read_blockwise() function, together with some alignment code
> I don't really grok. Perhaps this is where things go wrong?

i've tried to reproduce this bug, and indeed luksOpen fails for me with
a similar error message. i tried also plain dm-crypt, and discovered
that 'cryptsetup create' doesn't fail. the created device is mountable
and contains all the data which i put into the encrypted iso image.

in other words, the bug must be related to luks, it's not reproducible
when using plain dm-crypt.

just wanted to let you know, in case that you are not already aware of it.

...
 jonas

Attachment: signature.asc
Description: Digital signature

Reply via email to