[Bugme-new] [Bug 32652] New: System locks up after resuming from s2disk (bisected)

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon Apr 4 11:21:02 PDT 2011


https://bugzilla.kernel.org/show_bug.cgi?id=32652

           Summary: System locks up after resuming from s2disk (bisected)
           Product: Power Management
           Version: 2.5
    Kernel Version: 2.6.38.2
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Hibernation/Suspend
        AssignedTo: power-management_other at kernel-bugs.osdl.org
        ReportedBy: cantabile.desu at gmail.com
        Regression: No


Hi,

Since the upgrade from 2.6.38.1 to 2.6.38.2, my laptop always locks up after
resuming from hibernation.

I use pm-hibernate, usually with SLEEP_MODULE=uswsusp. Adding a 30 second delay
after the resume ("resume pause = 30" in /etc/suspend.conf) I can see that the
hibernation image is read successfully and the system locks up right before
uswsusp should print "returned to userspace" and, well, return to whatever was
running before hibernating. The screen goes blank, powered up, but blank. Sysrq
doesn't work, I had to use the power button.

Calling s2disk directly leads to the same result.

Using pm-hibernate with SLEEP_MODULE=kernel leads to a slighty different
result: in addition to the above, the caps lock led lights up (and remains lit)
when the system locks up.

I cloned this:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.38.y.git and
bisected using 'v2.6.38.1' for "good" and 'v2.6.38.2' for "bad". This is what I
got:

ff518ea26654e05d325d996f6e3a7f5f569cc2d5 is the first bad commit
commit ff518ea26654e05d325d996f6e3a7f5f569cc2d5
Author: Yinghai Lu <yinghai at kernel.org>
Date:   Fri Feb 18 11:30:30 2011 +0000

    x86: Cleanup highmap after brk is concluded

    commit e5f15b45ddf3afa2bbbb10c7ea34fb32b6de0a0e upstream.

    Now cleanup_highmap actually is in two steps: one is early in head64.c
    and only clears above _end; a second one is in init_memory_mapping() and
    tries to clean from _brk_end to _end.
    It should check if those boundaries are PMD_SIZE aligned but currently
    does not.
    Also init_memory_mapping() is called several times for numa or memory
    hotplug, so we really should not handle initial kernel mappings there.

    This patch moves cleanup_highmap() down after _brk_end is settled so
    we can do everything in one step.
    Also we honor max_pfn_mapped in the implementation of cleanup_highmap.

    Signed-off-by: Yinghai Lu <yinghai at kernel.org>
    Signed-off-by: Stefano Stabellini <stefano.stabellini at eu.citrix.com>
    LKML-Reference: <alpine.DEB.2.00.1103171739050.3382 at kaball-desktop>
    Signed-off-by: H. Peter Anvin <hpa at zytor.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

:040000 040000 b5ed0c2971ba1162c7cd289dd351d1700eb52fbc
8f830fdb43fa30ddebb485e6f6455d669300874b M      arch

The hardware:
00:00.0 Host bridge: Intel Corporation Mobile GME965/GLE960 Memory Controller
Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GME965/GLE960
Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GME965/GLE960 Integrated
Graphics Controller (rev 0c)
00:19.0 Ethernet controller: Intel Corporation 82562GT 10/100 Network
Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #4 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI
Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1
(rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2
(rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5
(rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI
Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller
(rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE
Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA
AHCI Controller (rev 03)
10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan]
Network Connection (rev 02)

It's an HP Compaq 6720s laptop.
Cpu: intel core2 duo t5470 at 1.6 GHz
Ram: 2 GB

Operating system:
Arch linux x86_64

That's all the info I can think of, at the moment.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Bugme-new mailing list