RE: Missed something while using cryptsetup
Well seen !
But , have a look :
host:/home/user# losetup --encryption aes --keybits 4096 -f /dev/loop2
Password: *****
Segmentation fault
host:/home/user# losetup --encryption aes -f /dev/loop2
Password: *****
ioctl: LOOP_SET_FD: Invalid Argument
host:/home/user # losetup -f /dev/loop2
ioctl: LOOP_SET_FD: Invalid Argument
host:/home/user # losetup -f /dev/loop3
ioctl: LOOP_SET_FD: Invalid Argument
What's going on ? :'(
Any idea ? :-((((
Thanks :)
-----Message d'origine-----
De : Wade Richards [mailto:wade@wabyn.net]
Envoyé : mercredi 21 décembre 2005 20:12
À : DeMZed
Objet : Re: Missed something while using cryptsetup
Hi,
You probably didn't miss this, but your mail doesn't mention it, so I'll
ask. Did you set up the loop device to refer to a file before you tried
to do cryptsetup ?
After all, if you haven't done "losetup" yet, /dev/loop0 will not be a
block device, it will be nothing.
--- Wade
On Wed, Dec 21, 2005 at 07:33:37PM +0100, DeMZed wrote:
> Hello !
>
> When I do :
> cryptsetup -c aes -s 4096 create home /dev/loop0
>
> I get :
> Command failed: Bloc de périphérique requis
> (Translation : device bloc wanted ... or something like that :-/)
>
> Does this error is because my kernel is not well configured ( something
> wrong in device-mapper or dm-crypt or AES ?)
>
> nevertheless
> ls -l /dev/mapper/control
>
> give me
> crw-rw---- 1 root root 10, 63 2005-10-26 21:56 /dev/mapper/control
>
> and
> cat /proc/crypto
>
> give me
> name : md5
> module : kernel
> type : digest
> blocksize : 64
> digestsize : 16
>
> name : aes
> module : aes_i586
> type : cipher
> blocksize : 16
> min keysize : 16
> max keysize : 32
> (i've modprobe aes)
>
> who see what i did wrong ??
>
> Thanks for any help !
> PS : uname gives Linux 2.6.12-1-k7 #1 Tue Sep 27 13:22:07 JST 2005
> i686 GNU/Linux
>
>
--
/"\ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
\ / ASCII Ribbon Campaign | Wade Richards --- wade@wabyn.net
X - NO HTML/RTF in e-mail | tlhIngan Hol vIjatlhbe'chu'. QInvam
choHpu'
/ \ - NO Word docs in e-mail | ghoqwI'.
Reply to: