Executive summary: dmsetup / cryptsetup both fail to create a mapping on top of a raid device (/dev/md0 in this case). For much more details, see the bug report, any help appreciated as I'm out of ideas on how to diagnose the error: http://bugs.debian.org/409875 -- David Härdeman