Hello Milan, On Mon, Jun 23, 2014 at 11:45 PM, Milan Broz <gmazyland@xxxxxxxxx> 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: > > Hi, > > 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 = >> 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?) We have mainline 3.9 kernel on top some patches but not touching anything in dm area. > > Milan BR, marek -- as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite twitter: #opennandra web: http://open-nandra.com _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt