Mac UEFI boot 24x slower keyboard/touchpad troubled

Bug #1572739 reported by Richard
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

When rebooting after a Linux session, the UEFI and grub boots are extremely slow and the process takes 3 minutes
- As soon as the kernel boots, ie. luks input, everything is fine again
- OS X boot and option-boot is slow too, fast after FileVault password input
- Internal keyboard and touchpad is extremely slow, like 30 s per key press.
- Plug in usb keyboard and mouse: works fine, while the internals are still slow

After an OS X ession upgrading to 10.11.04, the boot got fast again
- After the net Linux session, back to slow

Impact: boot takes 3 minutes

get-around: lots of patience, possibly use of external usb keyboard

first discovered on 15.10, exists on 16.04

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-21-generic 4.4.0-21.37
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Wed Apr 20 14:29:51 2016
HibernationDevice: RESUME=/dev/mapper/C89-SWAP
MachineType: Apple Inc. MacBookPro12,1
ProcEnviron:
 SHELL=/bin/bash
 TERM=xterm-256color
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LANGUAGE=en_US.UTF-8
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-21-generic.efi.signed root=/dev/mapper/C89-RFS ro quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-21-generic N/A
 linux-backports-modules-4.4.0-21-generic N/A
 linux-firmware 1.157
SourcePackage: linux
UpgradeStatus: Upgraded to xenial on 2016-04-19 (1 days ago)
dmi.bios.date: 10/26/2015
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP121.88Z.0167.B15.1510261437
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.B15.1510261437:bd10/26/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.

Revision history for this message
Richard (ismail-a) wrote :
Revision history for this message
Richard (ismail-a) wrote :

Device is

lsusb
ID 05ac:0273 Apple, Inc.

lshw
              *-usb:3
                   description: Human interface device
                   product: Apple Internal Keyboard / Trackpad
                   vendor: Apple Inc.
                   physical id: 5
                   bus info: usb@1:5
                   version: 6.22
                   capabilities: usb-2.00
                   configuration: driver=usbhid maxpower=500mA speed=12Mbit/s

Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Richard (ismail-a) wrote :

Some more silly info

each keypress takes 7 - 20 s from key down to effect
In the grub menu a grub second is 11 s wall time

Sometimes the external mouse is bad, too. As in nowhere to be found. Then there will be nothing but patience.

Revision history for this message
Richard (ismail-a) wrote :

When you reboot using
sudo reboot
- boot is fast!

When you reboot using 4-second power button press, because Ubuntu froze
- boot is slow!

So this depends on how the computer is shut down.

Revision history for this message
Richard (ismail-a) wrote :

When the external mouse is in a bad state on boot, it has no power

When in a bad state and you re-plug it while in the option-boot menu, it gets power (ie. the red LED is now on)
- but it does not start working

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.6 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-rc6-wily/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
moimael (moimael) wrote :

I have the same issue with kernel 4.11.1, very slow keypress on boot but if I reboot from the interface, it works as intended

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Can you file an upstream bug at https://bugzilla.kernel.org?

Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Kostas Chatzikokolakis (kostas-chatzi) wrote :

I had almost the exact issue described in this bug (the only exception being that in my case the internal keyboard was slow no matter what), and it was completely fixed after the macOS 10.12.4 update.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

@moimael, do you keep your macOS in the machine? Can you update macOS as Kostas suggested?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.