[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch-int-2.4.0.2 and SMP
On Sun, Jan 14, 2001 at 03:11:31PM +0000, Andrew McDonald wrote:
> There appears to be a problem with compiling the crypto patch for an
> SMP system. modprobe'ing a cipher module reliably locks up the system
> (no oops). The sequence of commands:
> # modprobe cryptoapi
> # modprobe cipher-aes
> is the simplest way to show this.
Following up to my own question, it looks like the lock-up is occuring
in register_transform (in cryptoapi.c), sticking some debugs in:
crypto_debug("going to lock\n");
write_lock(&ti->t_group->tg_lock);
crypto_debug("list_add\n");
list_add(&ti->t_list, ti->t_group->tg_head);
crypto_debug("going to unlock\n");
"going to lock" appears, and then the kernel locks up.
I'm not clear what the problem is though at the moment. I presume the
lock is a no-op on UP systems.
Andrew
--
Andrew McDonald
E-mail: andrew@mcdonald.org.uk
http://www.mcdonald.org.uk/andrew/
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/