Re: Ubuntu Jaunty has CONFIG_BLK_DEV_LOOP=y, prevents loading loop-aes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 28 Jun 2009 21:48:45 +0800
Daniel Harvey <daniel@xxxxxxxxxxxxxxx> wrote:

> A previous post has discussed the use of /dev/xloop[0-7]:
> http://mail.nl.linux.org/linux-crypto/2009-05/msg00010.html

Ubuntu users can try the following patch in order to use /dev/xloop*:
http://62.214.177.62/loop-AES-v3.2g.patch.bz2
( for loop-AES-v3.2g only, mirror:
http://rapidshare.com/files/250982934/loop-AES-v3.2g.patch.bz2.html )

- download latest loop-AES-v3.2g , copy the source to to /usr/src
  (source directory must be /usr/src/loop-AES-v3.2g for dkms!)
- apply the patch.
- download util-linux-2.12r (not util-linux-ng-*!) and apply the
  patch /usr/src/loop-AES-v3.2g/util-linux-2.12r.diff
- install util-linux:
---
apt-get build-deb loop-aes-utils
./configure
make
make install
---
(notice: this will only install /sbin/xlosetup - no patched versions of
  mount, swapon, etc. You can use /sbin/xlosetup only
  with /dev/xloop*, /sbin/losetup won't be touched. You still need it
  for /dev/loop*.  )


install loop-AES:
--
apt-get install dkms
dkms remove -m loop-AES -v v3.2g --all #not needed the first time
dkms add -m loop-AES -v v3.2g 
dkms build -m loop-AES -v v3.2g
dkms install -m loop-AES -v v3.2g
--
( dkms will now automatically build new modules each time you install a
new kernel. Keyscrubbing and extra ciphers are enabled. You can change
this by modifying /usr/src/loop-AES-v3.2g/dkms.conf and repeating the
steps above )


test your installation:
--
cd /usr/src/loop-AES-v3.2g
make tests EXTRA_CIPHERS=y
--

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux