lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 07 Dec 2009 10:24:02 -0800
From:	Yinghai Lu <yinghai@...nel.org>
To:	Volker Lanz <vl@...ra.de>
CC:	linux-kernel@...r.kernel.org, mingo@...e.hu
Subject: Re: [BISECTED, REGRESSION] Successful resume from suspend but freezes
 after I/O

Volker Lanz wrote:
> Hi,
> 
> updating to my distro's new 2.6.31 kernel on an x86_64 quad core machine with 
> 6 GB of RAM I noticed resuming from suspend still worked as before, but the 
> machine will now reproducably freeze (have to hard reset) afterwards as soon 
> as I do something disk I/O heavy, though the problem is probably not related 
> to disk activity at all.
> 
> A current mainline 2.6.32 checkout shows the same behaviour.
> 
> I git-bisected the problem to this commit:
> 
> 
> -----------------------------------------------------------------------------
> commit 78a8b35bc7abf8b8333d6f625e08c0f7cc1c3742
> Author: Yinghai Lu <yinghai@...nel.org>
> Date:   Thu Mar 12 22:36:01 2009 -0700
> 
>     x86: make e820_update_range() handle small range update
> 
>     Impact: enhance e820 code to handle more cases
> 
>     Try to handle new range which could be covered by one entry.
> 
>     Signed-off-by: Yinghai Lu <yinghai@...nel.org>
>     Cc: jbeulich@...ell.com
>     LKML-Reference: <49B9F0C1.10402@...nel.org>
>     Signed-off-by: Ingo Molnar <mingo@...e.hu>
> -----------------------------------------------------------------------------
> 
> 
> A kernel built from this revision does not boot, so the first booting kernel 
> to show the problem actually seems to be:
> 
> 
> -----------------------------------------------------------------------------
> commit 6d7942dc2a70a7e74c352107b150265602671588
> Author: Yinghai Lu <yinghai@...nel.org>
> Date:   Sat Mar 14 14:32:41 2009 -0700
> 
>     x86: fix 64k corruption-check
> 
>     Impact: fix boot crash
> 
>     Need to exit early if the addr is far above 64k.
> 
>     The crash got exposed by:
> 
>       78a8b35: x86: make e820_update_range() handle small range update
> 
>     Signed-off-by: Yinghai Lu <yinghai@...nel.org>
>     Cc: <stable@...nel.org>
>     LKML-Reference: <49BC2279.2030101@...nel.org>
>     Signed-off-by: Ingo Molnar <mingo@...e.hu>
> -----------------------------------------------------------------------------
> 
> 
> The last kernel to work without problems thus seems to be this one:
> 
> 
> -----------------------------------------------------------------------------
> commit 773e673de27297d07d852e7e9bfd1a695cae1da2
> Author: Yinghai Lu <yinghai@...nel.org>
> Date:   Thu Mar 12 21:35:18 2009 -0700
> 
>     x86: fix e820_update_range()
> 
>     Impact: fix left range size on head
> 
>     | commit 5c0e6f035df983210e4d22213aed624ced502d3d
>     |    x86: fix code paths used by update_mptable
>     |    Impact: fix crashes under Xen due to unrobust e820 code
> 
>     fixes one e820 bug, but introduces another bug.
> 
>     Need to update size for left range at first in case it is header.
> 
>     also add __e820_add_region take more parameter.
> 
>     Signed-off-by: Yinghai Lu <yinghai@...nel.org>
>     Cc: jbeulich@...ell.com
>     LKML-Reference: <49B9E286.502@...nel.org>
>     Signed-off-by: Ingo Molnar <mingo@...e.hu>
> -----------------------------------------------------------------------------
> 
> 
> The problem is 100% reproducable on this machine: Resuming and then copying 
> /usr/ to $HOME will freeze after a few hundred MB have been copied. Earlier 
> kernels worked fine for the last couple of months.
> 
> What additional information is required to help diagnose and hopefully fix the 
> problem?

whole boot log with CONFIG_PCI_DEBUG and debug on command line.

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ