0

I've been dual booting my MBA with Ubuntu (first 17.10, now 18.04) and have a fairly stable system. One problem I've had for some time is a slow wake/recovery from sleep. This is unpredictable and manifests in one of two ways:

  1. After opening the lid, the screen stays off for about a minute before waking to the login screen.
  2. After opening the lid, the screen very briefly turns on (with the login screen), then turns off for 2-5 ish minutes.

Occasionally, opening the lid will simply show the login screen immediately without any problems, but that seems less common recently.

I'm using powertop but not TLP.

dmesg -l emerg,alert,crit,err shows a ton of

[25537.777224] ata1.00: failed command: WRITE FPDMA QUEUED
[25537.777238] ata1.00: cmd 61/08:d8:08:98:9c/00:00:0c:00:00/40 tag 27 ncq dma 4096 out
                        res 40/00:f4:10:99:9c/00:00:0d:00:00/40 Emask 0x10 (ATA bus error)
[25537.777244] ata1.00: status: { DRDY }

I understand these to indicate a power supply related issue, which I find strange considering the nature of macbook air hardware.

less /var/log/kern.log output includes a lot of these errors

Oct 17 18:02:42 luft kernel: [15803.296167] ERROR @wl_cfg80211_get_station : 
Oct 17 18:02:42 luft kernel: [15803.296170] Wrong Mac address, mac = [redacted]   profile =[redacted]

and here's a log from a recent suspend-resume. Looks like some Gnome extensions are crashing after the lid closes (lines 1-999), then the system finally reaches sleep and suspend, but on resume it tries to suspend again (lines 1136, 1141-1145).

So, my questions:

  • What is causing the system to suspend immediately after opening the lid?
  • How do I fix it?
  • Is it related to the first two kernel log errors I've indicated?
  • (are those serious and how do I address them?)

Thanks!

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.