You are not logged in.

#1 2016-12-10 11:14:16

eastballz
Member
Registered: 2016-12-10
Posts: 8

Macbook Pro freezes when resuming from suspend

Hi,

I've installed Arch on my 10.1 Macbook Pro using direct efi boot with refind. I'm using the lts kernel, and have the intel and nouveau drivers.
Whenever I suspend the computer, either by systemctl suspend or closing the lid, it suspends properly but when I try to resume, the display is turned on but the laptop is frozen. I can't input anything, so it's not just the display, but the whole machine. This behaviour occurs no matter if I suspend from the virtual console or from an X session.
I'm quite new to Arch, so I'm not sure what are the appropriate logs to post for this problem, so please tell me what other information I should share.

EDIT:

Ok, after some more testing, I've realized that this only occurs when the laptop goes to sleep and the Thunderbolt Ethernet adapter is plugged in. Otherwise, it wakes up normally.

EDIT 2:
Also, if I unplug the ethenet cable on the other end, leaving it plugged through the adapter to the macbook, it also works fine, so maybe the problem comes from waking with an active internet connection?

EDIT 3:
All right, I managed to make some progress. Apparently, if I boot with the adapter plugged and suspend, the freeze occurs, but if I unplug it and plug it again, suspend works fine, although an error is outputed to the console and the journalctl. Here it is:
Dec 10 15:43:03 arch kernel: sd 0:0:0:0: [sda] Starting disk
Dec 10 15:43:03 arch kernel: pciehp 0000:06:03.0:pcie24: Timeout on hotplug command 0x1038 (issued 31240 msec ago)
Dec 10 15:43:03 arch kernel: pciehp 0000:06:05.0:pcie24: Timeout on hotplug command 0x1038 (issued 31240 msec ago)
Dec 10 15:43:03 arch kernel: pciehp 0000:06:06.0:pcie24: Timeout on hotplug command 0x1038 (issued 31240 msec ago)
Dec 10 15:43:03 arch kernel: pciehp 0000:06:04.0:pcie24: Timeout on hotplug command 0x1038 (issued 31240 msec ago)
Dec 10 15:43:03 arch kernel: pciehp 0000:06:03.0:pcie24: Device 0000:08:00.0 already exists at 0000:08:00, cannot hot-add
Dec 10 15:43:03 arch kernel: pciehp 0000:06:03.0:pcie24: Cannot add device at 0000:08:00
Dec 10 15:43:03 arch kernel: [drm:intel_dp_link_training_clock_recovery [i915]] *ERROR* failed to enable link training
Dec 10 15:43:03 arch kernel: [drm:intel_dp_link_training_channel_equalization [i915]] *ERROR* failed to start channel equalization
Dec 10 15:43:03 arch kernel: pciehp 0000:06:03.0:pcie24: Device 0000:08:00.0 already exists at 0000:08:00, cannot hot-add
Dec 10 15:43:03 arch kernel: pciehp 0000:06:03.0:pcie24: Cannot add device at 0000:08:00
Dec 10 15:43:03 arch kernel: rtc_cmos 00:02: System wakeup disabled by ACPI
Dec 10 15:43:03 arch kernel: pciehp 0000:09:00.0:pcie24: Timeout on hotplug command 0x1038 (issued 31240 msec ago)
Dec 10 15:43:03 arch kernel: pciehp 0000:09:00.0:pcie24: Device 0000:0a:00.0 already exists at 0000:0a:00, cannot hot-add
Dec 10 15:43:03 arch kernel: pciehp 0000:09:00.0:pcie24: Cannot add device at 0000:0a:00
Dec 10 15:43:03 arch kernel: pcieport 0000:08:00.0: System wakeup disabled by ACPI
Dec 10 15:43:03 arch kernel: tg3 0000:0a:00.0 ens9: Link is down
Dec 10 15:43:03 arch kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Dec 10 15:43:03 arch kernel: ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
Dec 10 15:43:03 arch kernel: ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
Dec 10 15:43:03 arch kernel: ata1.00: configured for UDMA/133
Dec 10 15:43:03 arch kernel: nouveau 0000:01:00.0: DRM: resuming client object trees...
Dec 10 15:43:03 arch kernel: nouveau 0000:01:00.0: DRM: resuming display...
Dec 10 15:43:03 arch kernel: nouveau 0000:01:00.0: DRM: resuming console...
Dec 10 15:43:03 arch kernel: PM: resume of devices complete after 507.950 msecs
Dec 10 15:43:03 arch kernel: PM: Finishing wakeup.
Dec 10 15:43:03 arch kernel: Restarting tasks ... done.

So it seems there is a problem with the system tring to add the the ethrnet adapter even though it's already plugged.

Last edited by eastballz (2016-12-10 14:47:12)

Offline

#2 2017-07-23 22:51:14

kops
Member
From: Rennes, France
Registered: 2009-09-05
Posts: 5

Re: Macbook Pro freezes when resuming from suspend

Hi,

I have the same problem. Did you find a way out ?
Manually plug out then in the ethernet adaptor is annoying.

Offline

#3 2017-07-24 04:20:58

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Macbook Pro freezes when resuming from suspend

@kops,

please don't bump: https://wiki.archlinux.org/index.php/Co … bumping.22

There has been no activity on this thread except for the initial post, so I'll go ahead and close it. Please start your own thread.

Offline

Board footer

Powered by FluxBB