← Back to team overview

kernel-packages team mailing list archive

[Bug 1371159] Re: [MacBookPro11, 1] Unable to suspend in ubuntu 14.04

 

Albert, could you please test the latest upstream kernel available from
the very top line at the top of the page (the release names are
irrelevant for testing, and please do not test the daily folder)
following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow
additional upstream developers to examine the issue.

If the test did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested exactly shown as:
kernel-fixed-upstream-3.18

This can be done by clicking on the yellow circle with a black pencil
icon next to the word Tags located at the bottom of the bug description.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's
Status as Confirmed. Please let us know your results. Thank you for your
understanding.

** Summary changed:

- MacBookPro 11,1 (Haswell, retina) fails to both suspend and hibernate with ubuntu 14.04
+ [MacBookPro11,1] Unable to suspend in ubuntu 14.04

** Description changed:

- Cannot make a MacBookPro 11,1 suspend.
- 
- 1. When putting the lid down, acpi_listen prints:
- 
- $ acpi_listen 
+ I cannot make a MacBookPro 11,1 suspend. When putting the lid down, acpi_listen prints:
  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.
+ 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.
+ To remark that the power menu in the System Settings shows sometimes
+ "Suspend" as greyed out.
  
  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)
- --- 
+ ---
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC1:  albert     2149 F.... pulseaudio
-  /dev/snd/controlC0:  albert     2149 F.... pulseaudio
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC1:  albert     2149 F.... pulseaudio
+  /dev/snd/controlC0:  albert     2149 F.... pulseaudio
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 14.04
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-09-16 (86 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
  MachineType: Apple Inc. MacBookPro11,1
  NonfreeKernelModules: wl
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-43-generic root=UUID=1fe82ec9-9c83-4e33-9506-2f7afb8d9d64 ro libata.force=noncq quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
  RelatedPackageVersions:
-  linux-restricted-modules-3.13.0-43-generic N/A
-  linux-backports-modules-3.13.0-43-generic  N/A
-  linux-firmware                             1.127.10
+  linux-restricted-modules-3.13.0-43-generic N/A
+  linux-backports-modules-3.13.0-43-generic  N/A
+  linux-firmware                             1.127.10
  Tags:  trusty
  Uname: Linux 3.13.0-43-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 02/12/2014
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MBP111.88Z.0138.B07.1402121134
  dmi.board.asset.tag: Base Board Asset Tag#
  dmi.board.name: Mac-189A3D4F975D5FFC
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBookPro11,1
  dmi.chassis.type: 10
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-189A3D4F975D5FFC
  dmi.modalias: dmi:bvnAppleInc.:bvrMBP111.88Z.0138.B07.1402121134:bd02/12/2014:svnAppleInc.:pnMacBookPro11,1:pvr1.0:rvnAppleInc.:rnMac-189A3D4F975D5FFC:rvrMacBookPro11,1:cvnAppleInc.:ct10:cvrMac-189A3D4F975D5FFC:
  dmi.product.name: MacBookPro11,1
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.

** Tags added: resume suspend

** Changed in: linux (Ubuntu)
   Importance: Low => Medium

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1371159

Title:
  [MacBookPro11,1] Unable to suspend in ubuntu 14.04

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I cannot make a MacBookPro 11,1 suspend. When putting the lid down, acpi_listen prints:
  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.

  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.

  To remark that the power menu in the System Settings shows sometimes
  "Suspend" as greyed out.

  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)
  ---
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  albert     2149 F.... pulseaudio
   /dev/snd/controlC0:  albert     2149 F.... pulseaudio
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 14.04
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-09-16 (86 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
  MachineType: Apple Inc. MacBookPro11,1
  NonfreeKernelModules: wl
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-43-generic root=UUID=1fe82ec9-9c83-4e33-9506-2f7afb8d9d64 ro libata.force=noncq quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-43-generic N/A
   linux-backports-modules-3.13.0-43-generic  N/A
   linux-firmware                             1.127.10
  Tags:  trusty
  Uname: Linux 3.13.0-43-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 02/12/2014
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MBP111.88Z.0138.B07.1402121134
  dmi.board.asset.tag: Base Board Asset Tag#
  dmi.board.name: Mac-189A3D4F975D5FFC
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBookPro11,1
  dmi.chassis.type: 10
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-189A3D4F975D5FFC
  dmi.modalias: dmi:bvnAppleInc.:bvrMBP111.88Z.0138.B07.1402121134:bd02/12/2014:svnAppleInc.:pnMacBookPro11,1:pvr1.0:rvnAppleInc.:rnMac-189A3D4F975D5FFC:rvrMacBookPro11,1:cvnAppleInc.:ct10:cvrMac-189A3D4F975D5FFC:
  dmi.product.name: MacBookPro11,1
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.

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