Re: 2.4.19 or 2.4.20 breaks encrypted swap (loop-aes or cryptoapi)

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

 



Zygo Blaxell wrote:
> Jari Ruusu  <jari.ruusu@pp.inet.fi> wrote:
> >What filesystems are you using? If you are using ext3, I hope it is patched
> >with Andrew Morton's ext3 patches.
> 
> I've tested using both ext3 and reiserfs.  Both have bugs of their own ;-)
> but they don't seem to be related to the encrypted swap problem.

These lockups appear to be result of nasty bugs in the block layer elevator
code. I have been able to reproduce them as well.

Following kernels deadlocked in less than 6 hours of abuse:
- mainline 2.4.20
- mainline 2.4.21-pre3

Following kernels survived 20 hours of abuse:
- Red Hat 2.4.20-2.21

> >Can you re-run your hanging tests cases with this patch applied to
> >loop-AES-v1.7a? This patch reduces stack usage and may make loop little bit
> >slower.
> 
> I'll start this running tonight.

Please don't bother with that 23-Jan-2003 patch. Loop code appears to be
okay in loop-AES-v1.7a. Can you try applying attached patch to 2.4.21-pre3
kernel and try again? It is based on Andrea Arcangeli's fix-pausing-2 patch.
Here is original version:

ftp://ftp.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.20rc2aa1/9980_fix-pausing-2

Regards,
Jari Ruusu <jari.ruusu@pp.inet.fi>

Attachment: linux-2.4.21-pre3-fix-pausing-2c.diff.bz2
Description: Binary data


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