Public bug reported:

Cannot make a MacBookPro 11,1 suspend.

1. When putting the lid down, acpi_listen prints:

$ acpi_listen 
button/lid LID close
button/lid LID open

... so the lid is signalling correctly. Upon opening, the screensaver
prompt is present, and typing in the password brings me back to the
desktop. Nothing is found in dmesg.

2. When choosing "suspend" from the top-right power menu, the screen
goes black and shortly lights up again, showing the screensaver login
prompt. Typing in the password brings me back to the desktop as if
nothing had happened.

3. To remark that the power menu in the System Settings shows sometimes
"Suspend" as greyed out, and hibernate is not listed. Perhaps this is
related to the suspend process taking very long (minutes) as reported in
other bugs, but I have never waited so long to find out.

4. When attempting to hibernate instead, using:

$ sudo pm-hibernate

... something similar to triggering a suspend happens, but this time
dmesg lists one error:


[ 1434.487141] [drm:hsw_unclaimed_reg_clear] *ERROR* Unknown unclaimed register 
before writing to 2030

The whole relevant part of the dmesg is below, containing the sequence
towards hibernation and then the sequence towards power up, cropped at
the CPUs.

[ 1434.121698] init: anacron main process (6746) killed by TERM signal
[ 1434.160094] PM: Syncing filesystems ... done.
[ 1434.164415] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 1434.166115] PM: Marking nosave pages: [mem 0x00058000-0x00058fff]
[ 1434.166116] PM: Marking nosave pages: [mem 0x0008f000-0x0008ffff]
[ 1434.166117] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff]
[ 1434.166119] PM: Marking nosave pages: [mem 0x8ad14000-0x8ad52fff]
[ 1434.166121] PM: Marking nosave pages: [mem 0x8ad62000-0x8ad75fff]
[ 1434.166122] PM: Marking nosave pages: [mem 0x8ad77000-0x8ad8efff]
[ 1434.166123] PM: Marking nosave pages: [mem 0x8af4b000-0x8afe4fff]
[ 1434.166125] PM: Marking nosave pages: [mem 0x8b000000-0xffffffff]
[ 1434.166977] PM: Basic memory bitmaps created
[ 1434.167010] PM: Preallocating image memory... done (allocated 872683 pages)
[ 1434.484991] PM: Allocated 3490732 kbytes in 0.31 seconds (11260.42 MB/s)
[ 1434.484993] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) 
done.
[ 1434.486307] Suspending console(s) (use no_console_suspend to debug)
[ 1434.487014] mei_me 0000:00:16.0: H_RDY is not cleared 0x80141418
[ 1434.487141] [drm:hsw_unclaimed_reg_clear] *ERROR* Unknown unclaimed register 
before writing to 2030
[ 1435.603939] PM: freeze of devices complete after 1118.720 msecs
[ 1435.604106] PM: late freeze of devices complete after 0.166 msecs
[ 1435.604950] PM: noirq freeze of devices complete after 0.843 msecs
[ 1435.605211] ACPI: Preparing to enter system sleep state S4
[ 1435.605985] PM: Saving platform NVS memory
[ 1435.606140] Disabling non-boot CPUs ...
[ 1435.607323] kvm: disabling virtualization on CPU1
[ 1435.607606] smpboot: CPU 1 is now offline
[ 1435.608996] kvm: disabling virtualization on CPU2
[ 1435.710785] smpboot: CPU 2 is now offline
[ 1435.712130] kvm: disabling virtualization on CPU3
[ 1435.814678] smpboot: CPU 3 is now offline
[ 1435.815042] PM: Creating hibernation image:
[ 1435.994507] PM: Need to copy 871520 pages
[ 1435.994508] PM: Normal pages needed: 871520 + 1024, available pages: 3299080
[ 1436.710789] PM: Hibernation image created (871520 pages copied)
[ 1435.816195] Enabling non-boot CPUs ...
[ 1435.816221] x86: Booting SMP configuration:
[ 1435.816222] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 1435.828025] kvm: enabling virtualization on CPU1
[ 1435.830204] CPU1 is up
[ 1435.830216] smpboot: Booting Node 0 Processor 2 APIC 0x1
[ 1435.842013] kvm: enabling virtualization on CPU2
[ 1435.844227] CPU2 is up
[ 1435.844239] smpboot: Booting Node 0 Processor 3 APIC 0x3
[ 1435.856037] kvm: enabling virtualization on CPU3
[ 1435.858227] CPU3 is up
[ 1435.861484] ACPI: Waking up from system sleep state S4


Any hints towards getting suspend or hibernate working would be very 
appreciated.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: pm-utils 1.4.1-13ubuntu0.1
ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
Uname: Linux 3.13.0-35-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Sep 18 10:36:54 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-09-16 (2 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitecture: all
SourcePackage: pm-utils
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: pm-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to pm-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1371159

Title:
  MacBookPro 11,1 (Haswell, retina) fails to both suspend and hibernate
  with ubuntu 14.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1371159/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to