Currently using Debian unstable, kernel 2.6.11-1-k7.
I'm not sure what happened between today and a couple days ago, but any insight would help.
I was just trying to mount my encrypted partition (/dev/hda4) and received "Command failed: Invalid argument" from cryptsetup.
I used the command properly, just like many times before:
$ sudo /sbin/cryptsetup create cryptonite /dev/hda4
I've also received this as root when running /etc/init.d/cryptdisks
Code:
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper 1.01.03 (2005-06-13)(compat) and kernel driver
Command failed
Crisis averted. Solution found.
After downgrading to libdevmapper1.01.00-4 I was able to mount my encrypted partition.