← Back to team overview

kernel-packages team mailing list archive

[Bug 1507472] Re: XHCI controller causing MacbookPro12, 1 to resume immediately after suspend

 

Tested latest daily (4.4.0-rc5 based) and this is still an issue:

[  524.598918] PM: suspend of devices complete after 206.893 msecs
[  524.618522] PM: late suspend of devices complete after 19.604 msecs
[  524.618686] thunderbolt 0000:07:00.0: suspending...
[  524.618901] thunderbolt 0000:07:00.0: stopping RX ring 0
[  524.618905] thunderbolt 0000:07:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1)
[  524.618909] thunderbolt 0000:07:00.0: stopping TX ring 0
[  524.618911] thunderbolt 0000:07:00.0: disabling interrupt at register 0x38200 bit 0 (0x1 -> 0x0)
[  524.618914] thunderbolt 0000:07:00.0: control channel stopped
[  524.618915] thunderbolt 0000:07:00.0: suspend finished
[  524.619320] xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
[  524.658498] PM: noirq suspend of devices complete after 39.977 msecs
[  524.658754] ACPI: Preparing to enter system sleep state S3
[  524.794534] ACPI : EC: EC stopped
[  524.794534] PM: Saving platform NVS memory
[  524.794536] Disabling non-boot CPUs ...
[  524.795725] smpboot: CPU 1 is now offline
[  524.807921] smpboot: CPU 2 is now offline
[  524.819911] smpboot: CPU 3 is now offline
[  524.832530] ACPI: Low-level resume complete
[  524.832603] ACPI : EC: EC started
[  524.832603] PM: Restoring platform NVS memory
[  524.833028] Enabling non-boot CPUs ...
[  524.852834] x86: Booting SMP configuration:
[  524.852835] smpboot: Booting Node 0 Processor 1 APIC 0x2
[  524.863122]  cache: parent cpu1 should not be sleeping
[  524.863910] CPU1 is up
[  524.880888] smpboot: Booting Node 0 Processor 2 APIC 0x1
[  524.884775]  cache: parent cpu2 should not be sleeping
[  524.884864] CPU2 is up
[  524.908765] smpboot: Booting Node 0 Processor 3 APIC 0x3
[  524.916146]  cache: parent cpu3 should not be sleeping
[  524.916490] CPU3 is up
[  524.920386] ACPI: Waking up from system sleep state S3
[  525.008898] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI 
[  525.024860] thunderbolt 0000:07:00.0: resuming...
[  525.024862] thunderbolt 0000:07:00.0: control channel starting...
[  525.024863] thunderbolt 0000:07:00.0: starting TX ring 0
[  525.024867] thunderbolt 0000:07:00.0: enabling interrupt at register 0x38200 bit 0 (0x0 -> 0x1) 
[  525.024868] thunderbolt 0000:07:00.0: starting RX ring 0
[  525.024872] thunderbolt 0000:07:00.0: enabling interrupt at register 0x38200 bit 12 (0x1 -> 0x1001)
[  525.024875] thunderbolt 0000:07:00.0: resetting switch at 0 
[  525.025439] thunderbolt 0000:07:00.0: 0: resuming switch
[  525.061153] thunderbolt 0000:07:00.0: resume finished
[  525.061160] PM: noirq resume of devices complete after 52.395 msecs
[  525.066725] PM: early resume of devices complete after 5.518 msecs
[  525.096662] sd 1:0:0:0: [sdb] Starting disk
[  525.126085] thunderbolt 0000:07:00.0: resetting error on 0:b.
[  525.126097] thunderbolt 0000:07:00.0: 0:b: hotplug: scanning
[  525.126098] thunderbolt 0000:07:00.0: resetting error on 0:c.
[  525.126099] thunderbolt 0000:07:00.0: 0:b: hotplug: no switch found
[  525.126103] thunderbolt 0000:07:00.0: 0:c: hotplug: scanning
[  525.126103] thunderbolt 0000:07:00.0: 0:c: hotplug: no switch found
[  525.149090] usb 1-3: ep 0x86 - rounding interval to 64 microframes, ep desc says 80 microframes
[  525.168635] pciehp 0000:06:00.0:pcie24: Device 0000:07:00.0 already exists at 0000:07:00, cannot hot-add
[  525.168636] pciehp 0000:06:00.0:pcie24: Cannot add device at 0000:07:00
[  525.168661] rtc_cmos 00:02: System wakeup disabled by ACPI
[  525.291076] PM: resume of devices complete after 224.368 msecs
[  525.291269] PM: Finishing wakeup.


** Changed in: linux-firmware (Ubuntu)
       Status: Incomplete => Confirmed

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

Title:
  XHCI controller causing MacbookPro12,1 to resume immediately after
  suspend

Status in linux-firmware package in Ubuntu:
  Confirmed

Bug description:
  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.

  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.

  WORKAROUND: Disable XHC1 prior to sleeping:
  > # echo XHC1 > /proc/acpi/wakeup

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-16-generic 4.2.0-16.19
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic x86_64
  ApportVersion: 2.19.1-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  mjg        1441 F.... pulseaudio
   /dev/snd/controlC0:  mjg        1441 F.... pulseaudio
  CurrentDesktop: GNOME
  Date: Mon Oct 19 18:13:15 2015
  HibernationDevice: RESUME=UUID=bc879a1f-ac27-48ae-82dd-3c81b7307dd0
  InstallationDate: Installed on 2015-07-22 (89 days ago)
  InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 05ac:0273 Apple, Inc.
   Bus 001 Device 002: ID 05ac:8290 Apple, Inc.
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Apple Inc. MacBookPro12,1
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.2.0-16-generic root=/dev/mapper/ubuntu--gnome--vg-root ro quiet splash acpi_backlight=vendor vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.2.0-16-generic N/A
   linux-backports-modules-4.2.0-16-generic  N/A
   linux-firmware                            1.149
  RfKill:
   3: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
  SourcePackage: linux
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: Upgraded to wily on 2015-08-27 (52 days ago)
  dmi.bios.date: 06/05/2015
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MBP121.88Z.0167.B07.1506051617
  dmi.board.name: Mac-E43C1C25D4880AD6
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBookPro12,1
  dmi.chassis.type: 9
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-E43C1C25D4880AD6
  dmi.modalias: dmi:bvnAppleInc.:bvrMBP121.88Z.0167.B07.1506051617:bd06/05/2015:svnAppleInc.:pnMacBookPro12,1:pvr1.0:rvnAppleInc.:rnMac-E43C1C25D4880AD6:rvrMacBookPro12,1:cvnAppleInc.:ct9:cvrMac-E43C1C25D4880AD6:
  dmi.product.name: MacBookPro12,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-firmware/+bug/1507472/+subscriptions


References