SATA drives show in BIOS but won't show in /dev

I have a new X670E Steel Legend motherboard and it's been working fine with SSDs for a couple months now but I never looked closely at dmesg until we tried to get the backups set up a few days ago. SATA drives won't show in /dev but show up fine in BIOS.

I'm getting dmesg errors I've never seen before:
Code:
...
acpi0: <ALASKA A M I >
Firmware Error (ACPI): Failure creating named object [\134_SB.PCI0.GPP0._PRW], AE_ALREADY_EXISTS (20201113/dswload2-480)
ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-372)
...
pcib2: <ACPI PCI-PCI bridge> at device 2.1 on pci0
pcib2: failed to allocate initial memory window: 0xfbe00000-0xfc8fffff
...
ahci1: <AHCI SATA controller> at device 0.0 on pci18
ahci1: 0x400 bytes of rid 0x24 res 3 failed (0, 0xffffffffffffffff).
If anyone can tell me if this is a motherboard problem I would appreciate it. We tried to install Win10 and it didn't seem to locate the SATA drives either.

Full DMESG:
Code:
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.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64
FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
VT(efifb): resolution 800x600
CPU: AMD Ryzen 9 7950X 16-Core Processor             (4491.81-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0xa60f12  Family=0x19  Model=0x61  Stepping=2
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x7ef8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD Features2=0x75c237ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX,ADMSKX>
  Structured Extended Features=0xf1bf97a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,PQM,PQE,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,AVX512CD,SHA,AVX512BW,AVX512VL>
  Structured Extended Features2=0x405fde<AVX512VBMI,UMIP,PKU,OSPKE,AVX512VBMI2,GFNI,VAES,VPCLMULQDQ,AVX512VNNI,AVX512BITALG,AVX512VPOPCNTDQ,RDPID>
  Structured Extended Features3=0x10000010<FSRM,L1DFL>
  XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  AMD Extended Feature Extensions ID EBX=0x791ef257<CLZERO,IRPerf,XSaveErPtr,RDPRU,WBNOINVD,IBPB,IBRS,STIBP,STIBP_ALWAYSON,PREFER_IBRS,SSBD>
  SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
  TSC: P-state invariant, performance statistics
real memory  = 68717379584 (65534 MB)
avail memory = 65878511616 (62826 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I >
FreeBSD/SMP: Multiprocessor System Detected: 32 CPUs
FreeBSD/SMP: 1 package(s) x 2 cache groups x 8 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.1> irqs 0-23
ioapic1 <Version 2.1> irqs 24-55
Launching APs: 20 21 22 1 23 29 27 17 18 25 30 31 16 24 10 3 13 6 9 14 4 28 7 11 15 8 12 2 5 26 19
random: entropy device external interface
kbd0 at kbdmux0
efirtc0: <EFI Realtime Clock>
efirtc0: registered as a time-of-day clock, resolution 1.000000s
smbios0: <System Management BIOS> at iomem 0x794d8000-0x794d801e
smbios0: Version: 3.4, BCD Revision: 3.4
aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS,SHA1,SHA256>
acpi0: <ALASKA A M I >
Firmware Error (ACPI): Failure creating named object [\134_SB.PCI0.GPP0._PRW], AE_ALREADY_EXISTS (20201113/dswload2-480)
ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-372)
Firmware Error (ACPI): Failure creating named object [\134_SB.PCI0.GPP2._PRW], AE_ALREADY_EXISTS (20201113/dswload2-480)
ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-372)
Firmware Error (ACPI): Failure creating named object [\134_GPE._L08], AE_ALREADY_EXISTS (20201113/dswload2-480)
ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-372)
acpi0: Power Button (fixed)
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 on acpi0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 350
Event timer "HPET1" frequency 14318180 Hz quality 350
Event timer "HPET2" frequency 14318180 Hz quality 350
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.1 on pci0
pci1: <ACPI PCI bus> on pcib1
ix0: <Intel(R) X550-T2> mem 0xfba00000-0xfbbfffff,0xfbc04000-0xfbc07fff at device 0.0 on pci1
ix0: Using 2048 TX descriptors and 2048 RX descriptors
ix0: Using 16 RX queues 16 TX queues
ix0: Using MSI-X interrupts with 17 vectors
ix0: allocated for 16 queues
ix0: allocated for 16 rx queues
ix0: Ethernet address: a0:36:9f:f5:ee:34
ix0: PCI Express Bus: Speed 8.0GT/s Width x4
ix0: eTrack 0x80000492 PHY FW V523
ix0: netmap queues/slots: TX 16/2048, RX 16/2048
ix1: <Intel(R) X550-T2> mem 0xfb800000-0xfb9fffff,0xfbc00000-0xfbc03fff at device 0.1 on pci1
ix1: Using 2048 TX descriptors and 2048 RX descriptors
ix1: Using 16 RX queues 16 TX queues
ix1: Using MSI-X interrupts with 17 vectors
ix1: allocated for 16 queues
ix1: allocated for 16 rx queues
ix1: Ethernet address: a0:36:9f:f5:ee:35
ix1: PCI Express Bus: Speed 8.0GT/s Width x4
ix1: eTrack 0x80000492 PHY FW V523
ix1: netmap queues/slots: TX 16/2048, RX 16/2048
pcib2: <ACPI PCI-PCI bridge> at device 2.1 on pci0
pcib2: failed to allocate initial memory window: 0xfbe00000-0xfc8fffff
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 0.0 on pci2
pcib3: failed to allocate initial memory window: 0xfbe00000-0xfc8fffff
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 0.0 on pci3
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 4.0 on pci3
pci5: <ACPI PCI bus> on pcib5
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xfc804000-0xfc804fff,0xfc800000-0xfc803fff at device 0.0 on pci5
re0: Using 1 MSI-X message
re0: Chip rev. 0x54000000
re0: MAC rev. 0x00100000
miibus0: <MII bus> on re0
rgephy0: <RTL8251/8153 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: 9c:6b:00:0c:cd:d0
re0: netmap queues/slots: TX 1/256, RX 1/256
pcib6: <ACPI PCI-PCI bridge> at device 5.0 on pci3
pci6: <ACPI PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> at device 6.0 on pci3
pci7: <ACPI PCI bus> on pcib7
pci7: <network> at device 0.0 (no driver attached)
pcib8: <ACPI PCI-PCI bridge> at device 7.0 on pci3
pci8: <ACPI PCI bus> on pcib8
pci8: <network, ethernet> at device 0.0 (no driver attached)
pcib9: <ACPI PCI-PCI bridge> at device 8.0 on pci3
pcib9: failed to allocate initial memory window: 0xfbe00000-0xfc2fffff
pci9: <ACPI PCI bus> on pcib9
pcib10: <ACPI PCI-PCI bridge> at device 0.0 on pci9
pcib10: failed to allocate initial memory window: 0xfbe00000-0xfc2fffff
pci10: <ACPI PCI bus> on pcib10
pcib11: <ACPI PCI-PCI bridge> at device 0.0 on pci10
pci11: <ACPI PCI bus> on pcib11
nvme0: <Generic NVMe Device> mem 0xfc200000-0xfc203fff at device 0.0 on pci11
pcib12: <ACPI PCI-PCI bridge> at device 4.0 on pci10
pci12: <ACPI PCI bus> on pcib12
pcib13: <ACPI PCI-PCI bridge> at device 5.0 on pci10
pci13: <ACPI PCI bus> on pcib13
pcib14: <ACPI PCI-PCI bridge> at device 6.0 on pci10
pci14: <ACPI PCI bus> on pcib14
pcib15: <ACPI PCI-PCI bridge> at device 7.0 on pci10
pci15: <ACPI PCI bus> on pcib15
pcib16: <ACPI PCI-PCI bridge> at device 8.0 on pci10
pci16: <ACPI PCI bus> on pcib16
nvme1: <Generic NVMe Device> mem 0xfc100000-0xfc103fff at device 0.0 on pci16
pcib17: <ACPI PCI-PCI bridge> at device 12.0 on pci10
pci17: <ACPI PCI bus> on pcib17
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfc000000-0xfc007fff at device 0.0 on pci17
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
pcib18: <ACPI PCI-PCI bridge> at device 13.0 on pci10
pcib18: failed to allocate initial memory window: 0xfbe00000-0xfbffffff
pci18: <ACPI PCI bus> on pcib18
ahci0: <AHCI SATA controller> at device 0.0 on pci18
ahci0: 0x400 bytes of rid 0x24 res 3 failed (0, 0xffffffffffffffff).
device_attach: ahci0 attach returned 6
pcib19: <ACPI PCI-PCI bridge> at device 12.0 on pci3
pci19: <ACPI PCI bus> on pcib19
xhci1: <XHCI (generic) USB 3.0 controller> mem 0xfc600000-0xfc607fff at device 0.0 on pci19
xhci1: 32 bytes context size, 64-bit DMA
usbus1 on xhci1
usbus1: 5.0Gbps Super Speed USB v3.0
pcib20: <ACPI PCI-PCI bridge> at device 13.0 on pci3
pci20: <ACPI PCI bus> on pcib20
ahci0: <AHCI SATA controller> mem 0xfc580000-0xfc5803ff at device 0.0 on pci20
ahci0: AHCI v1.31 with 6 6Gbps ports, Port Multiplier supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
pcib21: <ACPI PCI-PCI bridge> at device 2.2 on pci0
pci21: <ACPI PCI bus> on pcib21
nvme2: <Generic NVMe Device> mem 0xfce00000-0xfce03fff at device 0.0 on pci21
pcib22: <ACPI PCI-PCI bridge> at device 8.1 on pci0
pci22: <ACPI PCI bus> on pcib22
vgapci0: <VGA-compatible display> port 0xf000-0xf0ff mem 0xfce0000000-0xfcefffffff,0xfcf0000000-0xfcf01fffff,0xfcc00000-0xfcc7ffff at device 0.0 on pci22
hdac0: <ATI (0x1640) HDA Controller> mem 0xfcc88000-0xfcc8bfff at device 0.1 on pci22
pci22: <encrypt/decrypt> at device 0.2 (no driver attached)
xhci2: <XHCI (generic) USB 3.0 controller> mem 0xfca00000-0xfcafffff at device 0.3 on pci22
xhci2: 64 bytes context size, 64-bit DMA
usbus2 on xhci2
usbus2: 5.0Gbps Super Speed USB v3.0
xhci3: <XHCI (generic) USB 3.0 controller> mem 0xfc900000-0xfc9fffff at device 0.4 on pci22
xhci3: 64 bytes context size, 64-bit DMA
usbus3 on xhci3
usbus3: 5.0Gbps Super Speed USB v3.0
hdac1: <AMD Raven HDA Controller> mem 0xfcc80000-0xfcc87fff at device 0.6 on pci22
pcib23: <ACPI PCI-PCI bridge> at device 8.3 on pci0
pci23: <ACPI PCI bus> on pcib23
xhci4: <XHCI (generic) USB 3.0 controller> mem 0xfcd00000-0xfcdfffff at device 0.0 on pci23
xhci4: 64 bytes context size, 64-bit DMA
usbus4 on xhci4
usbus4: 5.0Gbps Super Speed USB v3.0
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
acpi_button0: <Power Button> on acpi0
acpi_syscontainer0: <System Container> on acpi0
cpu0: <ACPI CPU> on acpi0
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
Timecounter "TSC-low" frequency 1122890447 Hz quality 1000
Timecounters tick every 1.000 msec
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
ugen0.1: <AMD XHCI root HUB> at usbus0
ugen2.1: <AMD XHCI root HUB> at usbus2
ugen4.1: <AMD XHCI root HUB> at usbus4
ugen3.1: <AMD XHCI root HUB> at usbus3
ugen1.1: <AMD XHCI root HUB> at usbus1
uhub0 on usbus0
uhub0: <AMD XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub1 on usbus1
uhub1: <AMD XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
uhub2 on usbus2
uhub2: <AMD XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus2
uhub3 on usbus3
uhub3: <AMD XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus3
uhub4 on usbus4
uhub4: <AMD XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus4
nvd0: <Force MP600> NVMe namespace
nvd0: 1907729MB (488378646 4096 byte sectors)
nvd1: <Force MP600> NVMe namespace
nvd1: 1907729MB (488378646 4096 byte sectors)
nvd2: <INTEL SSDPEK1A118GA> NVMe namespace
nvd2: 112925MB (231270400 512 byte sectors)
hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
pcm1: <ATI R6xx (HDMI)> at nid 5 on hdaa0
pcm2: <ATI R6xx (HDMI)> at nid 7 on hdaa0
pcm3: <ATI R6xx (HDMI)> at nid 9 on hdaa0
hdacc1: <Realtek ALC1220 HDA CODEC> at cad 0 on hdac1
hdaa1: <Realtek ALC1220 Audio Function Group> at nid 1 on hdacc1
pcm4: <Realtek ALC1220 (Rear Analog)> at nid 20 and 24 on hdaa1
pcm5: <Realtek ALC1220 (Front Analog)> at nid 27 and 25 on hdaa1
pcm6: <Realtek ALC1220 (Rear Digital)> at nid 30 on hdaa1
ahci1: <AHCI SATA controller> at device 0.0 on pci18
ahci1: 0x400 bytes of rid 0x24 res 3 failed (0, 0xffffffffffffffff).
device_attach: ahci1 attach returned 6
Trying to mount root from zfs:tane/ROOT/default []...
uhub4: 1 port with 1 removable, self powered
uhub2: 4 ports with 4 removable, self powered
uhub3: 4 ports with 4 removable, self powered
ugen4.2: <ASRock LED Controller> at usbus4
uhub0: 18 ports with 18 removable, self powered
uhub1: 18 ports with 18 removable, self powered
ugen1.2: <Apple, Inc. Keyboard Hub> at usbus1
uhub5 on uhub1
uhub5: <Apple, Inc. Keyboard Hub, class 9/0, rev 2.00/94.15, addr 1> on usbus1
Root mount waiting for: usbus1
uhub5: 3 ports with 2 removable, bus powered
ugen1.3: <Apple, Inc Apple Keyboard> at usbus1
ukbd0 on uhub5
ukbd0: <Apple, Inc Apple Keyboard, class 0/0, rev 2.00/0.69, addr 2> on usbus1
kbd1 at ukbd0
Root mount waiting for: usbus1
ugen1.4: <Logitech USB Receiver> at usbus1
ukbd1 on uhub5
ukbd1: <Logitech USB Receiver, class 0/0, rev 2.00/12.11, addr 3> on usbus1
kbd2 at ukbd1
ugen1.5: <MediaTek Inc. WirelessDevice> at usbus1
acpi_wmi0: <ACPI-WMI mapping> on acpi0
acpi_wmi0: cannot find EC device
acpi_wmi0: Embedded MOF found
ACPI: \134AOD.WQBA: 1 arguments were passed to a non-method ACPI object (Buffer) (20201113/nsarguments-361)
driver bug: Unable to set devclass (class: ppc devname: (unknown))
intsmb0: <AMD FCH SMBus Controller> at device 20.0 on pci0
intsmb0: Could not allocate I/O space
device_attach: intsmb0 attach returned 6
ahci1: <AHCI SATA controller> at device 0.0 on pci18
ahci1: 0x400 bytes of rid 0x24 res 3 failed (0, 0xffffffffffffffff).
device_attach: ahci1 attach returned 6
lo0: link state changed to UP
re0: link state changed to DOWN
re0: link state changed to UP
uhid0 on uhub4
uhid0: <ASRock LED Controller, class 0/0, rev 1.10/0.00, addr 1> on usbus4
uhid1 on uhub5
uhid1: <Apple, Inc Apple Keyboard, class 0/0, rev 2.00/0.69, addr 2> on usbus1
uhid2 on uhub5
uhid2: <Logitech USB Receiver, class 0/0, rev 2.00/12.11, addr 3> on usbus1
ums0 on uhub5
ums0: <Logitech USB Receiver, class 0/0, rev 2.00/12.11, addr 3> on usbus1
ums0: 16 buttons and [XYZT] coordinates ID=2
ubt0 on uhub1
ubt0: <BTACLIf> on usbus1
ubt1 on uhub1
ubt1: <BTISOIf> on usbus1
ubt1: ubt_attach:671: could not get two interfaces
device_attach: ubt1 attach returned 6
WARNING: attempt to domain_add(bluetooth) after domainfinalize()
WARNING: attempt to domain_add(netgraph) after domainfinalize()
ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3, OCF=0x3. Timeout
Security policy loaded: MAC/ntpd (mac_ntpd)
 
pciconf -lv

Code:
hostb0@pci0:0:0:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x14d8 subvendor=0x1022 subdevice=0x14d8
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = HOST-PCI
hostb1@pci0:0:1:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x14da subvendor=0x0000 subdevice=0x0000
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = HOST-PCI
pcib1@pci0:0:1:1:       class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x14db subvendor=0x1022 subdevice=0x1453
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
hostb2@pci0:0:2:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x14da subvendor=0x0000 subdevice=0x0000
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = HOST-PCI
pcib2@pci0:0:2:1:       class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x14db subvendor=0x1022 subdevice=0x1453
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib21@pci0:0:2:2:      class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x14db subvendor=0x1022 subdevice=0x1453
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
hostb3@pci0:0:3:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x14da subvendor=0x0000 subdevice=0x0000
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = HOST-PCI
hostb4@pci0:0:4:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x14da subvendor=0x0000 subdevice=0x0000
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = HOST-PCI
hostb5@pci0:0:8:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x14da subvendor=0x0000 subdevice=0x0000
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = HOST-PCI
pcib22@pci0:0:8:1:      class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x14dd subvendor=0x1022 subdevice=0x14dd
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib23@pci0:0:8:3:      class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x14dd subvendor=0x1022 subdevice=0x14dd
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
none0@pci0:0:20:0:      class=0x0c0500 rev=0x71 hdr=0x00 vendor=0x1022 device=0x790b subvendor=0x1849 subdevice=0x790b
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    device     = 'FCH SMBus Controller'
    class      = serial bus
    subclass   = SMBus
isab0@pci0:0:20:3:      class=0x060100 rev=0x51 hdr=0x00 vendor=0x1022 device=0x790e subvendor=0x1849 subdevice=0x790e
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    device     = 'FCH LPC Bridge'
    class      = bridge
    subclass   = PCI-ISA
hostb6@pci0:0:24:0:     class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x14e0 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = HOST-PCI
hostb7@pci0:0:24:1:     class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x14e1 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = HOST-PCI
hostb8@pci0:0:24:2:     class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x14e2 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = HOST-PCI
hostb9@pci0:0:24:3:     class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x14e3 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = HOST-PCI
hostb10@pci0:0:24:4:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x14e4 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = HOST-PCI
hostb11@pci0:0:24:5:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x14e5 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = HOST-PCI
hostb12@pci0:0:24:6:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x14e6 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = HOST-PCI
hostb13@pci0:0:24:7:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x14e7 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = HOST-PCI
ix0@pci0:1:0:0: class=0x020000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x1563 subvendor=0x8086 subdevice=0x0001
    vendor     = 'Intel Corporation'
    device     = 'Ethernet Controller X550'
    class      = network
    subclass   = ethernet
ix1@pci0:1:0:1: class=0x020000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x1563 subvendor=0x8086 subdevice=0x0001
    vendor     = 'Intel Corporation'
    device     = 'Ethernet Controller X550'
    class      = network
    subclass   = ethernet
pcib3@pci0:2:0:0:       class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f4 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib4@pci0:3:0:0:       class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib5@pci0:3:4:0:       class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib6@pci0:3:5:0:       class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib7@pci0:3:6:0:       class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib8@pci0:3:7:0:       class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib9@pci0:3:8:0:       class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib19@pci0:3:12:0:     class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib20@pci0:3:13:0:     class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
re0@pci0:5:0:0: class=0x020000 rev=0x15 hdr=0x00 vendor=0x10ec device=0x8168 subvendor=0x1849 subdevice=0x8168
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet
none1@pci0:7:0:0:       class=0x028000 rev=0x00 hdr=0x00 vendor=0x14c3 device=0x0616 subvendor=0x14c3 subdevice=0x0616
    vendor     = 'MEDIATEK Corp.'
    device     = 'MT7922 802.11ax PCI Express Wireless Network Adapter'
    class      = network
none2@pci0:8:0:0:       class=0x020000 rev=0x05 hdr=0x00 vendor=0x10ec device=0x8125 subvendor=0x1849 subdevice=0x8125
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8125 2.5GbE Controller'
    class      = network
    subclass   = ethernet
pcib10@pci0:9:0:0:      class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f4 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib11@pci0:10:0:0:     class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib12@pci0:10:4:0:     class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib13@pci0:10:5:0:     class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib14@pci0:10:6:0:     class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib15@pci0:10:7:0:     class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib16@pci0:10:8:0:     class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib17@pci0:10:12:0:    class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
pcib18@pci0:10:13:0:    class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = bridge
    subclass   = PCI-PCI
nvme0@pci0:11:0:0:      class=0x010802 rev=0x01 hdr=0x00 vendor=0x1987 device=0x5016 subvendor=0x1987 subdevice=0x5016
    vendor     = 'Phison Electronics Corporation'
    device     = 'E16 PCIe4 NVMe Controller'
    class      = mass storage
    subclass   = NVM
nvme1@pci0:16:0:0:      class=0x010802 rev=0x01 hdr=0x00 vendor=0x1987 device=0x5016 subvendor=0x1987 subdevice=0x5016
    vendor     = 'Phison Electronics Corporation'
    device     = 'E16 PCIe4 NVMe Controller'
    class      = mass storage
    subclass   = NVM
xhci0@pci0:17:0:0:      class=0x0c0330 rev=0x01 hdr=0x00 vendor=0x1022 device=0x43f7 subvendor=0x1b21 subdevice=0x1142
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = serial bus
    subclass   = USB
none3@pci0:18:0:0:      class=0x010601 rev=0x01 hdr=0x00 vendor=0x1022 device=0x43f6 subvendor=0x1b21 subdevice=0x1062
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = mass storage
    subclass   = SATA
xhci1@pci0:19:0:0:      class=0x0c0330 rev=0x01 hdr=0x00 vendor=0x1022 device=0x43f7 subvendor=0x1b21 subdevice=0x1142
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = serial bus
    subclass   = USB
ahci0@pci0:20:0:0:      class=0x010601 rev=0x01 hdr=0x00 vendor=0x1022 device=0x43f6 subvendor=0x1b21 subdevice=0x1062
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = mass storage
    subclass   = SATA
nvme2@pci0:21:0:0:      class=0x010802 rev=0x00 hdr=0x00 vendor=0x8086 device=0x2525 subvendor=0x8086 subdevice=0x380a
    vendor     = 'Intel Corporation'
    class      = mass storage
    subclass   = NVM
vgapci0@pci0:22:0:0:    class=0x030000 rev=0xc1 hdr=0x00 vendor=0x1002 device=0x164e subvendor=0x1002 subdevice=0x164e
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Raphael'
    class      = display
    subclass   = VGA
hdac0@pci0:22:0:1:      class=0x040300 rev=0x00 hdr=0x00 vendor=0x1002 device=0x1640 subvendor=0x1002 subdevice=0x1640
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Rembrandt Radeon High Definition Audio Controller'
    class      = multimedia
    subclass   = HDA
none4@pci0:22:0:2:      class=0x108000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1649 subvendor=0x1022 subdevice=0x1649
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    device     = 'VanGogh PSP/CCP'
    class      = encrypt/decrypt
xhci2@pci0:22:0:3:      class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15b6 subvendor=0x1849 subdevice=0x15b6
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = serial bus
    subclass   = USB
xhci3@pci0:22:0:4:      class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15b7 subvendor=0x1849 subdevice=0x15b6
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = serial bus
    subclass   = USB
hdac1@pci0:22:0:6:      class=0x040300 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15e3 subvendor=0x1849 subdevice=0x222c
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    device     = 'Family 17h/19h HD Audio Controller'
    class      = multimedia
    subclass   = HDA
xhci4@pci0:23:0:0:      class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15b8 subvendor=0x1849 subdevice=0x15b6
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = serial bus
    subclass   = USB
 
oh, you probably just wanted the SATA lines:
Code:
none3@pci0:18:0:0:      class=0x010601 rev=0x01 hdr=0x00 vendor=0x1022 device=0x43f6 subvendor=0x1b21 subdevice=0x1062
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = mass storage
    subclass   = SATA
...
ahci0@pci0:20:0:0:      class=0x010601 rev=0x01 hdr=0x00 vendor=0x1022 device=0x43f6 subvendor=0x1b21 subdevice=0x1062
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    class      = mass storage
    subclass   = SATA
 
Interesting, so there are 2 SATA controllers and one of them got successfully attached?

In any case, what the output of: pciconf -lb pci0:18:0:0 and pciconf -lb pci0:20:0:0?
 
First one failed according to dmesg: :)
Code:
ahci1: <AHCI SATA controller> at device 0.0 on pci18
ahci1: 0x400 bytes of rid 0x24 res 3 failed (0, 0xffffffffffffffff).
device_attach: ahci1 attach returned 6

(The acpi firmware error ("alaska ami") is probably device sleep/wake related.)
 
thread title updated

Code:
root(33)host:~ # pciconf -lb pci0:18:0:0
none0@pci0:18:0:0:      class=0x010601 rev=0x01 hdr=0x00 vendor=0x1022 device=0x43f6 subvendor=0x1b21 subdevice=0x1062
    bar   [24] = type Memory, range 32, base 0xfbe80000, size 1024, enabled
root(33)host:~ # pciconf -lb pci0:20:0:0
ahci0@pci0:20:0:0:      class=0x010601 rev=0x01 hdr=0x00 vendor=0x1022 device=0x43f6 subvendor=0x1b21 subdevice=0x1062
    bar   [24] = type Memory, range 32, base 0xfc580000, size 1024, enabled
 
As far as I can see that device isn't currently supported.

The current (as in git head) ahci driver source code shows AMD devices up to 0x43b6, but doesn't cover 0x43f6 and shouldn't be attaching to it.

Code:
    {0x43b61022, 0x00, "AMD X399",        0},
    {0x43b51022, 0x00, "AMD 300 Series",    0}, /* X370 */
    {0x43b71022, 0x00, "AMD 300 Series",    0}, /* B350 */
    {0x78001022, 0x00, "AMD Hudson-2",    0},
... supported AHCI devices continued ...

The only thing I can't explain is why one device with the 0x43f6 id appears to show the ahci driver attached to it. If no driver supports this specific vendor/device id, it shouldn't be attached to a driver and will normally just show "none" like the other one.
 
Thank you usdmatt! That makes more sense than any of my thoughts. What would you recommend for me to do next? Do I file a bug report?
 
As far as I can see that device isn't currently supported.
Not really correct. It does not show up in the table of "known devices", but it's not required given the code in ahci_probe():
Code:
        /* Is this a possible AHCI candidate? */
        if (pci_get_class(dev) == PCIC_STORAGE &&
            pci_get_subclass(dev) == PCIS_STORAGE_SATA &&
            pci_get_progif(dev) == PCIP_STORAGE_SATA_AHCI_1_0)
                valid = 1;
        else if (pci_get_class(dev) == PCIC_STORAGE &&
            pci_get_subclass(dev) == PCIS_STORAGE_RAID)
                valid = 2;
 
just today I tried using a Win10 install USB, then ran "start diskpart" and then "disk list" and confirmed that the disk was present. So the SATA port does not appear to be broken and Windows seems to be able to see it.

I had initially thought that it could be broken because attempting to install Windows did not show the drive but that may have been because it was not partitioned.
 
Code:
ahci1: <AHCI SATA controller> at device 0.0 on pci18
ahci1: 0x400 bytes of rid 0x24 res 3 failed (0, 0xffffffffffffffff).
device_attach: ahci1 attach returned 6
This basically means the ahci driver thought it supports this SATA mass storage device (device_probe() suceeded and it set the device description to AHCI SATA controller, right?). But then an error occured while initializing the device (device_attach() failed with an error code). Imho a bug report is the correct approach.
 
You could boot verbose, and search for ahci output in dmesg (at the loader prompt, type any key, then "boot -v"). Or switch the two sata drives, and see which one gets attached, and which doesn't. I know nothing about hard drives though. :cool:
 
Back
Top