I'm not sure if this is a bug or a user error. Could someone please update the bugzilla record? Thanks. Begin forwarded message: Date: Sun, 17 Apr 2005 07:39:02 -0700 From: bugme-daemon@xxxxxxxx To: bugme-new@xxxxxxxxxxxxxx Subject: [Bugme-new] [Bug 4507] New: device-mapper crypt can't encrypt cdrom device http://bugme.osdl.org/show_bug.cgi?id=4507 Summary: device-mapper crypt can't encrypt cdrom device Kernel Version: 2.6.11 Status: NEW Severity: normal Owner: thornber@xxxxxxxxxxx Submitter: hadmut@xxxxxxxxxx Distribution: Debian Hardware Environment: Plain PC Software Environment: dmsetup 1.01 Problem Description: I tried to generate an encrypted CDROM (generated a plain ISO image, encrypted it with the device mapper, and burned it onto a CDROM). But mounting the device with the device mapper fails: # dmsetup create cdromx 0 73246 crypt aes-plain 61a60170273e74a5be90355ffe8e86ad 0 /dev/cdroms/cdrom0 0 device-mapper ioctl cmd 9 failed: Invalid argument Command failed dmesg says: device-mapper: crypt: Device lookup failed It seems as if dm_get_device in dm-table.c does not find the cdrom drive. Even giving the full device path /dev/ide/host0/bus1/target0/lun0/cd or the major:minor as 22:0 does not help. regards Hadmut Steps to reproduce: ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.