[dm-crypt] cryptsetup problem with memory allocation

Milan Broz gmazyland at gmail.com
Mon Jun 23 23:45:23 CEST 2014


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:

Hi,

please can you try new versions of libdevampper and cryptsetup?

...
> # 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 =
> dm_task_create(DM_DEVICE_LIST_VERSIONS).

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?)

Milan


More information about the dm-crypt mailing list