[dm-crypt] cryptsetup problem with memory allocation

Alasdair G Kergon agk at redhat.com
Tue Jun 24 01:12:47 CEST 2014


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

After updating to the most recent version you are able to use,
run it under strace and let us see the relevant output (at least the
failing system call itself, what leads up to it, including all early
memory-related system calls and DM ioctls) and any environment variables
set that could modify behaviour.

Be careful not to expose any confidential data or passwords.

Alasdair



More information about the dm-crypt mailing list