Public bug reported:

Running Ubuntu 18.04 / Mac OS High Sierra Dual Boot on Macbook Pro 11,1.
I've had a long standing kernel problem, that is still present for
Ubuntu's linux-generic 4.15.0-34 kernel.

Since roughly December the system has two kinds of boots: good and bad.
I had been running 16.04 until a few days ago. I was hoping an 18.04
update would get rid of this problem. The problem remains, both with the
canonical's 4.15 generic kernel and the 4.19 rc4 kernel. I even updated
Mac OS to High Sierra in hopes that would update any potential firmware
updates might resolve the issue.

No dice. Hope this bug report can get the ball rolling.

The Boots--------------
Good Boot:
5 seconds from power on chime to refind bootmanager, 5 seconds to kernel space, 
10-15 userspace.
Bad Boot:
it takes about 20-30 to get to my boot manager after I select the kernel to 
use, it takes roughly 50 seconds, most of that time is spent with the kernel 
trying to assign an address to usb 2-3: my computer's SD Card Reader. Something 
prevents it from doing so and it gives up after trying all 4 usb ports twice. 
(Eats 40 seconds).

On a Good Boot the SD Card Reader works just fine. On a Bad Boot it is
completely nonfunctional.

When are Good Boot and Bad Boots?-------------
Cold Reboots are always Bad.
After a Bad Boot, a warm reboot is always Good.
A warm reboot after a Good boot is always Bad.

I've compared the dmesg logs between the different boots and they are
quite different. Something in the shutdown/reboot process is really
altering how the kernel behaves. Since the slowdown starts before the
boot manager I've been suspicious of the EFI. Checking EFI variables
between these two boots shows an EFI variable is present after a good
boot that is not present after a bad boot: usb-cr-rec-7c436110-ab2a-
4bbb-a880-fe41995c9f82. This appears to be a Mac specific setting. I
don't know what it does, but I can confirm that speeds up the boot
process when present, regardless of which operating system I boot.

I'm aware this might be an EFI issue that I might have to talk to Apple
about. However, Apple's kernel seems to handle the SD card reader
gracefully, rather than leave a 40 unresponsive blank screen whilst
booting.

I have attached the slow boot dmesg logs for Canonical's 4.15.0-34
kernel. The big gaps of kernel time are generally accompanied by lines
like

usb 2-3: device not accepting address 4, error -62.

I'd like to attach files for for current 4.15 Ubuntu and 4.19 Mainline fast and 
slow boots, but there
only seems to be one attachment allowed. 

General info
==========
uname -all
==========

Linux james-MacBookPro 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27
15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

==========
lspci -vvnn
==========

00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller 
[8086:0a04] (rev 09)
        Subsystem: Apple Inc. Haswell-ULT DRAM Controller [106b:011a]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ >SERR- <PERR- INTx-
        Latency: 0
        Capabilities: <access denied>
        Kernel driver in use: hsw_uncore

00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT 
Integrated Graphics Controller [8086:0a2e] (rev 09) (prog-if 00 [VGA 
controller])
        Subsystem: Apple Inc. Haswell-ULT Integrated Graphics Controller 
[106b:011a]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 65
        Region 0: Memory at b0000000 (64-bit, non-prefetchable) [size=4M]
        Region 2: Memory at a0000000 (64-bit, prefetchable) [size=256M]
        Region 4: I/O ports at 2000 [size=64]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller 
[8086:0a0c] (rev 09)
        Subsystem: Apple Inc. Haswell-ULT HD Audio Controller [106b:011a]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 69
        Region 0: Memory at b0a10000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC 
[8086:9c31] (rev 04) (prog-if 30 [XHCI])
        Subsystem: Intel Corporation Apple MacBookAir6,2 / MacBookPro11,1 
[8086:7270]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 48
        Region 0: Memory at b0a00000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd

00:16.0 Communication controller [0780]: Intel Corporation 8 Series HECI #0 
[8086:9c3a] (rev 04)
        Subsystem: Intel Corporation 8 Series HECI [8086:7270]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 66
        Region 0: Memory at b0a2a100 (64-bit, non-prefetchable) [size=32]
        Capabilities: <access denied>
        Kernel driver in use: mei_me
        Kernel modules: mei_me

00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller 
[8086:9c20] (rev 04)
        Subsystem: Intel Corporation 8 Series HD Audio Controller [8086:7270]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 68
        Region 0: Memory at b0a14000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 1 
[8086:9c10] (rev e4) (prog-if 00 [Normal decode])
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 16
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 2 
[8086:9c12] (rev e4) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin B routed to IRQ 17
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Memory behind bridge: b0800000-b09fffff
        Prefetchable memory behind bridge: 0000000090000000-000000009fffffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 3 
[8086:9c14] (rev e4) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin C routed to IRQ 18
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        Memory behind bridge: b0400000-b06fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.4 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 5 
[8086:9c18] (rev e4) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 16
        Bus: primary=00, secondary=05, subordinate=9b, sec-latency=0
        I/O behind bridge: 00003000-00005fff
        Memory behind bridge: b0b00000-bcbfffff
        Prefetchable memory behind bridge: 00000000bcc00000-00000000c8bfffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.5 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 6 
[8086:9c1a] (rev e4) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin B routed to IRQ 17
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        Memory behind bridge: b0700000-b07fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1f.0 ISA bridge [0601]: Intel Corporation 8 Series LPC Controller 
[8086:9c43] (rev 04)
        Subsystem: Intel Corporation 8 Series LPC Controller [8086:7270]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Capabilities: <access denied>
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich

00:1f.3 SMBus [0c05]: Intel Corporation 8 Series SMBus Controller [8086:9c22] 
(rev 04)
        Subsystem: Intel Corporation 8 Series SMBus Controller [8086:7270]
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin C routed to IRQ 0
        Region 0: Memory at b0a2a000 (64-bit, non-prefetchable) [size=256]
        Region 4: I/O ports at efa0 [size=32]
        Kernel modules: i2c_i801

02:00.0 Multimedia controller [0480]: Broadcom Limited 720p FaceTime HD Camera 
[14e4:1570]
        Subsystem: Broadcom Limited 720p FaceTime HD Camera [14e4:1570]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 67
        Region 0: Memory at b0900000 (64-bit, non-prefetchable) [size=64K]
        Region 2: Memory at 90000000 (64-bit, prefetchable) [size=256M]
        Region 4: Memory at b0800000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: bdc-pci
        Kernel modules: bdc_pci

03:00.0 Network controller [0280]: Broadcom Limited BCM4360 802.11ac Wireless 
Network Adapter [14e4:43a0] (rev 03)
        Subsystem: Apple Inc. BCM4360 802.11ac Wireless Network Adapter 
[106b:0112]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at b0600000 (64-bit, non-prefetchable) [size=32K]
        Region 2: Memory at b0400000 (64-bit, non-prefetchable) [size=2M]
        Capabilities: <access denied>
        Kernel driver in use: wl
        Kernel modules: bcma, wl

04:00.0 SATA controller [0106]: Samsung Electronics Co Ltd Apple PCIe SSD 
[144d:1600] (rev 01) (prog-if 01 [AHCI 1.0])
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 16
        Region 5: Memory at b0700000 (32-bit, non-prefetchable) [size=8K]
        Expansion ROM at b0710000 [disabled] [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: ahci
        Kernel modules: ahci

05:00.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge 
[Falcon Ridge 4C 2013] [8086:156d] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 42
        Bus: primary=05, secondary=06, subordinate=6b, sec-latency=0
        I/O behind bridge: 00003000-00004fff
        Memory behind bridge: b0b00000-b8bfffff
        Prefetchable memory behind bridge: 00000000bcc00000-00000000c4bfffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

06:00.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge 
[Falcon Ridge 4C 2013] [8086:156d] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 43
        Bus: primary=06, secondary=07, subordinate=07, sec-latency=0
        Memory behind bridge: b0b00000-b0bfffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

06:03.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge 
[Falcon Ridge 4C 2013] [8086:156d] (prog-if 00 [Normal decode])
        Physical Slot: 2
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 44
        Bus: primary=06, secondary=08, subordinate=38, sec-latency=0
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: b0c00000-b4bfffff
        Prefetchable memory behind bridge: 00000000bcc00000-00000000c0bfffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

06:04.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge 
[Falcon Ridge 4C 2013] [8086:156d] (prog-if 00 [Normal decode])
        Physical Slot: 3
        Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 45
        Bus: primary=06, secondary=39, subordinate=39, sec-latency=0
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

06:05.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge 
[Falcon Ridge 4C 2013] [8086:156d] (prog-if 00 [Normal decode])
        Physical Slot: 4
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 46
        Bus: primary=06, secondary=3a, subordinate=6a, sec-latency=0
        I/O behind bridge: 00004000-00004fff
        Memory behind bridge: b4c00000-b8bfffff
        Prefetchable memory behind bridge: 00000000c0c00000-00000000c4bfffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

06:06.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge 
[Falcon Ridge 4C 2013] [8086:156d] (prog-if 00 [Normal decode])
        Physical Slot: 5
        Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 47
        Bus: primary=06, secondary=6b, subordinate=6b, sec-latency=0
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

07:00.0 System peripheral [0880]: Intel Corporation DSL5520 Thunderbolt 2 NHI 
[Falcon Ridge 4C 2013] [8086:156c]
        Subsystem: Device [2222:1111]
        Physical Slot: 0
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at b0b00000 (32-bit, non-prefetchable) [size=256K]
        Region 1: Memory at b0b40000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: thunderbolt
        Kernel modules: thunderbolt

============
lshw
============

james-macbookpro
    description: Notebook
    product: MacBookPro11,1 (System SKU#)
    vendor: Apple Inc.
    version: 1.0
    serial: C02ND8GCG3QJ
    width: 64 bits
    capabilities: smbios-2.4 dmi-2.4 smp vsyscall32
    configuration: boot=normal chassis=notebook family=Mac sku=System SKU# 
uuid=9D0506A0-9B76-9351-B29D-5D0996CF86AF
  *-core
       description: Motherboard
       product: Mac-189A3D4F975D5FFC
       vendor: Apple Inc.
       physical id: 0
       version: MacBookPro11,1
       serial: C0243660BG3G3LH1S
       slot: Part Component
     *-cpu
          description: CPU
          product: Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
          vendor: Intel Corp.
          physical id: 0
          bus info: cpu@0
          version: Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
          serial: To Be Filled By O.E.M.
          slot: U3E1
          size: 3099MHz
          capacity: 3100MHz
          width: 64 bits
          clock: 25MHz
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 
apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht 
tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc arch_perfmon pebs bts 
rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 
monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 
x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 
cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi 
flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid 
xsaveopt dtherm ida arat pln pts flush_l1d cpufreq
        *-cache:0
             description: L1 cache
             physical id: 2
             size: 64KiB
             capacity: 64KiB
             capabilities: asynchronous internal write-back instruction
             configuration: level=1
        *-cache:1
             description: L2 cache
             physical id: 3
             size: 512KiB
             capacity: 512KiB
             capabilities: asynchronous internal write-back unified
             configuration: level=2
        *-cache:2
             description: L3 cache
             physical id: 4
             size: 3MiB
             capacity: 3MiB
             capabilities: asynchronous internal write-back unified
             configuration: level=3
     *-cache
          description: L1 cache
          physical id: 1
          size: 64KiB
          capacity: 64KiB
          capabilities: asynchronous internal write-back data
          configuration: level=1
     *-memory
          description: System Memory
          physical id: 5
          slot: System board or motherboard
          size: 8GiB
        *-bank:0
             description: SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)
             product: 0x000000000000000000000000000000000000
             vendor: AMI
             physical id: 0
             serial: 0x00000000
             slot: DIMM0
             size: 4GiB
             clock: 1600MHz (0.6ns)
        *-bank:1
             description: SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)
             product: 0x000000000000000000000000000000000000
             vendor: AMI
             physical id: 1
             serial: 0x00000000
             slot: DIMM0
             size: 4GiB
             clock: 1600MHz (0.6ns)
     *-firmware:0
          description: BIOS
          vendor: Apple Inc.
          physical id: b
          version: MBP111.88Z.0146.B00.1804111138
          date: 04/11/2018
          size: 1MiB
          capacity: 8128KiB
          capabilities: pci upgrade shadowing cdboot bootselect acpi 
ieee1394boot smartbattery netboot
     *-firmware:1
          description: BIOS
          physical id: 2fdd
          size: 1019KiB
          capabilities: pcmcia
     *-pci
          description: Host bridge
          product: Haswell-ULT DRAM Controller
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 09
          width: 32 bits
          clock: 33MHz
          configuration: driver=hsw_uncore
          resources: irq:0
        *-display
             description: VGA compatible controller
             product: Haswell-ULT Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 09
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:65 memory:b0000000-b03fffff 
memory:a0000000-afffffff ioport:2000(size=64) memory:c0000-dffff
        *-multimedia:0
             description: Audio device
             product: Haswell-ULT HD Audio Controller
             vendor: Intel Corporation
             physical id: 3
             bus info: pci@0000:00:03.0
             version: 09
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress bus_master cap_list
             configuration: driver=snd_hda_intel latency=0
             resources: irq:69 memory:b0a10000-b0a13fff
        *-usb
             description: USB controller
             product: 8 Series USB xHCI HC
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:48 memory:b0a00000-b0a0ffff
           *-usbhost:0
                product: xHCI Host Controller
                vendor: Linux 4.15.0-34-generic xhci-hcd
                physical id: 0
                bus info: usb@1
                logical name: usb1
                version: 4.15
                capabilities: usb-2.00
                configuration: driver=hub slots=9 speed=480Mbit/s
              *-usb:0
                   description: USB hub
                   product: BRCM20702 Hub
                   vendor: Apple Inc.
                   physical id: 3
                   bus info: usb@1:3
                   version: 1.00
                   capabilities: usb-2.00
                   configuration: driver=hub maxpower=94mA slots=3 
speed=12Mbit/s
                 *-usb
                      description: Bluetooth wireless interface
                      product: Bluetooth USB Host Controller
                      vendor: Apple Inc.
                      physical id: 3
                      bus info: usb@1:3.3
                      version: 1.44
                      capabilities: usb-2.00 bluetooth
                      configuration: driver=btusb speed=12Mbit/s
              *-usb:1
                   description: Keyboard
                   product: Apple Internal Keyboard / Trackpad
                   vendor: Apple Inc.
                   physical id: 5
                   bus info: usb@1:5
                   version: 2.24
                   capabilities: usb-2.00
                   configuration: driver=bcm5974 maxpower=40mA speed=12Mbit/s
           *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 4.15.0-34-generic xhci-hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 4.15
                capabilities: usb-3.00
                configuration: driver=hub slots=4 speed=5000Mbit/s
              *-usb
                   description: Mass storage device
                   product: Card Reader
                   vendor: Apple
                   physical id: 3
                   bus info: usb@2:3
                   logical name: scsi1
                   version: 8.20
                   serial: 000000000820
                   capabilities: usb-3.00 scsi emulated scsi-host
                   configuration: driver=usb-storage maxpower=896mA 
speed=5000Mbit/s
                 *-disk
                      description: SCSI Disk
                      product: SD Card Reader
                      vendor: APPLE
                      physical id: 0.0.0
                      bus info: scsi@1:0.0.0
                      logical name: /dev/sdb
                      version: 3.00
                      serial: 000000000820
                      capabilities: removable
                      configuration: ansiversion=6 logicalsectorsize=512 
sectorsize=512
                    *-medium
                         physical id: 0
                         logical name: /dev/sdb
        *-communication
             description: Communication controller
             product: 8 Series HECI #0
             vendor: Intel Corporation
             physical id: 16
             bus info: pci@0000:00:16.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=mei_me latency=0
             resources: irq:66 memory:b0a2a100-b0a2a11f
        *-multimedia:1
             description: Audio device
             product: 8 Series HD Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress bus_master cap_list
             configuration: driver=snd_hda_intel latency=0
             resources: irq:68 memory:b0a14000-b0a17fff
        *-pci:0
             description: PCI bridge
             product: 8 Series PCI Express Root Port 1
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: e4
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode cap_list
             configuration: driver=pcieport
             resources: irq:16
        *-pci:1
             description: PCI bridge
             product: 8 Series PCI Express Root Port 2
             vendor: Intel Corporation
             physical id: 1c.1
             bus info: pci@0000:00:1c.1
             version: e4
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master 
cap_list
             configuration: driver=pcieport
             resources: irq:17 memory:b0800000-b09fffff 
ioport:90000000(size=268435456)
           *-multimedia
                description: Multimedia controller
                product: 720p FaceTime HD Camera
                vendor: Broadcom Limited
                physical id: 0
                bus info: pci@0000:02:00.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=bdc-pci latency=0
                resources: irq:67 memory:b0900000-b090ffff 
memory:90000000-9fffffff memory:b0800000-b08fffff
        *-pci:2
             description: PCI bridge
             product: 8 Series PCI Express Root Port 3
             vendor: Intel Corporation
             physical id: 1c.2
             bus info: pci@0000:00:1c.2
             version: e4
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master 
cap_list
             configuration: driver=pcieport
             resources: irq:18 memory:b0400000-b06fffff
           *-network
                description: Wireless interface
                product: BCM4360 802.11ac Wireless Network Adapter
                vendor: Broadcom Limited
                physical id: 0
                bus info: pci@0000:03:00.0
                logical name: wlp3s0
                version: 03
                serial: 6c:40:08:8b:21:66
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list ethernet 
physical wireless
                configuration: broadcast=yes driver=wl0 
driverversion=6.30.223.271 (r587334) ip=192.168.1.136 latency=0 multicast=yes 
wireless=IEEE 802.11
                resources: irq:18 memory:b0600000-b0607fff 
memory:b0400000-b05fffff
        *-pci:3
             description: PCI bridge
             product: 8 Series PCI Express Root Port 5
             vendor: Intel Corporation
             physical id: 1c.4
             bus info: pci@0000:00:1c.4
             version: e4
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master 
cap_list
             configuration: driver=pcieport
             resources: irq:16 ioport:3000(size=12288) memory:b0b00000-bcbfffff 
ioport:bcc00000(size=201326592)
           *-pci
                description: PCI bridge
                product: DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
                vendor: Intel Corporation
                physical id: 0
                bus info: pci@0000:05:00.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pci pm msi pciexpress normal_decode bus_master 
cap_list
                configuration: driver=pcieport
                resources: irq:42 ioport:3000(size=8192) 
memory:b0b00000-b8bfffff ioport:bcc00000(size=134217728)
              *-pci:0
                   description: PCI bridge
                   product: DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
                   vendor: Intel Corporation
                   physical id: 0
                   bus info: pci@0000:06:00.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm msi pciexpress normal_decode bus_master 
cap_list
                   configuration: driver=pcieport
                   resources: irq:43 memory:b0b00000-b0bfffff
                 *-generic
                      description: System peripheral
                      product: DSL5520 Thunderbolt 2 NHI [Falcon Ridge 4C 2013]
                      vendor: Intel Corporation
                      physical id: 0
                      bus info: pci@0000:07:00.0
                      version: 00
                      width: 32 bits
                      clock: 33MHz
                      capabilities: pm msi pciexpress msix bus_master cap_list
                      configuration: driver=thunderbolt latency=0
                      resources: irq:16 memory:b0b00000-b0b3ffff 
memory:b0b40000-b0b40fff
              *-pci:1
                   description: PCI bridge
                   product: DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
                   vendor: Intel Corporation
                   physical id: 3
                   bus info: pci@0000:06:03.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm msi pciexpress normal_decode bus_master 
cap_list
                   configuration: driver=pcieport
                   resources: irq:44 ioport:3000(size=4096) 
memory:b0c00000-b4bfffff ioport:bcc00000(size=67108864)
              *-pci:2
                   description: PCI bridge
                   product: DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
                   vendor: Intel Corporation
                   physical id: 4
                   bus info: pci@0000:06:04.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm msi pciexpress normal_decode bus_master 
cap_list
                   configuration: driver=pcieport
                   resources: irq:45
              *-pci:3
                   description: PCI bridge
                   product: DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
                   vendor: Intel Corporation
                   physical id: 5
                   bus info: pci@0000:06:05.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm msi pciexpress normal_decode bus_master 
cap_list
                   configuration: driver=pcieport
                   resources: irq:46 ioport:4000(size=4096) 
memory:b4c00000-b8bfffff ioport:c0c00000(size=67108864)
              *-pci:4
                   description: PCI bridge
                   product: DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
                   vendor: Intel Corporation
                   physical id: 6
                   bus info: pci@0000:06:06.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm msi pciexpress normal_decode bus_master 
cap_list
                   configuration: driver=pcieport
                   resources: irq:47
        *-pci:4
             description: PCI bridge
             product: 8 Series PCI Express Root Port 6
             vendor: Intel Corporation
             physical id: 1c.5
             bus info: pci@0000:00:1c.5
             version: e4
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master 
cap_list
             configuration: driver=pcieport
             resources: irq:17 memory:b0700000-b07fffff
           *-storage
                description: SATA controller
                product: Apple PCIe SSD
                vendor: Samsung Electronics Co Ltd
                physical id: 0
                bus info: pci@0000:04:00.0
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: storage pm msi pciexpress vpd ahci_1.0 bus_master 
cap_list rom
                configuration: driver=ahci latency=0
                resources: irq:16 memory:b0700000-b0701fff 
memory:b0710000-b071ffff
        *-isa
             description: ISA bridge
             product: 8 Series LPC Controller
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
             configuration: driver=lpc_ich latency=0
             resources: irq:0
        *-serial UNCLAIMED
             description: SMBus
             product: 8 Series SMBus Controller
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 04
             width: 64 bits
             clock: 33MHz
             configuration: latency=0
             resources: memory:b0a2a000-b0a2a0ff ioport:efa0(size=32)
     *-scsi
          physical id: 2
          logical name: scsi0
          capabilities: emulated
        *-disk
             description: ATA Disk
             product: APPLE SSD SM0256
             physical id: 0.0.0
             bus info: scsi@0:0.0.0
             logical name: /dev/sda
             version: JA1Q
             serial: S1K4NYCF708901
             size: 233GiB (251GB)
             capabilities: gpt-1.00 partitioned partitioned:gpt
             configuration: ansiversion=5 
guid=fc4622f2-1e6b-4a35-b15f-088ffb5af151 logicalsectorsize=512 sectorsize=4096
           *-volume:0 UNCLAIMED
                description: Windows FAT volume
                vendor: BSD  4.4
                physical id: 1
                bus info: scsi@0:0.0.0,1
                version: FAT32
                serial: 67e3-17ed
                size: 199MiB
                capacity: 199MiB
                capabilities: boot fat initialized
                configuration: FATs=2 filesystem=fat label=EFI name=EFI System 
Partition
           *-volume:1
                description: EFI partition
                physical id: 2
                bus info: scsi@0:0.0.0,2
                logical name: /dev/sda2
                serial: 8b8ff1f4-5b6b-4cb6-914b-a76487d89854
                capacity: 74GiB
                configuration: name=Macintosh HD
           *-volume:2
                description: Apple HFS+ partition
                vendor: Mac OS X (journaled)
                physical id: 3
                bus info: scsi@0:0.0.0,3
                logical name: /dev/sda3
                version: 4
                serial: 645d43ef-fa13-272e-0000-000000005000
                size: 619MiB
                capabilities: journaled bootable macos hfsplus initialized
                configuration: checked=2014-06-28 03:27:25 created=2014-06-28 
01:27:25 filesystem=hfsplus lastmountedby=HFSJ modified=2018-09-22 20:28:56 
state=clean
           *-volume:3
                description: EXT4 volume
                vendor: Linux
                physical id: 4
                bus info: scsi@0:0.0.0,4
                logical name: /dev/sda4
                logical name: /
                version: 1.0
                serial: 2c0cd3fc-7b45-40bc-a5ae-f65e2bb2f6a0
                size: 27GiB
                capabilities: journaled extended_attributes large_files 
huge_files dir_nlink recover extents ext4 ext2 initialized
                configuration: created=2017-05-05 13:23:45 filesystem=ext4 
lastmountpoint=/ modified=2018-09-23 02:55:53 mount.fstype=ext4 
mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2018-09-23 
02:55:53 state=mounted
           *-volume:4
                description: EXT4 volume
                vendor: Linux
                physical id: 5
                bus info: scsi@0:0.0.0,5
                logical name: /dev/sda5
                logical name: /home
                version: 1.0
                serial: 076c0f69-7453-4aca-a749-11eae3ea27ff
                size: 122GiB
                capabilities: journaled extended_attributes large_files 
huge_files dir_nlink recover extents ext4 ext2 initialized
                configuration: created=2017-05-05 13:23:45 filesystem=ext4 
lastmountpoint=/home modified=2018-09-23 02:55:55 mount.fstype=ext4 
mount.options=rw,relatime,data=ordered mounted=2018-09-23 02:55:55 state=mounted
           *-volume:5
                description: Linux swap volume
                vendor: Linux
                physical id: 6
                bus info: scsi@0:0.0.0,6
                logical name: /dev/sda6
                version: 1
                serial: ab34572c-bf69-46d3-987d-d70f48620a5f
                size: 7627MiB
                capacity: 7628MiB
                capabilities: nofs swap initialized
                configuration: filesystem=swap pagesize=4095
  *-network
       description: Ethernet interface
       physical id: 1
       logical name: docker0
       serial: 02:42:34:e0:f9:2f
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 
firmware=N/A ip=172.17.0.1 link=no multicast=yes

** Affects: linux-meta (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "The Dmesg output of a slow boot"
   
https://bugs.launchpad.net/bugs/1794641/+attachment/5193477/+files/4.15.0-34-slowboot-dmesg.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1794641

Title:
  Slow boot caused by unresponsive internal sd card reader

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/1794641/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to