← Back to team overview

kernel-packages team mailing list archive

[Bug 1487919] Re: macbookrpro12, 1 fails to suspend

 

On my MacbookPro12,1 with Wily and Linux 4.2, by default the kernel
successfully suspends but then immediately resumes again. The problem
seems to be the XHCI controller causing spurious ACPI wakeups. After
disabling it using the following command:

>  # echo XHC1 > /proc/acpi/wakeup

The kernel remains suspended after entering sleep. (Via
https://wiki.archlinux.org/index.php/MacBook#Suspend_and_Hibernate)

Also, the Broadcom wifi module seems to have problems with
suspend/resume, so I am also unloading the `brcmfmac` module prior to
suspend and loading it again after resume.

-- 
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/1487919

Title:
  macbookrpro12,1 fails to suspend

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I've installed wily on a new macbookpro12,1 (2015 model), and
  suspending the system results in the screen going black and the apple
  light turning off, but the system is not fully asleep -- the 'force
  touch' pad still makes clicking feedback, and the machine continues to
  generate heat and spin fans if put into a bag.  Once in this state,
  the machine cannot be woken up from the state its in either.

  did a "journalctl -f | tee sleep.log' while this was happening and got
  the following output -- let me know if there is a better way to figure
  out where things are going wrong:


  Aug 23 15:13:21 spiny NetworkManager[820]: <info> sleep requested (sleeping: no  enabled: yes)
  Aug 23 15:13:21 spiny NetworkManager[820]: <info> sleeping...
  Aug 23 15:13:21 spiny NetworkManager[820]: <info> (wlp3s0): device state change: activated -> unmanaged (reason 'sleeping') [100 10 37]
  Aug 23 15:13:21 spiny NetworkManager[820]: <info> (wlp3s0): deactivating device (reason 'sleeping') [37]
  Aug 23 15:13:21 spiny NetworkManager[820]: <info> (wlp3s0): canceled DHCP transaction, DHCP client pid 925
  Aug 23 15:13:21 spiny avahi-daemon[826]: Withdrawing address record for 2601:1c0:4d00:39e6:f912:fbb6:aaa6:4429 on wlp3s0.
  Aug 23 15:13:21 spiny avahi-daemon[826]: Withdrawing address record for 2601:1c0:4d00:39e6:290:4cff:fe0d:f43e on wlp3s0.
  Aug 23 15:13:21 spiny avahi-daemon[826]: Leaving mDNS multicast group on interface wlp3s0.IPv6 with address 2601:1c0:4d00:39e6:290:4cff:fe0d:f43e.
  Aug 23 15:13:21 spiny avahi-daemon[826]: Joining mDNS multicast group on interface wlp3s0.IPv6 with address fe80::290:4cff:fe0d:f43e.
  Aug 23 15:13:21 spiny avahi-daemon[826]: Registering new address record for fe80::290:4cff:fe0d:f43e on wlp3s0.*.
  Aug 23 15:13:21 spiny avahi-daemon[826]: Withdrawing address record for fe80::290:4cff:fe0d:f43e on wlp3s0.
  Aug 23 15:13:21 spiny avahi-daemon[826]: Leaving mDNS multicast group on interface wlp3s0.IPv6 with address fe80::290:4cff:fe0d:f43e.
  Aug 23 15:13:21 spiny avahi-daemon[826]: Interface wlp3s0.IPv6 no longer relevant for mDNS.
  Aug 23 15:13:21 spiny wpa_supplicant[891]: wlp3s0: CTRL-EVENT-DISCONNECTED bssid=10:c3:7b:c5:83:d8 reason=3 locally_generated=1
  Aug 23 15:13:21 spiny wpa_supplicant[891]: nl80211: Was expecting local disconnect but got another disconnect event first
  Aug 23 15:13:21 spiny avahi-daemon[826]: Withdrawing address record for 192.168.1.83 on wlp3s0.
  Aug 23 15:13:21 spiny avahi-daemon[826]: Leaving mDNS multicast group on interface wlp3s0.IPv4 with address 192.168.1.83.
  Aug 23 15:13:21 spiny avahi-daemon[826]: Interface wlp3s0.IPv4 no longer relevant for mDNS.
  Aug 23 15:13:21 spiny kernel: cfg80211: Calling CRDA to update world regulatory domain
  Aug 23 15:13:21 spiny NetworkManager[820]: <info> Writing DNS information to /sbin/resolvconf
  Aug 23 15:13:21 spiny dnsmasq[928]: setting upstream servers from DBus
  Aug 23 15:13:21 spiny dnsmasq[928]: using nameserver 2601:1c0:4d00:39e6::1#53
  Aug 23 15:13:21 spiny dbus[806]: [system] Rejected send message, 10 matched rules; type="method_return", sender=":1.22" (uid=0 pid=928 comm="/usr/sbin/dnsmasq --no-resolv --keep-in-foreground") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.6" (uid=0 pid=820 comm="/usr/sbin/NetworkManager --no-daemon ")
  Aug 23 15:13:21 spiny wpa_supplicant[891]: p2p-dev-wlp3s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
  Aug 23 15:13:21 spiny NetworkManager[820]: <info> Writing DNS information to /sbin/resolvconf
  Aug 23 15:13:21 spiny kernel: brcmf_cfg80211_reg_notifier: not a ISO3166 code
  Aug 23 15:13:21 spiny kernel: cfg80211: World regulatory domain updated:
  Aug 23 15:13:21 spiny kernel: cfg80211:  DFS Master region: unset
  Aug 23 15:13:21 spiny kernel: cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
  Aug 23 15:13:21 spiny kernel: cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
  Aug 23 15:13:21 spiny kernel: cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
  Aug 23 15:13:21 spiny kernel: cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
  Aug 23 15:13:21 spiny kernel: cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
  Aug 23 15:13:21 spiny kernel: cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
  Aug 23 15:13:21 spiny kernel: cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
  Aug 23 15:13:21 spiny kernel: cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
  Aug 23 15:13:21 spiny kernel: cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
  Aug 23 15:13:21 spiny dnsmasq[928]: setting upstream servers from DBus
  Aug 23 15:13:21 spiny dbus[806]: [system] Rejected send message, 10 matched rules; type="method_return", sender=":1.22" (uid=0 pid=928 comm="/usr/sbin/dnsmasq --no-resolv --keep-in-foreground") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.6" (uid=0 pid=820 comm="/usr/sbin/NetworkManager --no-daemon ")
  Aug 23 15:13:21 spiny NetworkManager[820]: <info> NetworkManager state is now ASLEEP
  Aug 23 15:13:21 spiny kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
  Aug 23 15:13:21 spiny dbus[806]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
  Aug 23 15:13:21 spiny kernel: show_signal_msg: 36 callbacks suppressed
  Aug 23 15:13:21 spiny kernel: wpa_supplicant[891]: segfault at 0 ip 00007fd14527bcba sp 00007ffc8c8dee68 error 4 in libc-2.21.so[7fd1451dc000+1c0000]
  Aug 23 15:13:21 spiny systemd[1]: Starting Network Manager Script Dispatcher Service...
  Aug 23 15:13:21 spiny dbus[806]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
  Aug 23 15:13:21 spiny systemd[1]: Started Network Manager Script Dispatcher Service.
  Aug 23 15:13:21 spiny nm-dispatcher[4605]: Dispatching action 'down' for wlp3s0
  Aug 23 15:13:21 spiny NetworkManager[820]: <info> wpa_supplicant stopped
  Aug 23 15:13:21 spiny systemd[1]: wpa_supplicant.service: Main process exited, code=dumped, status=11/SEGV
  Aug 23 15:13:21 spiny systemd[1]: wpa_supplicant.service: Unit entered failed state.
  Aug 23 15:13:21 spiny systemd[1]: wpa_supplicant.service: Failed with result 'core-dump'.
  Aug 23 15:13:26 spiny whoopsie[825]: [15:13:26] Cannot reach: https://daisy.ubuntu.com
  Aug 23 15:13:26 spiny whoopsie[825]: [15:13:26] offline
  Aug 23 15:13:26 spiny whoopsie[825]: [15:13:26] Cannot reach: https://daisy.ubuntu.com
  Aug 23 15:13:26 spiny systemd-logind[796]: Delay lock is active (UID 121/gdm, PID 1205/gnome-shell) but inhibitor timeout is reached.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.1.0-3-generic 4.1.0-3.3 [modified: boot/vmlinuz-4.1.0-3-generic]
  ProcVersionSignature: Ubuntu 4.1.0-3.3-generic 4.1.3
  Uname: Linux 4.1.0-3-generic x86_64
  ApportVersion: 2.18-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  jbarnett   1544 F.... pulseaudio
   /dev/snd/controlC1:  jbarnett   1544 F.... pulseaudio
  CurrentDesktop: GNOME
  Date: Sun Aug 23 15:16:10 2015
  EcryptfsInUse: Yes
  HibernationDevice: RESUME=UUID=dd225ec0-47f4-49d8-a51c-a2547f8eb945
  InstallationDate: Installed on 2015-08-21 (2 days ago)
  InstallationMedia: Ubuntu-GNOME 15.10 "Wily Werewolf" - Alpha amd64 (20150819)
  MachineType: Apple Inc. MacBookPro11,4
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.1.0-3-generic.efi.signed root=/dev/mapper/ubuntu--gnome--vg-root ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.1.0-3-generic N/A
   linux-backports-modules-4.1.0-3-generic  N/A
   linux-firmware                           1.146
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: linux
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 06/05/2015
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MBP114.88Z.0172.B04.1506051511
  dmi.board.name: Mac-06F11FD93F0323C5
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBookPro11,4
  dmi.chassis.type: 9
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-06F11FD93F0323C5
  dmi.modalias: dmi:bvnAppleInc.:bvrMBP114.88Z.0172.B04.1506051511:bd06/05/2015:svnAppleInc.:pnMacBookPro11,4:pvr1.0:rvnAppleInc.:rnMac-06F11FD93F0323C5:rvrMacBookPro11,4:cvnAppleInc.:ct9:cvrMac-06F11FD93F0323C5:
  dmi.product.name: MacBookPro11,4
  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/1487919/+subscriptions


References