[MacBookAir6,2] Resumes immediately after suspend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Based on https:/
I have the exact same symptoms as those described in the first bug. The first suspend on battery power works without any issues. After that, even trying the 2x pm-suspend method doesn't work.
Here's an excerpt from dmesg showing the suspend:
[11363.316508] PM: Syncing filesystems ... done.
[11363.683228] PM: Preparing system for sleep (mem)
[11363.683388] Freezing user space processes ... (elapsed 0.002 seconds) done.
[11363.685415] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[11363.686602] PM: Suspending system (mem)
[11363.686629] Suspending console(s) (use no_console_suspend to debug)
[11363.686839] sd 1:0:0:0: [sda] Synchronizing SCSI cache
[11363.686890] sd 1:0:0:0: [sda] Stopping disk
[11363.689056] R8188EU: INFO indicate disassoc
[11364.057112] PM: suspend of devices complete after 370.364 msecs
[11364.079232] PM: late suspend of devices complete after 22.117 msecs
[11364.079400] thunderbolt 0000:07:00.0: suspending...
[11364.079620] thunderbolt 0000:07:00.0: stopping RX ring 0
[11364.079623] thunderbolt 0000:07:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1)
[11364.079628] thunderbolt 0000:07:00.0: stopping TX ring 0
[11364.079631] thunderbolt 0000:07:00.0: disabling interrupt at register 0x38200 bit 0 (0x1 -> 0x0)
[11364.079633] thunderbolt 0000:07:00.0: control channel stopped
[11364.079634] thunderbolt 0000:07:00.0: suspend finished
[11364.080060] xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
[11364.095334] pcieport 0000:05:00.0: quirk: cutting power to thunderbolt controller...
[11364.506336] mba6x_bl: Invalid response at reg: 0x1 (len: 24)
[11364.733532] mba6x_bl: failed to set brightness
[11364.733583] PM: noirq suspend of devices complete after 654.350 msecs
[11364.733853] ACPI: Preparing to enter system sleep state S3
[11364.763238] ACPI : EC: EC stopped
[11364.763238] PM: Saving platform NVS memory
[11364.763240] Disabling non-boot CPUs ...
[11364.763530] Broke affinity for irq 49
[11364.764553] smpboot: CPU 1 is now offline
[11364.776286] Broke affinity for irq 18
[11364.776293] Broke affinity for irq 44
[11364.776299] Broke affinity for irq 46
[11364.776305] Broke affinity for irq 48
[11364.776309] Broke affinity for irq 49
[11364.777347] smpboot: CPU 2 is now offline
[11364.787918] Broke affinity for irq 8
[11364.787921] Broke affinity for irq 9
[11364.787924] Broke affinity for irq 16
[11364.787927] Broke affinity for irq 18
[11364.787930] Broke affinity for irq 44
[11364.787933] Broke affinity for irq 45
[11364.787935] Broke affinity for irq 46
[11364.787937] Broke affinity for irq 47
[11364.787940] Broke affinity for irq 48
[11364.787942] Broke affinity for irq 49
[11364.787945] Broke affinity for irq 54
[11364.788969] smpboot: CPU 3 is now offline
[11364.805918] ACPI: Low-level resume complete
[11364.806002] ACPI : EC: EC started
[11364.806004] PM: Restoring platform NVS memory
[11364.806415] Enabling non-boot CPUs ...
[11364.826307] x86: Booting SMP configuration:
[11364.826309] smpboot: Booting Node 0 Processor 1 APIC 0x2
[11364.837869] cache: parent cpu1 should not be sleeping
[11364.838662] CPU1 is up
[11365.018821] smpboot: Booting Node 0 Processor 2 APIC 0x1
[11365.074966] cache: parent cpu2 should not be sleeping
[11365.075057] CPU2 is up
[11365.273364] smpboot: Booting Node 0 Processor 3 APIC 0x3
[11365.325736] cache: parent cpu3 should not be sleeping
[11365.350542] CPU3 is up
[11365.354192] ACPI: Waking up from system sleep state S3
[11365.430255] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
[11365.431123] pcieport 0000:06:03.0: quirk: waiting for thunderbolt to reestablish PCI tunnels...
[11365.431125] pcieport 0000:06:04.0: quirk: waiting for thunderbolt to reestablish PCI tunnels...
[11365.431219] pcieport 0000:06:05.0: quirk: waiting for thunderbolt to reestablish PCI tunnels...
[11365.431309] pcieport 0000:06:06.0: quirk: waiting for thunderbolt to reestablish PCI tunnels...
[11365.446161] thunderbolt 0000:07:00.0: resuming...
[11365.446162] thunderbolt 0000:07:00.0: control channel starting...
[11365.446165] thunderbolt 0000:07:00.0: starting TX ring 0
[11365.446171] thunderbolt 0000:07:00.0: enabling interrupt at register 0x38200 bit 0 (0x0 -> 0x1)
[11365.446172] thunderbolt 0000:07:00.0: starting RX ring 0
[11365.446177] thunderbolt 0000:07:00.0: enabling interrupt at register 0x38200 bit 12 (0x1 -> 0x1001)
[11365.446181] thunderbolt 0000:07:00.0: resetting switch at 0
[11365.447441] thunderbolt 0000:07:00.0: 0: resuming switch
[11365.452967] thunderbolt 0000:07:00.0: resume finished
[11365.453101] PM: noirq resume of devices complete after 23.052 msecs
[11365.457463] PM: early resume of devices complete after 4.341 msecs
[11365.457833] pciehp 0000:06:
[11365.457837] pciehp 0000:06:
[11365.457869] pciehp 0000:06:
[11365.461824] pciehp 0000:06:
[11365.461845] rtc_cmos 00:02: System wakeup disabled by ACPI
[11365.473860] sd 1:0:0:0: [sda] Starting disk
[11365.547332] thunderbolt 0000:07:00.0: resetting error on 0:b.
[11365.547342] thunderbolt 0000:07:00.0: 0:b: hotplug: scanning
[11365.547343] thunderbolt 0000:07:00.0: 0:b: hotplug: no switch found
[11365.547347] thunderbolt 0000:07:00.0: resetting error on 0:c.
[11365.547353] thunderbolt 0000:07:00.0: 0:c: hotplug: scanning
[11365.547354] thunderbolt 0000:07:00.0: 0:c: hotplug: no switch found
[11365.801887] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[11365.802162] ata1.00: unexpected _GTF length (8)
[11365.802572] ata1.00: unexpected _GTF length (8)
[11365.802696] ata1.00: configured for UDMA/133
[11365.818069] MAC Address = ec:08:6b:1f:30:92
[11366.202398] PM: resume of devices complete after 744.933 msecs
[11366.202849] PM: Finishing wakeup.
Something that seems notable regarding the policy min/med/max policy in in /sys/class/
If I try to toggle ' Enable SATA link power management for host1' after a suspend, powertop throws an error accessing the policy and shows 'null' in its output.
cat /proc/acpi/wakeup
Device S-state Status Sysfs node
P0P2 S3 *disabled
EC S4 *disabled platform:PNP0C09:00
HDEF S3 *disabled pci:0000:00:1b.0
RP01 S3 *disabled pci:0000:00:1c.0
RP02 S3 *disabled pci:0000:00:1c.1
RP03 S3 *disabled pci:0000:00:1c.2
ARPT S4 *disabled pci:0000:03:00.0
RP05 S3 *disabled pci:0000:00:1c.4
RP06 S3 *disabled pci:0000:00:1c.5
SPIT S3 *disabled
XHC1 S3 *enabled pci:0000:00:14.0
ADP1 S4 *disabled platform:
LID0 S4 *enabled platform:PNP0C0D:00
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.4.0-34-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CurrentDesktop: Unity
Date: Tue Aug 23 10:24:11 2016
MachineType: Apple Inc. MacBookAir6,2
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.157.3
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/22/2016
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBA61.88Z.
dmi.board.
dmi.board.name: Mac-7DF21CB3ED6
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookAir6,2
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBookAir6,2
dmi.product.
dmi.sys.vendor: Apple Inc.
tags: | added: kernel-bug-exists-upstream-4.8-rc3 |
summary: |
- Macbook Air resumes immediately after suspend + [MacBookAir6,2] Resumes immediately after suspend |
This change was made by a bot.