Comment 44 for bug 1668105

Revision history for this message
In , oliver (oliver-linux-kernel-bugs) wrote :

A small update, the new MacBookPro12,1 has even become worse then before. (I still have the older one, which also still has the issue).

Initially it was fine, but as time went on, it became worse and worse. Booting now takes a couple of minutes.

First the time from chime to systemd-boot takes forever. Changing the menu is almost impossible as it takes forever for the (usb) keyboard to go through the menu. It probably is constantly restarting/timing out.

Once it is passed that, it is reasonably okay.

After susppend it's pretty much the same, where it sometimes works reasonably fast, other times can take a minute for USB to start working again.

(log after a reasonable fast working USB):
[156101.125279] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[156101.333046] usb 2-3: device not accepting address 31, error -62
[156106.760787] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[156112.132656] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[156112.340618] usb 2-3: device not accepting address 32, error -62
[156112.488616] usb 1-1: new high-speed USB device number 29 using xhci_hcd
[156112.628974] usb 1-1: New USB device found, idVendor=0451, idProduct=8142
[156112.628978] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[156112.628979] usb 1-1: SerialNumber: 54012851532D
[156112.629338] hub 1-1:1.0: USB hub found
[156112.629394] hub 1-1:1.0: 4 ports detected
[156118.020473] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[156123.396195] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[156123.604194] usb 2-3: device not accepting address 33, error -62
[156123.632194] usb usb2-port3: unable to enumerate USB device
[156123.632270] xhci_hcd 0000:00:14.0: Stop endpoint command completion for disabled slot 15

I do not have OSX installed on the NVMe disk anymore, but on an external USB3 drive, using the built in bootloader (via option/alt) is as tedious as systemd-boot (or grub2).

The bootloader is still the stock one, I have the one partition, that is fat formatted, where I have systemd-boot installed on.

Booting OSX from the external drive takes quite a while to get past the first bit, but is fine after the OS loads its usb driver. I dont' do this often, but haven't noticed any slowdowns or strange USB behaviour there. I'll double check and will respond if it is slow there too.

As a consequence, the built in card-reader does not work in linux (works fine in OSX), which isn't fully surprising as it is a USB based one.

So somehow, it seems linux is breaking the XHCI controller which is persistent through power off.