We use a self encrypting SSD (SED) as external storage (connected to the M.2 slot). This SSD does not contain any data, but UEFI crashes during boot. When enabling the logging for the UEFI binary, there is not one specific error/moment when the crash occurs. When disabling the PCIe controller in UEFI (PcieControllerDxe), UEFI doesn’t crash anymore but the boot crashes often in the Linux kernel, and when it doesn’t crash, the SSD drive isn’t available (see last log).
Are there specific configurations that have to be enabled for SED support? The SSD we use uses the TCG OPAL 2.0 protocol.
In the linux kernel, it often crashes during the PCIe initialization (these are the last logs):
[ 3.906169] Bluetooth: RFCOMM socket layer initialized
[ 3.910456] Bluetooth: RFCOMM ver 1.11
[ 3.913987] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 3.919985] Bluetooth: HIDP socket layer initialized
[ 3.926208] 9pnet: Installing 9P2000 support
[ 3.929525] Key type dns_resolver registered
[ 3.935146] registered taskstats version 1
[ 3.937979] Loading compiled-in X.509 certificates
[ 3.942875] Key type ._fscrypt registered
[ 3.946620] Key type .fscrypt registered
[ 3.950814] Key type fscrypt-provisioning registered
[ 3.957898] tegra194-pcie 14180000.pcie: Adding to iommu group 7
[ 3.968588] tegra194-pcie 14180000.pcie: host bridge /pcie@14180000 ranges:
[ 3.969054] tegra194-pcie 14180000.pcie: IO 0x0038100000..0x00381fffff -> 0x0038100000
[ 3.977236] tegra194-pcie 14180000.pcie: MEM 0x1800000000..0x1b3fffffff -> 0x1800000000
[ 3.985653] tegra194-pcie 14180000.pcie: MEM 0x1b40000000..0x1bffffffff -> 0x0040000000
Sometimes, there is no crash during the boot, but the SSD isn’t recognised. The following errors are shown in the logs:
[ 4.082859] tegra194-pcie 14100000.pcie: Adding to iommu group 8
[ 4.085097] tegra194-pcie 14100000.pcie: host bridge /pcie@14100000 ranges:
[ 4.085364] tegra194-pcie 14100000.pcie: IO 0x0030100000..0x00301fffff -> 0x0030100000
[ 4.085621] tegra194-pcie 14100000.pcie: MEM 0x1200000000..0x122fffffff -> 0x1200000000
[ 4.085869] tegra194-pcie 14100000.pcie: MEM 0x1230000000..0x123fffffff -> 0x0040000000
[ 4.103456] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.103707] pcieport 0000:00:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 4.107843] pcieport 0000:00:00.0: device [10de:1ad0] error status/mask=00000001/0000e000
[ 4.116239] pcieport 0000:00:00.0: [ 0] RxErr (First)
[ 4.123158] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.131031] pcieport 0000:00:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 4.140749] pcieport 0000:00:00.0: device [10de:1ad0] error status/mask=00000001/0000e000
[ 4.148949] pcieport 0000:00:00.0: [ 0] RxErr (First)
[ 4.155540] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.163748] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.169948] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.177758] pcieport 0000:00:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 4.187465] pcieport 0000:00:00.0: device [10de:1ad0] error status/mask=00000001/0000e000
[ 4.196129] pcieport 0000:00:00.0: [ 0] RxErr (First)
[ 4.202883] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.210945] pcieport 0000:00:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 4.220633] pcieport 0000:00:00.0: device [10de:1ad0] error status/mask=00000001/0000e000
[ 4.229016] pcieport 0000:00:00.0: [ 0] RxErr (First)
[ 4.235754] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.242845] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.249053] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.256656] pcieport 0000:00:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 4.266125] pcieport 0000:00:00.0: device [10de:1ad0] error status/mask=00000001/0000e000
[ 4.274442] pcieport 0000:00:00.0: [ 0] RxErr (First)
[ 4.281448] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.289477] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.295515] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.303936] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.310163] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.318028] pcieport 0000:00:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 4.327904] pcieport 0000:00:00.0: device [10de:1ad0] error status/mask=00000001/0000e000
[ 4.336213] pcieport 0000:00:00.0: [ 0] RxErr (First)
[ 4.342811] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.350142] pcieport 0000:00:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 4.360008] pcieport 0000:00:00.0: device [10de:1ad0] error status/mask=00000001/0000e000
[ 4.368440] pcieport 0000:00:00.0: [ 0] RxErr (First)
[ 4.374889] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.382535] pcieport 0000:00:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 4.391894] pcieport 0000:00:00.0: device [10de:1ad0] error status/mask=00000001/0000e000
[ 4.400458] pcieport 0000:00:00.0: [ 0] RxErr (First)
[ 4.407265] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.415458] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.421623] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.428908] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.435220] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.442262] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.448555] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.456609] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.463108] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.470429] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.476751] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.483745] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.490026] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.498344] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.504375] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.511903] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.517941] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.525474] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.531505] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.539572] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.545855] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.553386] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.559696] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.566700] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.572980] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.581301] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.587594] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.594853] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.600923] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.608414] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.614472] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.621998] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.628017] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.636330] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.642624] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.650431] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.656715] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.664242] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.670280] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.678334] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.684892] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.692684] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.699239] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.706247] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.712811] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.720854] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.727147] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.734171] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.740472] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.747977] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.754290] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
[ 4.761541] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.767835] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
[ 4.775660] pcieport 0000:00:00.0: AER: can't find device of ID0000
[ 4.782188] pcieport 0000:00:00.0: AER: Uncorrected (Fatal) error received: 0000:00:00.0
[ 4.789998] pcieport 0000:00:00.0: PCIe Bus Error: severity=Uncorrected (Fatal), type=Transaction Layer, (Receiver ID)
[ 4.800773] pcieport 0000:00:00.0: device [10de:1ad0] error status/mask=00000020/00400000
[ 4.809072] pcieport 0000:00:00.0: [ 5] SDES (First)
[ 5.203386] tegra194-pcie 14100000.pcie: Phy link never came up
[ 5.203843] tegra194-pcie 14100000.pcie: PCI host bridge to bus 0001:00
[ 5.204001] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 5.204142] pci_bus 0001:00: root bus resource [io 0x100000-0x1fffff] (bus address [0x30100000-0x301fffff])
[ 5.204341] pci_bus 0001:00: root bus resource [mem 0x1200000000-0x122fffffff pref]
[ 5.204497] pci_bus 0001:00: root bus resource [mem 0x1230000000-0x123fffffff] (bus address [0x40000000-0x4fffffff])
[ 5.204789] pci 0001:00:00.0: [10de:1ad2] type 01 class 0x060400
[ 5.205105] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[ 5.215409] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[ 5.215714] pci 0001:00:00.0: Max Payload Size set to 256/ 256 (was 256), Max Read Rq 512
[ 5.216637] pcieport 0001:00:00.0: Adding to iommu group 8
[ 5.217217] pcieport 0001:00:00.0: PME: Signaling with IRQ 26
[ 5.217880] pcieport 0001:00:00.0: AER: enabled with IRQ 26
[ 5.218593] pci_bus 0001:01: busn_res: [bus 01-ff] is released
[ 5.219168] pci 0001:00:00.0: Removing from iommu group 8
[ 5.219494] pci_bus 0001:00: busn_res: [bus 00-ff] is released
[ 5.220875] tegra194-pcie 14140000.pcie: Adding to iommu group 9
[ 5.226949] tegra194-pcie 14140000.pcie: host bridge /pcie@14140000 ranges:
[ 5.231903] tegra194-pcie 14140000.pcie: IO 0x0034100000..0x00341fffff -> 0x0034100000
[ 5.240326] tegra194-pcie 14140000.pcie: MEM 0x1280000000..0x12afffffff -> 0x1280000000
[ 5.248964] tegra194-pcie 14140000.pcie: MEM 0x12b0000000..0x12bfffffff -> 0x0040000000
[ 5.363486] tegra194-pcie 14140000.pcie: Link up
[ 5.365693] tegra194-pcie 14140000.pcie: PCI host bridge to bus 0003:00
[ 5.365890] pci_bus 0003:00: root bus resource [bus 00-ff]
[ 5.366036] pci_bus 0003:00: root bus resource [io 0x200000-0x2fffff] (bus address [0x34100000-0x341fffff])
[ 5.366284] pci_bus 0003:00: root bus resource [mem 0x1280000000-0x12afffffff pref]
[ 5.366533] pci_bus 0003:00: root bus resource [mem 0x12b0000000-0x12bfffffff] (bus address [0x40000000-0x4fffffff])
[ 5.366892] pci 0003:00:00.0: [10de:1ad2] type 01 class 0x060400
[ 5.367293] pci 0003:00:00.0: PME# supported from D0 D3hot D3cold
[ 5.375602] pci 0003:01:00.0: [8086:15f2] type 00 class 0x020000
[ 5.375951] pci 0003:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 5.376323] pci 0003:01:00.0: reg 0x1c: [mem 0x00000000-0x00003fff]
[ 5.377536] pci 0003:01:00.0: PME# supported from D0 D3hot D3cold
[ 5.385764] pci 0003:00:00.0: BAR 14: assigned [mem 0x12b0000000-0x12b01fffff]
[ 5.385999] pci 0003:01:00.0: BAR 0: assigned [mem 0x12b0000000-0x12b00fffff]
[ 5.386252] pci 0003:01:00.0: BAR 3: assigned [mem 0x12b0100000-0x12b0103fff]
[ 5.386539] pci 0003:00:00.0: PCI bridge to [bus 01-ff]
[ 5.386701] pci 0003:00:00.0: bridge window [mem 0x12b0000000-0x12b01fffff]
[ 5.388511] pci 0003:00:00.0: Max Payload Size set to 256/ 256 (was 256), Max Read Rq 512
[ 5.396759] pci 0003:01:00.0: Max Payload Size set to 256/ 512 (was 128), Max Read Rq 512
[ 5.406280] pcieport 0003:00:00.0: Adding to iommu group 9
[ 5.411410] pcieport 0003:00:00.0: PME: Signaling with IRQ 28
[ 5.417162] pcieport 0003:00:00.0: AER: enabled with IRQ 28
[ 5.423035] igc 0003:01:00.0: Adding to iommu group 9
[ 5.427929] igc 0003:01:00.0: enabling device (0000 -> 0002)
[ 5.494897] igc 0003:01:00.0 (unnamed net_device) (uninitialized): PHC added
[ 5.559891] igc 0003:01:00.0: 4.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x1 link)
[ 5.560115] igc 0003:01:00.0 eth0: MAC: 00:0f:11:57:15:3a
[ 5.561206] tegra194-pcie 141a0000.pcie: Adding to iommu group 10
[ 5.562227] tegra194-pcie 141a0000.pcie: Failed to get slot regulators: -517
[ 5.585003] host1x 13e10000.host1x: Adding to iommu group 11
[ 5.602009] host1x 13e10000.host1x: initialized