Re: loop-aes: make tests fails: Device busy

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

 



On Mo, Mar 23 2009, Jari Ruusu wrote:

> I tested with unmodified Linus' linux-2.6.29-rc8 source from kernel.org and
> Ubuntu's linux-source-2.6.28_2.6.28-11.36_all.deb, both self compiled with
> my test box config. loop-AES-v3.2e + 20090112.diff
>
> Both kernels seemed to work ok. No failures here.

Many thanks for your efforts.
An easy way to reproduce the problem might be to try Ubuntu 9.04
(Jaunty Jackalope) Alpha 6 available at:
http://cdimage.ubuntu.com/releases/jaunty/alpha-6/

I've tried two Live versions without hard disk changes:
Desktop CD
http://cdimage.ubuntu.com/releases/jaunty/alpha-6/jaunty-desktop-i386.iso
and Netbook Remix
http://cdimage.ubuntu.com/releases/jaunty/alpha-6/jaunty-netbook-remix-i386.img
On different machines (desktop PC, netbook, notebook) my test script
fails within 40 iterations.

> I dowloaded linux-source-2.6.28_2.6.28-11.36_all.deb from nearby .fi mirror
> http://www.nic.funet.fi/pub/mirrors/archive.ubuntu.com/pool/main/l/linux/
>
> md5sum:
> 41d603022c136e37caac2b9f854d2dc6  linux-source-2.6.28_2.6.28-11.36_all.deb
> dc8ef59b8e2133d72e874660dcad68bf  linux-source-2.6.28.tar.bz2
>
> What is/was the exact kernel source version number that you used and where
> did you get it from?

I recompiled my kernel lots of times with different kernel versions
and different configurations.
The one which worked for you
dc8ef59b8e2133d72e874660dcad68bf linux-source-2.6.28.tar.bz2
as well as linux-source-2.6.28.8.tar.bz2 from kernel.org did not work for
me.  (See details below.)

> Who compiled your kernel sources and loop-AES module?
> And how? Show me the commands.

1. Install util-linux-ng-2.14.2 with
util-linux-ng-2.14.2-20090214.diff
(following README of loop-aes)

2. Install kernel
Ubuntu package linux-source, version 2.6.28-11.36,
contains /usr/src/linux-source-2.6.28.tar.bz2 with md5sum:
dc8ef59b8e2133d72e874660dcad68bf  linux-source-2.6.28.tar.bz2

Ubuntu package linux-headers-generic, version 2.6.28.11.13,
contains /usr/src/linux-headers-2.6.28-11-generic/.config with
md5sum:
bd342efb2eb80cd8db38355ee24d3999  .config

tar xjf linux-source-2.6.28.tar.bz2
cd linux-source-2.6.28
cp /usr/src/linux-headers-2.6.28-11-generic/.config .
make menuconfig
- deselect CONFIG_BLK_DEV_LOOP
- change Reiserfs and Minix from =m to =y
make

as root:
make install
make modules_install

3. Install loop-aes
wget http://loop-aes.sourceforge.net/loop-AES/loop-AES-v3.2e.tar.bz2
wget http://loop-aes.sourceforge.net/loop-AES/loop-AES-v3.2e.tar.bz2.sign
gpg --verify loop-AES-v3.2e.tar.bz2.sign 
tar xjf loop-AES-v3.2e.tar.bz2
wget http://loop-aes.sourceforge.net/updates/loop-AES-v3.2e-20090112.diff.bz2
wget http://loop-aes.sourceforge.net/updates/loop-AES-v3.2e-20090112.diff.bz2.sign
gpg --verify loop-AES-v3.2e-20090112.diff.bz2.sign
bunzip2 loop-AES-v3.2e-20090112.diff.bz2
cd loop-AES-v3.2e
patch -p1 <../loop-AES-v3.2e-20090112.diff

make clean
make LINUX_SOURCE=/usr/src/linux-source-2.6.28
cp -p /lib/modules/2.6.28.8/extra/loop.ko /boot/modules-2.6.28.8
(directories exist already, grub contains appropriate entry)

Many thanks
Jens

P.S. If I run the test script from SystemRescueCD, there is no problem...
http://www.sysresccd.org/

-
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