Hi, Jari, thank you very much for your reply. Please see the info I plugged in. --- Jari Ruusu <jari.ruusu@pp.inet.fi> wrote: > Michael Zhu wrote: > > Hi, I got a problem of loop-aes on a SMP machine. > I > > am trying to port the loop-aes to a DELL machine > with > > 4 CPUs. The system just hangs there when I use > mke2fs > > to format the loop device. It consumes nearly all > the > > CPU resource and never returns. The same loop-aes > > works fine on machine with only 1 CPU. So what is > the > > problem? > > What version of loop-AES are you using? > The loop-AES version is 1.5b > What kernel version? > My kernel version is 2.4.18 > File backed or device backed loop? > device backed loop > What is the size of loop device? > It is 54GB > If I have make a wild guess about your problem, my > guess is that you have > managed to compile the driver for kernel > configuration that does not match > your running kernel configuration. > I just compiled the loop device under the Linux machine whose version is 2.4.18. Do I need to any other configuration? > > Another thing is after I comment out the > aes_encrypt() > > and aes_decrypt() that means loop-aes without > > encryption everything is OK. The aes_encrypt() and > > aes_decrypt() support SMP? Maybe there is some > problem > > here. > > aes_encrypt() and aes_decrypt() are re-entrant and > SMP safe. > I don't know why. But it is what I got from the test. Thanks again. > Regards, > Jari Ruusu <jari.ruusu@pp.inet.fi> > ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/