Solved - SCSi Status Error Causes Slow Boot

Hi All,

New to FreeBSD and NomadBSD.

I am running from live USB and encountered an error during boot that slows the boot process significantly.

The DMESG output is provided below. Note the SCSI status error about half-way through the DMESG output. During the boot process, there are repeated "sdhci_pci0-slot0: Controller timeout"s as the system tries to resolve a hardware conflict.

Any ideas on how to resolve this technical problem would be appreciated.

Much apprecited,
nixman

—<>—
Copyright (c) 1992-2021 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-RELEASE #0: Tue May 4 21:43:29 UTC 2021
root@NomadBSD:/usr/obj/usr/src/amd64.amd64/sys/NOMADBSD amd64
FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe)
VT(efifb): resolution 2560x1440
CPU: Intel(R) Core™ i5-6260U CPU @ 1.80GHz (1800.07-MHz K8-class CPU)
Origin=“GenuineIntel” Id=0x406e3 Family=0x6 Model=0x4e Stepping=3
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x7ffafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
AMD Features2=0x121<LAHF,ABM,Prefetch>
Structured Extended Features=0x29c67af<FSGSBASE,TSCADJ,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFPUSG,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PROCTRACE>
XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
TSC: P-state invariant, performance statistics
real memory = 17179869184 (16384 MB)
avail memory = 16415158272 (15654 MB)
Event timer “LAPIC” quality 600
ACPI APIC Table:
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads
random: registering fast source Intel Secure Key RNG
random: fast provider: “Intel Secure Key RNG”
random: unblocking device.
ioapic0 <Version 2.0> irqs 0-119
Launching APs: 1 3 2
Timecounter “TSC” frequency 1800073838 Hz quality 1000
KTLS: Initialized 4 threads
random: entropy device external interface
000.000019 [4354] netmap_init netmap: loaded module
[ath_hal] loaded
WARNING: Device “kbd” is Giant locked and may be deleted before FreeBSD 14.0.
kbd0 at kbdmux0
mlx5en: Mellanox Ethernet driver 3.6.0 (December 2020)
nexus0
efirtc0:
efirtc0: registered as a time-of-day clock, resolution 1.000000s
cryptosoft0:
aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS>
acpi0:
acpi0: Power Button (fixed)
cpu0: on acpi0
hpet0: iomem 0xfed00000-0xfed003ff on acpi0
Timecounter “HPET” frequency 24000000 Hz quality 950
Event timer “HPET” frequency 24000000 Hz quality 550
Event timer “HPET1” frequency 24000000 Hz quality 440
Event timer “HPET2” frequency 24000000 Hz quality 440
Event timer “HPET3” frequency 24000000 Hz quality 440
Event timer “HPET4” frequency 24000000 Hz quality 440
atrtc0: port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn’t map I/O.
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer “RTC” frequency 32768 Hz quality 0
attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter “i8254” frequency 1193182 Hz quality 0
Event timer “i8254” frequency 1193182 Hz quality 100
Timecounter “ACPI-fast” frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
pcib0: port 0xcf8-0xcff on acpi0
pci0: on pcib0
vgapci0: port 0xf000-0xf03f mem 0xde000000-0xdeffffff,0xa0000000-0xbfffffff at device 2.0 on pci0
vgapci0: Boot video device
xhci0: <Intel Sunrise Point-LP USB 3.0 controller> mem 0xdf030000-0xdf03ffff at device 20.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
pci0: at device 22.0 (no driver attached)
ahci0: port 0xf090-0xf097,0xf080-0xf083,0xf060-0xf07f mem 0xdf048000-0xdf049fff,0xdf04e000-0xdf04e0ff,0xdf04d000-0xdf04d7ff at device 23.0 on pci0
ahci0: AHCI v1.31 with 2 6Gbps ports, Port Multiplier not supported
ahcich0: at channel 0 on ahci0
ahcich2: at channel 2 on ahci0
sdhci_pci0: mem 0xdf04b000-0xdf04bfff at device 30.6 on pci0
sdhci_pci0: 1 slot(s) allocated
mmc0: <MMC/SD bus> on sdhci_pci0
isab0: at device 31.0 on pci0
isa0: on isab0
pci0: at device 31.2 (no driver attached)
hdac0: mem 0xdf040000-0xdf043fff,0xdf020000-0xdf02ffff at device 31.3 on pci0
em0: <Intel(R) PRO/1000 Network Connection> mem 0xdf000000-0xdf01ffff at device 31.6 on pci0
em0: Using 1024 TX descriptors and 1024 RX descriptors
em0: Using an MSI interrupt
em0: Ethernet address: b8:ae:ed:7d:cf:13
em0: netmap queues/slots: TX 1/1024, RX 1/1024
acpi_button0: on acpi0
acpi_button1: on acpi0
acpi_tz0: on acpi0
acpi_tz1: on acpi0
hwpstate_intel0: on cpu0
hwpstate_intel1: on cpu1
hwpstate_intel2: on cpu2
hwpstate_intel3: on cpu3
Timecounters tick every 1.000 msec
sdhci_pci0-slot0: Bus power failed to enable
ugen0.1: <0x8086 XHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub0: 18 ports with 18 removable, self powered
ugen0.2: at usbus0
ukbd0 on uhub0
ukbd0: <Gaming KB Gaming KB, class 0/0, rev 1.10/30.11, addr 1> on usbus0
kbd1 at ukbd0
ukbd1 on uhub0
ukbd1: <Gaming KB Gaming KB, class 0/0, rev 1.10/30.11, addr 1> on usbus0
kbd2 at ukbd1
ugen0.3: at usbus0
ukbd2 on uhub0
ukbd2: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2> on usbus0
kbd3 at ukbd2
ums0 on uhub0
ums0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2> on usbus0
ums0: 16 buttons and [XYZT] coordinates ID=2
ugen0.4: at usbus0
umass0 on uhub0
umass0: <Generic USB3.0 Card Reader, class 0/0, rev 3.00/15.32, addr 3> on usbus0
umass0: SCSI over Bulk-Only; quirks = 0x8100
umass0:2:0: Attached to scbus2
(probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code)
(probe0:umass-sim0:0:0:0): Error 22, Unretryable error
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci0-slot0: Present: 0x00020001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power: 0x0000000e | Blk gap: 0x00000080
sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07
sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================
mmc0: No compatible cards found on bus
hdacc0: at cad 0 on hdac0
hdaa0: at nid 1 on hdacc0
pcm0: <Realtek ALC283 (Rear Analog)> at nid 33 and 25 on hdaa0
hdacc1: at cad 2 on hdac0
hdaa1: at nid 1 on hdacc1
pcm1: <Intel Skylake (HDMI/DP 8ch)> at nid 3 on hdaa1
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: ACS-2 ATA SATA 3.x device
ada0: Serial Number PNY46150000938730273
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 1024bytes)
ada0: Command Queueing enabled
ada0: 228936MB (468862128 512 byte sectors)
ada1 at ahcich2 bus 0 scbus1 target 0 lun 0
ada1: ACS-3 ATA SATA 3.x device
ada1: Serial Number 1550116CE75D
ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 238475MB (488397168 512 byte sectors)
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <Generic STORAGE DEVICE 1532> Removable Direct Access SPC-4 SCSI device
da0: Serial Number 000000001532
da0: 400.000MB/s transfers
da0: 29508MB (60432384 512 byte sectors)
da0: quirks=0x3<NO_SYNC_CACHE,NO_6_BYTE>
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 03 9a 1f ff 00 00 01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ABORTED COMMAND asc:47,1 (Data phase CRC error detected)
(da0:umass-sim0:0:0:0): Retrying command (per sense data)
Trying to mount root from ufs:/dev/label/nomadroot [rw,noatime]…
WARNING: /: TRIM flag on fs but disk does not support TRIM
WARNING: /data: TRIM flag on fs but disk does not support TRIM
acpi_video0: on vgapci0
Cuse v0.1.36 @ /dev/cuse
pchtherm0: mem 0xdf050000-0xdf050fff at device 20.2 on pci0
ichsmb0: port 0xf040-0xf05f mem 0xdf04a000-0xdf04a0ff at device 31.4 on pci0
smbus0: on ichsmb0
lo0: link state changed to UP
em0: link state changed to UP
debugnet_any_ifnet_update: Bad dn_init result from em0 (ifp 0xfffff80003ec9800), ignoring.
uhid0 on uhub0
uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2> on usbus0
em0: link state changed to DOWN
em0: link state changed to UP
Security policy loaded: MAC/ntpd (mac_ntpd)
drmn0: on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
[drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19).
drmn0: Found 64MB of eDRAM
Failed to add WC MTRR for [0xa0000000-0xbfffffff]: -22; performance may suffer
[drm] Got stolen memory base 0x78000000, size 0x8000000
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
[drm] Connector eDP-1: get mode from tunables:
[drm] - kern.vt.fb.modes.eDP-1
[drm] - kern.vt.fb.default_mode
drmn0: successfully loaded firmware image ‘i915/skl_dmc_ver1_27.bin’
[drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27)
[drm] failed to retrieve link info, disabling eDP
[drm] Connector HDMI-A-1: get mode from tunables:
[drm] - kern.vt.fb.modes.HDMI-A-1
[drm] - kern.vt.fb.default_mode
[drm] Connector DP-1: get mode from tunables:
[drm] - kern.vt.fb.modes.DP-1
[drm] - kern.vt.fb.default_mode
[drm] Connector HDMI-A-2: get mode from tunables:
[drm] - kern.vt.fb.modes.HDMI-A-2
[drm] - kern.vt.fb.default_mode
drmn0: Failed to program MOCS registers; expect performance issues.
sysctl_warn_reuse: can’t re-use a leaf (hw.dri.debug)!
[drm] Initialized i915 1.6.0 20190822 for drmn0 on minor 0
WARNING: Device “fb” is Giant locked and may be deleted before FreeBSD 14.0.
VT: Replacing driver “efifb” with new “fb”.
start FB_INFO:
type=11 height=1440 width=2560 depth=32
cmsize=16 size=14745600
pbase=0xa0000000 vbase=0xfffff800a0000000
name=drmn0 flags=0x0 stride=10240 bpp=32
cmap[0]=141414 cmap[1]=ba5451 cmap[2]=8e9b60 cmap[3]=eabf77
end FB_INFO
drmn0: fb0: i915drmfb frame buffer device
ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to deny, logging disabled
em0: link state changed to DOWN
em0: link state changed to UP

Hi All,

An internet search for the term “sdhci_pci0-slot0: Controller timeout” turned up several replies from the FreeBSD Forums. For example from 2016 …

Following the recommendation from that dialog, the statement

‘hint.sdhci_pci.0.disabled=“1”’

was added to the end of the “/boot/device.hints” file as shown below.

hint.fdc.0.at=“isa”
hint.fdc.0.port=“0x3F0”
hint.fdc.0.irq=“6”
hint.fdc.0.drq=“2”
hint.fd.0.at=“fdc0”
hint.fd.0.drive=“0”
hint.fd.1.at=“fdc0”
hint.fd.1.drive=“1”
hint.atkbdc.0.at=“isa”
hint.atkbdc.0.port=“0x060”
hint.atkbd.0.at=“atkbdc”
hint.atkbd.0.irq=“1”
hint.psm.0.at=“atkbdc”
hint.psm.0.irq=“12”
hint.sc.0.at=“isa”
hint.sc.0.flags=“0x100”
hint.uart.0.at=“isa”
hint.uart.0.port=“0x3F8”
hint.uart.0.flags=“0x10”
hint.uart.0.irq=“4”
#hint.uart.1.at=“isa”
#hint.uart.1.port=“0x2F8”
#hint.uart.1.irq=“3”
hint.ppc.0.at=“isa”
hint.ppc.0.irq=“7”
hint.atrtc.0.at=“isa”
hint.atrtc.0.port=“0x70”
hint.atrtc.0.irq=“8”
hint.attimer.0.at=“isa”
hint.attimer.0.port=“0x40”
hint.attimer.0.irq=“0”
hint.acpi_throttle.0.disabled=“1”
hint.p4tcc.0.disabled=“1”
hint.sdhci_pci.0.disabled=“1”

With this addition, the boot process proceeds normally without a delay.

The original problem, stated previously, is now solved. However, I have no understanding as to the original problem nor to the fix. If anyone has an explanation, your feedback would be greatly appreciated.

All the best,
nixman

I had a similar issue on an intel mini pc. Fix suggested above worked on FreeBSD.