[dm-crypt] cryptsetup problem with memory allocation
marek.belisko at gmail.com
Fri Jul 4 16:44:33 CEST 2014
On Mon, Jun 23, 2014 at 11:45 PM, Milan Broz <gmazyland at gmail.com> wrote:
> On 06/23/2014 10:50 AM, Belisko Marek wrote:
>> I'm trying to use cryptsetup on beaglebone to encrypt some data.
>> cryptsetup version is 1.6.2. When running luksFormat (with verbose
>> option) I get following:
> please can you try new versions of libdevampper and cryptsetup?
I test 1.64 cryptsetup + lvm2 (02.107) and it also fails but on
different place (don't have log by hand now).
I did test also with kernel 3.15 and cryptsetup 1.64 and it works fine.
>> # Calculated device size is 250 sectors (RW), offset 8.
>> # Detected kernel Linux 3.9.0-g7897c55-dirty armv7l.
>> Couldn't create ioctl argument.
>> I track it down that malloc fails (ENONMEM) in libdevmapper and then
>> _dm_check_versions() fails when creating dm task (dmt =
> This is error from libdevmapper, I have no idea why this happens
> on ARM... (Adding cc to Peter - any idea in dm camp? :-)
> Are there any special patches in your kernel for DM subsystem?
> (Can you try newer kernel also?)
We have mainline 3.9 kernel on top some patches but not touching
anything in dm area.
as simple and primitive as possible
Marek Belisko - OPEN-NANDRA
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
More information about the dm-crypt