Alexander Holler wrote:
> Milan Broz schrieb:
>> Please Can you try attached patch if helps here?
>> (Patch is not perfect, but should help, at least identify that
>> it is the same problem I am fixing:-)
> The patch works (I had to add an #include <linux/delay.h> /* msleep */).
> I've tested it using 126.96.36.199 and the script below. With your patch the
> script was running over night looping about 400 times without any error.
> A crosscheck without the patch needed only 10 iterations to get an oops.
> So I assume you have fixed the problem I had.
> There stills seems to be another problem left, I've got 3 times the
> device-mapper: ioctl: unable to remove open device
This is bug in cryptsetup related to udev (udev should not touch temporary
cryptsetup device) which is fixed upstream, but there is no
new release yet (Fedora has this patched, not sure about other distros)
see http://code.google.com/p/cryptsetup/source/detail?r=32 and other patches.
dm-devel mailing list