Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#62965 - Linux on 2015 MacBook freezing and crashing

Attached to Project: Arch Linux
Opened by Gideon (Raijin) - Friday, 21 June 2019, 20:51 GMT
Task Type Bug Report
Category System
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Description:

I am using a Late 2015 MacBook Pro running Arch and i3. However, this problem occurred when I was running Ubuntu 16.04 as well.

Basically, at seemingly random times the entire system will freeze. Music will skip like a broken CD. No keyboard or mouse input is registered. The only way to recover is to do a hard reset by holding the power button.

When I reboot, I am presented with the systemd-boot menu, where there is a 5 second countdown to automatically launch the highlighted OS. Keyboard input is **extremely** laggy. Arrow keys / Enter takes 10+ seconds to respond. If I leave the timer to run out, each "second" will take upwords of 30 seconds to pass.

Without fail, I am presented with my GTK greeter, except there is no keyboard or mouse input detected. I can't login, much less launch an emergency terminal.
To fix this, I either let it sit there for 10 minutes (which may or may not work) or just power cycle the machine until it magically starts working.

I made a reddit post about it [here](https://www.reddit.com/r/archlinux/comments/b909wu/anyone_else_have_macbook_issues_im_experiencing/), where I was directed to [this](https://bbs.archlinux.org/viewtopic.php?id=218388) forum post, which seems to match the issue I am having.

* I have installed the intel microcode package
* I have tried the linux-macbook kernel, but this does not fix the issue
* I am not using compton or powertop, both suspects discussed in the forum.

This is **seriously** hurting my productivity, I can't have random freezes when I am trying to work.

```
H/W path Device Class Description
=====================================================
system MacBookPro12,1
/0 bus Mac-E43C1C25D4880AD6
/0/0 memory 32KiB L1 cache
/0/1 memory 32KiB L1 cache
/0/2 memory 256KiB L2 cache
/0/3 memory 3MiB L3 cache
/0/4 processor Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
/0/5 memory 1MiB BIOS
/0/19 memory 16GiB System Memory
/0/19/0 memory 8GiB SODIMM DDR3 Synchronous 1867 MHz (0.5 ns)
/0/19/1 memory 8GiB SODIMM DDR3 Synchronous 1867 MHz (0.5 ns)
/0/100 bridge Broadwell-U Host Bridge -OPI
/0/100/2 display Iris Graphics 6100
/0/100/3 multimedia Broadwell-U Audio Controller
/0/100/14 bus Wildcat Point-LP USB xHCI Controller
/0/100/14/0 usb1 bus xHCI Host Controller
/0/100/14/0/3 input Bluetooth USB Host Controller
/0/100/14/0/5 input Apple Internal Keyboard / Trackpad
/0/100/14/1 usb2 bus xHCI Host Controller
/0/100/15 generic Wildcat Point-LP Serial IO DMA Controller
/0/100/15.4 bus Wildcat Point-LP Serial IO GSPI Controller #1
/0/100/16 communication Wildcat Point-LP MEI Controller #1
/0/100/1b multimedia Wildcat Point-LP High Definition Audio Controller
/0/100/1c bridge Wildcat Point-LP PCI Express Root Port #1
/0/100/1c.1 bridge Wildcat Point-LP PCI Express Root Port #2
/0/100/1c.1/0 multimedia 720p FaceTime HD Camera
/0/100/1c.2 bridge Wildcat Point-LP PCI Express Root Port #3
/0/100/1c.2/0 wlp3s0 network BCM43602 802.11ac Wireless LAN SoC
/0/100/1c.4 bridge Wildcat Point-LP PCI Express Root Port #5
/0/100/1c.4/0 bridge DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
/0/100/1c.4/0/0 bridge DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
/0/100/1c.4/0/0/0 generic DSL5520 Thunderbolt 2 NHI [Falcon Ridge 4C 2013]
/0/100/1c.4/0/3 bridge DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
/0/100/1c.4/0/4 bridge DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
/0/100/1c.4/0/5 bridge DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
/0/100/1c.4/0/6 bridge DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
/0/100/1c.5 bridge Wildcat Point-LP PCI Express Root Port #6
/0/100/1c.5/0 storage Samsung Electronics Co Ltd
/0/100/1f bridge Wildcat Point-LP LPC Controller
/0/100/1f.3 bus Wildcat Point-LP SMBus Controller
/0/100/1f.6 generic Wildcat Point-LP Thermal Management Controller
/1 power
```

Additional info:
I can provide any logs that would help

Steps to reproduce:
Use any linux on Late 2015 MacBook Pro
This task depends upon

Comment by Constantine (Hi-Angel) - Saturday, 13 July 2019, 10:30 GMT
If it's reproducible with Ubuntu as well, it sounds unspecific to a distro. You may probably want to report a kernel bug upstream, i.e. at https://bugzilla.kernel.org/

About logs: yeah, you gotta at least include dmesg. Also, check `journalctl` in case it has anything interesting for the moment when the freezes start. If there's nothing relevant in time when the problem appears, that's worth explicitly mentioning.

And while on it: I'd suggest to record dmesg on a usual boot and on a "laggy" boot, and check the difference, maybe you'll find something interesting (which may be worth noting in bugreport). You can strip timestamp-noise out before checking on differences with something like `cat my-dmesg-file | perl -lane 'print @F[1..$#F]'`.
Comment by Constantine (Hi-Angel) - Sunday, 14 July 2019, 16:53 GMT
Oh, btw, do you still have OS X? If you do, do you see the same problem with lags if after the reboot you launch OS X?

Loading...