All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with cryptsetup/device-mapper
@ 2006-07-06  7:52 ganja
  0 siblings, 0 replies; only message in thread
From: ganja @ 2006-07-06  7:52 UTC (permalink / raw)
  To: dm-devel

Hello all, I am having some problems setting up a crypted device, and to 
me it seems to have with device mapper to do. I have loaded what modules 
I know is necessary as you can see below and I have tried different 
devices and pure files (ex /tmp/myimage which I created with dd 
if=/dev/urandom).

I am running Debian Unstable and I have tested it with 1-2 week old 
packages and fully upgraded. I also talked to google for an hour, be he 
wasnt very nice to me, found no valuable information at all.

Any help appreciated.
(please CC me, I am not subscribed)


thor:/tmp# cryptsetup -y -c aes -s 256 create hda1aes /dev/hda1
Enter passphrase:
Verify passphrase:
Command failed: device-mapper: reload ioctl failed: Invalid argument

thor:/tmp# lsmod
Module                  Size  Used by
dm_crypt               10056  0
aes                    28736  0
hptmv                 198660  14
nvidia               4543700  12
sr_mod                 13476  0
dm_mod                 50200  3 dm_crypt
raid5                  32448  4
xor                    16072  1 raid5
raid1                  21824  0
raid0                   8064  0
md_mod                 70612  7 raid5,raid1,raid0
loop                   13576  0
sata_promise            9348  12
ata_piix                9668  12
libata                 60300  2 sata_promise,ata_piix
uhci_hcd               20552  0
e1000                 109624  0
sd_mod                 16832  41

thor:/tmp# uname -a
Linux thor 2.6.17 #1 SMP PREEMPT Mon Jun 19 15:51:08 CEST 2006 i686 
GNU/Linux

thor:/tmp# dmesg|tail -n3
device-mapper: crypt: Device lookup failed
device-mapper: error adding target to table
device-mapper: device doesn't appear to be in the dev hash table.

thor:/tmp# tail /var/log/messages -n2
Jul  6 09:45:50 localhost kernel: device-mapper: error adding target to 
table
Jul  6 09:45:50 localhost kernel: device-mapper: device doesn't appear 
to be in the dev hash table.

--
Magnus Månsson

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-06  7:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-06  7:52 Problem with cryptsetup/device-mapper ganja

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.