Bug 272507 - Devices fails to initialize on some AMD X670E(xtreme) based motherboards
Summary: Devices fails to initialize on some AMD X670E(xtreme) based motherboards
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: John Baldwin
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2023-07-14 19:40 UTC by Justin Tocci
Modified: 2024-12-08 01:24 UTC (History)
14 users (show)

See Also:


Attachments
verbose boot of steel legend motherboard with 14.0 current (91.45 KB, text/plain)
2023-07-17 15:37 UTC, Justin Tocci
no flags Details
New Verbose boot with hw.pci.enable_io_modes=0 (94.77 KB, text/plain)
2023-09-02 15:07 UTC, Justin Tocci
no flags Details
Moved SATA drives to #3,#4 SATA ports from #1,#2, verbose dmesg (96.04 KB, text/plain)
2023-09-02 16:05 UTC, Justin Tocci
no flags Details
Boot verbose log for Asus TUF x670e-plus missing SATA drives (93.64 KB, text/plain)
2023-10-24 04:38 UTC, john
no flags Details
hack.patch (649 bytes, patch)
2024-02-09 01:43 UTC, John Baldwin
no flags Details | Diff
acpidump from Asus x670e system (122.96 KB, text/plain)
2024-02-10 19:12 UTC, john
no flags Details
acpidump from Asus x670e system (122.96 KB, application/x-zip-compressed)
2024-02-10 19:13 UTC, john
no flags Details
0001-acpi-Defer-reserving-resources-for-ACPI-devices.patch (3.12 KB, patch)
2024-02-15 19:04 UTC, John Baldwin
no flags Details | Diff
dch dmesg after patch 0001-acpi-defer-reserving-resources-for-acpi-devices (16.87 KB, text/plain)
2024-02-20 10:52 UTC, Dave Cottlehuber
no flags Details
Errata Template partially filled to add EN to 14.0 (4.59 KB, text/plain)
2024-03-21 14:45 UTC, Justin Tocci
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Tocci 2023-07-14 19:40:37 UTC
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.


Here is a forum thread where others have posted info, some of which I will reproduce here.
https://forums.freebsd.org/threads/sata-drives-show-in-bios-but-wont-show-in-dev.89656/#post-616205

Dmesg output:
...
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).

full dmesg is at forum link above.

pciconf -lv output:
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

full output at forum link above

pciconf -lb pci0:18:0:0 output:
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 rxfbe80000, size 1024, enabled

pciconf -lb pci0:20:0:0 output:
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 rxfc580000, size 1024, enabled

I have updated bios from 1.11 (shipped) to 1.24 (latest non-beta available) and the issue persists.

A kind gentleman in the forum posted this explanation:
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.

Another gentleman chimed in with:
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;

...and a third gentleman said to file a bug report. 

I will try to be responsive to all requests. If you need physical access to the machine contact me and we will do what we can.
Comment 1 georg.lastname 2023-07-15 18:09:59 UTC
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

ahci throws the same error messages in:
Bug254651
Bug269936
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2023-07-15 19:15:30 UTC
I can't replicate this on a fresh version of -CURRENT so I'd suggest that you try to replicate the issue there too. There's no need to install anything, you can boot into "LiveCD" directly from the USB stick.

http://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/14.0/FreeBSD-14.0-CURRENT-amd64-20230713-510fd8313800-264135-memstick.img.xz

Hardware:
Asus ProArt X670E-CREATOR WIFI
Sandisk Ultra 3D SSD (same as WD Blue 3D SSD)
Comment 3 Justin Tocci 2023-07-17 15:37:25 UTC
Created attachment 243436 [details]
verbose boot of steel legend motherboard with 14.0 current

Requested verbose boot of 14.0 current (download was supplied)
Comment 4 Justin Tocci 2023-07-17 15:43:30 UTC
I tried to clip out the relevant parts but I am ill equipped to determine what is important. There are many suspicious lines. Failed to, firmware error, ACPI error, alloc failed, not started. My apologies. See attachment for the full verbose file.
Comment 5 Daniel Engberg freebsd_committer freebsd_triage 2023-07-17 15:58:38 UTC
This seems to be limited to ASRock boards to far, my ASUS board works fine OOTB on 14-CURRENT.
Comment 6 Daniel Engberg freebsd_committer freebsd_triage 2023-07-17 16:00:30 UTC
Alexander, any ideas of what might be causing this?
Comment 7 Alexander Motin freebsd_committer freebsd_triage 2023-07-20 14:13:24 UTC
It is not an AHCI problem.  There is some problem with PCI resources allocation. You can see plenty of "failed to allocate" messages in dmesg output.  Somehow what BIOS done didn't satisfy the kernel, it tries to solve the puzzle, but fails particularly in case of AHCI controller, but may be not only.  If BIOS update does not help, try to play with its settings, like disabling fast boot, plug and play OS, or whatever can trigger BIOS to do full resource allocation properly by itself.
Comment 8 Justin Tocci 2023-07-20 15:19:53 UTC
i will go this tonight and report back.
Comment 9 Justin Tocci 2023-07-20 20:03:26 UTC
Items with arrows were messed with. (original setting) -> (what i tried)

BIOS settings:
 Boot menu:
  CSM enabled -> disabled
  Launch PXE OpROM Policy UEFI -> Do not launch
  Launch Storage OpROM Policy UEFI -> Do not launch
  Full Screen Logo Enabled -> disabled
  fast boot disabled

 Security Menu:
  Supervisor Password Not installed
  user password Not Installed
  HDD Security Configuration:
   P0:ST8000NE0004-1ZF11G   <- SATA drive that won't show in FreeBSD
   P1:ST12000NM000J-2TY103  <- SATA drive that won't show in FreeBSD

 Advanced\Storage Configuration Menu:
  SATA Mode AHCI
  SATA Port 1 Hot Plug Enabled -> disabled
  SATA Port 2 Hot Plug Enabled -> disabled
  SATA Port 3 Hot Plug Enabled -> disabled
  SATA Port 4 Hot Plug Enabled -> disabled
  SATA port1 ST8000NE0004-1 (8001.5GB)
  SATA Port2 ST12000NM000J- (12000.1GB)

 OC Tweaker Menu: (I had not touched this menu previously)
  (there are two pages of stuff here, all marked 'Auto'. i left it alone.)

 Advanced\Trusted Computing Menu:(I had not touched this menu previously)
  Security Device Support (TPM2.0): Enable
  SHA256 PCR Bank Enabled
  SHA384 PCR Bank Disabled
  Pending Operation None
  Platform Hierarchy Enabled
  Storage Hierarchy Enabled -> Disabled
  Endorsement Hierarchy Endabled
  Physical Presence Spec Version 1.3
  Device select auto

I also tried:
 RGB LED On/Off on -> off
 Above 4G Decoding enabled -> disabled
 Re-Size Bar support enabled -> disabled

So the above was about a dozen reboots. Last thing I did was reset all settings to default.

Each time I rebooted i checked for drives in /dev. no 'da' devices showed but i also looked for anything unusual.

I also did an 'ls /dev/diskid' to see if anything showed there.

Then I did a gpart show and gpart list. No joy there either.

Note that the bios has no problem listing the drives on two screens so it seems there is something going right at that point. 

first issue in dmesg still seems to be:
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)

Also, SATA issues remain:
root(33)au:~ # cat /var/log/dmesg.today | grep -A 2 SATA
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
--
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
--
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
--
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


Please don't hesitate to let me know if there is something else I can do.
Comment 10 Vladimir Druzenko freebsd_committer freebsd_triage 2023-07-26 22:04:50 UTC
> plug and play OS
Must be turned off 1st.
Comment 11 Justin Tocci 2023-07-27 13:32:00 UTC
Thank you for your suggestion.

I just did a reboot with:
verbose 
fast boot disabled
SATA Port 1 Hot Plug enabled
SATA Port 2,3,4 Hot Plug disabled
(SATA ports r1 and 2 have disk drives attached)
display priority external -> internal
full screen logo disabled

result was no joy.

My research from Alexander Motin's post suggesting Plug and Play OS be turned off led me to believe this is sometimes listed as PnP/PCI Configuration. I found no reference to PnP or Plug and Play in the bios. Just now I did a thorough search of every screen and option and found no reference. I then searched the ASRock manual, website and then the internet for alternate names and came up with nothing. I welcome all suggestions. But I do have a PCI Configuration screen. 

That screen only has three options. Disabling "Above 4G Decoding" removes the menu items for "Re-Size Bar support" and "Above 4GB MMIO Limit". I had tried this already as reported on this page but adding it to the above changes gave me the same top thirty lines of dmesg and no additional hard drives.

ls /dev/
acpi            ctty            hpet0           log             mixer6          nvme0ns1        sequencer0      ttyv3           ugen0.1         uhid0           wmistat0
apm             devctl          input           mdctl           mlx5ctl         nvme1           sndstat         ttyv4           ugen1.1         uhid1           xpt0
apmctl          devctl2         io              mem             music0          nvme1ns1        stderr          ttyv5           ugen1.2         uhid2           zero
audit           devstat         iov             midistat        netdump         nvme2           stdin           ttyv6           ugen1.3         uinput          zfs
auditpipe       diskid          kbd0            mixer0          netmap          nvme2ns1        stdout          ttyv7           ugen1.4         ukbd0
bpf             efi             kbd1            mixer1          null            pci             sysmouse        ttyv8           ugen1.5         ukbd1
bpf0            fd              kbd2            mixer2          nvd0            pfil            tcp_log         ttyv9           ugen2.1         ums0
console         fido            kbdmux0         mixer3          nvd1            pts             ttyv0           ttyva           ugen3.1         urandom
consolectl      full            klog            mixer4          nvd2            random          ttyv1           ttyvb           ugen4.1         usb
crypto          geom.ctl        kmem            mixer5          nvme0           reroot          ttyv2           ufssuspend      ugen4.2         usbctl


dmesg, both trys:
root(33)au:~ # dmesg
tcp_log: tcp_log device
crypto: <crypto core>
kbd0 at kbdmux0
io: <I/O>
mem: <memory>
null: <full device, null device, zero device>
[ath_hal] loaded
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
crypto: assign cryptosoft0 driver id 0, flags 0x6000000
aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS,SHA1,SHA256>
crypto: assign aesni0 driver id 1, flags 0xe000000
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)
ACPI: Skipping parse of AML opcode: OpcodeName unavailable (0x0014)
ACPI: 15 ACPI AML tables successfully acquired and loaded
PCIe: Memory Mapped configuration base @ 0xf0000000
Comment 12 Justin Tocci 2023-07-27 13:40:51 UTC
dmesg | grep -E "SATA|pci18|pcib18|failed|unable"

pcib2: failed to allocate initial memory window: 0xfbe00000-0xfc8fffff
pcib2: failed to allocate initial memory window (0xfbe00000-0xfc8fffff,0xb00000)
pcib3: failed to allocate initial memory window: 0xfbe00000-0xfc8fffff
pcib9: failed to allocate initial memory window: 0xfbe00000-0xfc2fffff
pcib9: failed to allocate initial memory window (0xfbe00000-0xfc2fffff,0x500000)
pcib10: failed to allocate initial memory window: 0xfbe00000-0xfc2fffff
pcib18: <ACPI PCI-PCI bridge> at device 13.0 on pci10
pcib18: failed to allocate initial memory window: 0xfbe00000-0xfbffffff
pcib18:   domain            0
pcib18:   secondary bus     18
pcib18:   subordinate bus   18
pcib18: could not get PCI interrupt routing table for \134_SB_.PCI0.GPP7.UP00.DP40.UP00.DP68 - AE_NOT_FOUND
pci18: <ACPI PCI bus> on pcib18
pcib18: allocated bus range (18-18) for rid 0 of pci18
pci18: domain=0, physical bus=18
pcib18: failed to allocate initial memory window (0xfbe80000-0xfbe803ff,0x400)
pcib18: failed to allocate initial memory window (0-0xffffffff,0x400)
pci18: pci0:18:0:0 bar 0x24 failed to allocate
ahci0: <AHCI SATA controller> at device 0.0 on pci18
pcib18: failed to allocate initial memory window (0-0xffffffff,0x400)
ahci0: 0x400 bytes of rid 0x24 res 3 failed (0, 0xffffffffffffffff).
ahci0: <AHCI SATA controller> mem 0xfc580000-0xfc5803ff at device 0.0 on pci20
ahci0: Caps: 64bit NCQ SNTF SS ALP AL CLO 6Gbps PM PMD SSC PSC 32cmd eSATA 6ports
ahc_isa_identify 0: ioport 0xc00 alloc failed
ahc_isa_identify 1: ioport 0x1c00 alloc failed
ahc_isa_identify 2: ioport 0x2c00 alloc failed
ahc_isa_identify 3: ioport 0x3c00 alloc failed
ahc_isa_identify 4: ioport 0x4c00 alloc failed
ahc_isa_identify 5: ioport 0x5c00 alloc failed
ahc_isa_identify 6: ioport 0x6c00 alloc failed
ahc_isa_identify 7: ioport 0x7c00 alloc failed
ahc_isa_identify 8: ioport 0x8c00 alloc failed
ahc_isa_identify 9: ioport 0x9c00 alloc failed
ahc_isa_identify 10: ioport 0xac00 alloc failed
ahc_isa_identify 11: ioport 0xbc00 alloc failed
ahc_isa_identify 12: ioport 0xcc00 alloc failed
ahc_isa_identify 13: ioport 0xdc00 alloc failed
ahc_isa_identify 14: ioport 0xec00 alloc failed
sc0 failed to probe on isa0
vga0 failed to probe on isa0
atkbdc0 failed to probe at port 0x60,0x64 on isa0
fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
ppc0 failed to probe at irq 7 on isa0
uart0 failed to probe at port 0x3f8 irq 4 on isa0
uart1 failed to probe at port 0x2f8 irq 3 on isa0
ahcich0: SATA connect timeout time=10000us status=00000000
ahcich1: SATA connect timeout time=10000us status=00000000
ahcich2: SATA connect timeout time=10000us status=00000000
ahcich3: SATA connect timeout time=10000us status=00000000
pci18: driver added
ahci1: <AHCI SATA controller> at device 0.0 on pci18
pcib18: failed to allocate initial memory window (0-0xffffffff,0x400)
ahci1: 0x400 bytes of rid 0x24 res 3 failed (0, 0xffffffffffffffff).
pci18: driver added
ahci1: <AHCI SATA controller> at device 0.0 on pci18
pcib18: failed to allocate initial memory window (0-0xffffffff,0x400)
ahci1: 0x400 bytes of rid 0x24 res 3 failed (0, 0xffffffffffffffff).
ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3, OCF=0x3. Timeout
Comment 13 Justin Tocci 2023-07-27 16:06:01 UTC
I am open to more complicated requests. 

If there is diagnostic software, I can run it.

if someone could suggest some code to run that would narrow down the possibilities of what is wrong, I can do that too.
Comment 14 Justin Tocci 2023-08-20 14:10:45 UTC
Quick recap. Last request was for me to turn Plug and Play OS off.

No such setting in BIOS. Best guess was PCI Configuration\Above 4G Decoding. I disabled that many times, no joy.

If I were to attempt to compile the kernel would that help? Any other suggestions welcome.
Comment 15 Justin Tocci 2023-09-02 15:07:18 UTC
Created attachment 244596 [details]
New Verbose boot with hw.pci.enable_io_modes=0

New Verbose boot with hw.pci.enable_io_modes=0
Comment 16 Justin Tocci 2023-09-02 16:05:57 UTC
Created attachment 244598 [details]
Moved SATA drives to #3,#4 SATA ports from #1,#2, verbose dmesg
Comment 17 Daniel Engberg freebsd_committer freebsd_triage 2023-10-14 05:17:04 UTC
Seeing similar issues on my board after BIOS 1710 which (might not be related) bumped AGESA to "Combo AM5 PI 1.0.8.0"
Comment 18 Daniel Engberg freebsd_committer freebsd_triage 2023-10-17 20:08:01 UTC
Justin, what BIOS version are you on and have you tried updating it? I would recommend doing it in series to increase the possibility finding on version that works.
Comment 19 Justin Tocci 2023-10-18 23:12:45 UTC
(In reply to Daniel Engberg from comment #18)
I have updated bios from 1.11 (shipped) to 1.24 (latest non-beta available at the time) and the issue persists.

There is now a 1.28 for "Update AGESA to ComboAM5". 

Is it possible that the AGESA referenced BIOS will fix a FreeBSD SATA issue that is not an issue for Linux or Windows? It does not seem possible to me but if someone needs me to try it, let me know.
Comment 20 Daniel Engberg freebsd_committer freebsd_triage 2023-10-19 19:06:30 UTC
As I mentioned in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272507#c17 I started seeing it after a BIOS update and I'm quite sure it's related but Windows and Linux might do something FreeBSD doesn't.
Comment 21 Justin Tocci 2023-10-19 21:21:46 UTC
I will try 1.28 this weekend but I am concerned that they already have a 1.29 and a 1.30 and there's only been two months and a week between the three.
Comment 22 Justin Tocci 2023-10-23 15:13:47 UTC
I was unable to try the new bios last weekend. I will try again shortly.
Comment 23 john 2023-10-24 04:38:25 UTC
Created attachment 245842 [details]
Boot verbose log for Asus TUF x670e-plus missing SATA drives
Comment 24 john 2023-10-24 04:41:33 UTC
I'm also having this problem after upgrading to an Asus TUF x670e-plus MB which I dual boot Windows and FreeBSD from NVMe.  Windows sees the SATA optical drives fine, FreeBSD doesn't.  Currently on BIOS 1809 with fairly stock settings.
Comment 25 Justin Tocci 2023-11-04 16:18:05 UTC
I just posted the dmesg for ASROCK Steel Legend X670E with BIOS 1.28 to:

https://dmesgd.nycbug.org/index.cgi?do=view&id=7374

$ dmidecode
...
BIOS Information
        Vendor: American Megatrends International, LLC.
        Version: 1.28
...

no SATA drives in /dev or listed in $ gpart show
Comment 26 Oleg Sidorkin 2023-12-21 16:42:29 UTC
ASUS ProArt creator wifi - same issue after updating BIOS to any version above 1602. Rolled it back to 1602 for now.
Comment 27 Cameron 2024-01-30 18:49:49 UTC
I had an issue with my Asus Crosshair x670 Extreme where I originally couldn't boot FreeBSD from the SATA disk where it was installed... Unless I went into the BIOS and selected the drive via "boot override". Eventually, I was able to fix the issue by disabling fast boot. 

Otherwise... FreeBSD worked perfectly on this board until BIOS 1709.

Unfortunately, you can't downgrade from 1709... But as of 1709, USB and ethernet stopped working entirely... Some new BIOS betas since then have gotten USB working again, but not the onboard i225 ethernet. I've worked around this by installing an Intel x550-T2 NIC... But the system is unstable, and seems slower... The slowness might be related to disk IO? I'm not sure. The SATA Samsung 860 Pro I'm using is reported as 96% by Samsung Magician.

Interestingly, downgrading back to 1709, USB still works... I suspect that downgrading to the older BIOS version doesn't downgrade some of the other firmware. My guess is that while the BIOS is downgraded to 1709, that the AGESA is still more recent than what shipped with 1709.

I ended downgrading to 1709 because it's less unstable in Windows/Linux and found it now hilariously works with FreeBSD now too. But It's still a bit unstable and I still have this weird slowness in FreeBSD.

So while I don't have quite the same bug, this might be useful as I do think this is related. Probably today, I'll finally file a separate bug.
Comment 28 Oleg Sidorkin 2024-02-06 11:35:28 UTC
ASUS has been released 1904 recently - same behavior (SATA drives are not detected). Is there any way to find out what's wrong?
Comment 29 John Baldwin freebsd_committer freebsd_triage 2024-02-08 18:46:17 UTC
The boot verbose logs are helpful, can someone with an affected machine provide the output of 'devinfo -u' and 'devinfo -rv'?  There is a resource conflict that prevents some PCI devices (including the AHCI controller) from allocating their firmware-assigned resources and I need to see the source of the conflict which I can't see in the verbose logs.
Comment 30 Justin Tocci 2024-02-08 19:30:48 UTC
John Baldwin: On the off chance that you get this fixed, is there a bug bounty website where I can contract you and people like you directly to do stuff like this?

the info you asked for:

root(33)au:~ # devinfo -u
Interrupt request lines:
    0x0 (attimer0)
    0x1 (root0)
    0x3-0x7 (root0)
    0x8 (atrtc0)
    0x9 (acpi0)
    0xa-0x37 (root0)
    0x38 (hpet0)
    0x39 (hpet0)
    0x3a (hpet0)
    0x3b (ix0)
    0x3c (ix0)
    0x3d (ix0)
    0x3e (ix0)
    0x3f (ix0)
    0x40 (ix0)
    0x41 (ix0)
    0x42 (ix0)
    0x43 (ix0)
    0x44 (ix0)
    0x45 (ix0)
    0x46 (ix0)
    0x47 (ix0)
    0x48 (ix0)
    0x49 (ix0)
    0x4a (ix0)
    0x4b (ix0)
    0x4c (ix1)
    0x4d (ix1)
    0x4e (ix1)
    0x4f (ix1)
    0x50 (ix1)
    0x51 (ix1)
    0x52 (ix1)
    0x53 (ix1)
    0x54 (ix1)
    0x55 (ix1)
    0x56 (ix1)
    0x57 (ix1)
    0x58 (ix1)
    0x59 (ix1)
    0x5a (ix1)
    0x5b (ix1)
    0x5c (ix1)
    0x5d (re0)
    0x5e (nvme0)
    0x5f (nvme0)
    0x60 (nvme0)
    0x61 (nvme0)
    0x62 (nvme0)
    0x63 (nvme0)
    0x64 (nvme0)
    0x65 (nvme0)
    0x66 (nvme0)
    0x67 (nvme1)
    0x68 (nvme1)
    0x69 (nvme1)
    0x6a (nvme1)
    0x6b (nvme1)
    0x6c (nvme1)
    0x6d (nvme1)
    0x6e (nvme1)
    0x6f (nvme1)
    0x70 (xhci0)
    0x71 (xhci1)
    0x72 (nvme2)
    0x73 (nvme2)
    0x74 (nvme2)
    0x75 (nvme2)
    0x76 (nvme2)
    0x77 (nvme2)
    0x78 (nvme2)
    0x79 (nvme2)
    0x7a (nvme2)
    0x7b (hdac0)
    0x7c (xhci2)
    0x7d (xhci3)
    0x7e (hdac1)
    0x7f (xhci4)
DMA request lines:
    0-3 (root0)
    4 (atdma0)
    5-7 (root0)
I/O ports:
    0x0-0xf (atdma0)
    0x10-0x1f (acpi0)
    0x20-0x21 ----
    0x22-0x3f (acpi0)
    0x40-0x43 (attimer0)
    0x44-0x60 (root0)
    0x61 ----
    0x62 (root0)
    0x63 (acpi0)
    0x64 (root0)
    0x65 (acpi0)
    0x66 (root0)
    0x67-0x6f (acpi0)
    0x70-0x71 (atrtc0)
    0x72-0x7f (acpi0)
    0x80 (acpi0)
    0x81-0x83 (atdma0)
    0x84-0x86 (acpi0)
    0x87 (atdma0)
    0x88 (acpi0)
    0x89-0x8b (atdma0)
    0x8c-0x8e (acpi0)
    0x8f (atdma0)
    0x90-0x9f (acpi0)
    0xa0-0xa1 ----
    0xa2-0xbf (acpi0)
    0xc0-0xdf (atdma0)
    0xe0-0xef (acpi0)
    0xf0-0x40a (root0)
    0x40b (acpi0)
    0x40c-0x413 (root0)
    0x414 (cpu31)
    0x414 (cpu30)
    0x414 (cpu29)
    0x414 (cpu28)
    0x414 (cpu27)
    0x414 (cpu26)
    0x414 (cpu25)
    0x414 (cpu24)
    0x414 (cpu23)
    0x414 (cpu22)
    0x414 (cpu21)
    0x414 (cpu20)
    0x414 (cpu19)
    0x414 (cpu18)
    0x414 (cpu17)
    0x414 (cpu16)
    0x414 (cpu15)
    0x414 (cpu14)
    0x414 (cpu13)
    0x414 (cpu12)
    0x414 (cpu11)
    0x414 (cpu10)
    0x414 (cpu9)
    0x414 (cpu8)
    0x414 (cpu7)
    0x414 (cpu6)
    0x414 (cpu5)
    0x414 (cpu4)
    0x414 (cpu3)
    0x414 (cpu2)
    0x414 (cpu1)
    0x414 (cpu0)
    0x415 (cpu31)
    0x415 (cpu30)
    0x415 (cpu29)
    0x415 (cpu28)
    0x415 (cpu27)
    0x415 (cpu26)
    0x415 (cpu25)
    0x415 (cpu24)
    0x415 (cpu23)
    0x415 (cpu22)
    0x415 (cpu21)
    0x415 (cpu20)
    0x415 (cpu19)
    0x415 (cpu18)
    0x415 (cpu17)
    0x415 (cpu16)
    0x415 (cpu15)
    0x415 (cpu14)
    0x415 (cpu13)
    0x415 (cpu12)
    0x415 (cpu11)
    0x415 (cpu10)
    0x415 (cpu9)
    0x415 (cpu8)
    0x415 (cpu7)
    0x415 (cpu6)
    0x415 (cpu5)
    0x415 (cpu4)
    0x415 (cpu3)
    0x415 (cpu2)
    0x415 (cpu1)
    0x415 (cpu0)
    0x416-0x4cf (root0)
    0x4d0-0x4d1 (acpi0)
    0x4d2-0x4d5 (root0)
    0x4d6 (acpi0)
    0x4d7-0x7ff (root0)
    0x800-0x89f (acpi0)
    0x8a0-0x8ff (root0)
    0x900-0x90f (acpi0)
    0x910-0x91f (acpi0)
    0x920-0x9ff (root0)
    0xa00-0xa0f (acpi0)
    0xa10-0xa1f (acpi0)
    0xa20-0xa2f (acpi0)
    0xa30-0xaff (root0)
    0xb00-0xb0f (acpi0)
    0xb10-0xb1f (root0)
    0xb20-0xb3f (acpi0)
    0xb40-0xbff (root0)
    0xc00-0xc01 (acpi0)
    0xc02-0xc13 (root0)
    0xc14 (acpi0)
    0xc15-0xc4f (root0)
    0xc50-0xc51 (acpi0)
    0xc52 (acpi0)
    0xc53-0xc6b (root0)
    0xc6c (acpi0)
    0xc6d-0xc6e (root0)
    0xc6f (acpi0)
    0xc70-0xcd7 (root0)
    0xcd8-0xcdf (acpi0)
    0xce0-0xcf7 (root0)
    0xcf8-0xcff (pcib0)
    0xd00-0xcfff (root0)
    0xd000-0xefff (pcib2)
    0xf000-0xffff (pcib22)
I/O memory addresses:
    0x0-0x9ffff (ram0)
    0xa0000-0xfffff (root0)
    0x100000-0x9afefff (ram0)
    0x9aff000-0x9ffffff (root0)
    0xa000000-0xa1fffff (ram0)
    0xa200000-0xa20ffff (root0)
    0xa210000-0xaffffff (ram0)
    0xb000000-0xb020fff (root0)
    0xb021000-0x6d47efff (ram0)
    0x6d47f000-0x73453fff (root0)
    0x73454000-0x73457fff ----
    0x73458000-0x7345bfff ----
    0x7345c000-0x792d7fff (root0)
    0x792d8000-0x792d801e (smbios0)
    0x792d801f-0x795fefff (root0)
    0x795ff000-0x7bffafff (ram0)
    0x7bffb000-0x7fffffff (root0)
    0x80000000-0x801fffff (pcib1)
    0x80200000-0xefffffff (root0)
    0xf0000000-0xf7ffffff (acpi0)
    0xf8000000-0xfb7fffff (root0)
    0xfb800000-0xfbcfffff (pcib1)
    0xfbd00000-0xfbefffff (root0)
    0xfbf00000-0xfbf00fff ----
    0xfbf01000-0xfbffffff (root0)
    0xfc000000-0xfc8fffff (pcib2)
    0xfc900000-0xfccfffff (pcib22)
    0xfcd00000-0xfcdfffff (pcib23)
    0xfce00000-0xfcefffff (pcib21)
    0xfcf00000-0xfd1fffff (root0)
    0xfd200000-0xfd2fffff (acpi0)
    0xfd300000-0xfd5fffff (root0)
    0xfd600000-0xfd67ffff (acpi0)
    0xfd680000-0xfebfffff (root0)
    0xfec00000-0xfec00fff (acpi0)
    0xfec01000-0xfec01fff (acpi0)
    0xfec02000-0xfec0ffff (root0)
    0xfec10000-0xfec10fff (acpi0)
    0xfec11000-0xfec2ffff (root0)
    0xfec30000-0xfec30fff ----
    0xfec31000-0xfecfffff (root0)
    0xfed00000-0xfed003ff (hpet0)
    0xfed00400-0xfed7ffff (root0)
    0xfed80000-0xfed8ffff (acpi0)
    0xfed90000-0xfedbffff (root0)
    0xfedc0000-0xfedc0fff (acpi0)
    0xfedc1000-0xfedfffff (root0)
    0xfee00000-0xfee00fff (acpi0)
    0xfee01000-0xfeffffff (root0)
    0xff000000-0xffffffff (acpi0)
    0x100000000-0x1057ffffff (ram0)
    0x1058000000-0xfcdfffffff (root0)
    0xfce0000000-0xfcf01fffff (pcib22)
    0xfcf0200000-0xffffffffffff (root0)
ACPI I/O ports:
    0x10-0x1f (root0)
    0x22-0x3f (root0)
    0x63 (root0)
    0x65 (root0)
    0x67-0x6f (root0)
    0x72-0x80 (root0)
    0x84-0x86 (root0)
    0x88 (root0)
    0x8c-0x8e (root0)
    0x90-0x9f (root0)
    0xa2-0xbf (root0)
    0xe0-0xef (root0)
    0x40b (root0)
    0x4d0-0x4d1 (root0)
    0x4d6 (root0)
    0x800-0x807 (root0)
    0x808-0x80b (acpi_timer0)
    0x80c-0x89f (root0)
    0x900-0x91f (root0)
    0xa00-0xa2f (root0)
    0xb00-0xb0f (root0)
    0xb20-0xb3f (root0)
    0xc00-0xc01 (root0)
    0xc14 (root0)
    0xc50-0xc52 (root0)
    0xc6c (root0)
    0xc6f (root0)
    0xcd8-0xcdf (root0)
ACPI I/O memory addresses:
    0xf0000000-0xf7ffffff (root0)
    0xfd200000-0xfd2fffff (root0)
    0xfd600000-0xfd67ffff (root0)
    0xfec00000-0xfec01fff (root0)
    0xfec10000-0xfec10fff (root0)
    0xfed80000-0xfed8ffff (root0)
    0xfedc0000-0xfedc0fff (root0)
    0xfee00000-0xfee00fff (root0)
    0xff000000-0xffffffff (root0)
PCI domain 0 bus numbers:
    0 (pci0)
    1 (pcib1)
    2-20 (pcib2)
    21 (pcib21)
    22 (pcib22)
    23 (pcib23)
    24-255 (root0)
pcib1 bus numbers:
    1 (pci1)
pcib1 I/O port window:
pcib1 memory window:
    0xfb800000-0xfb9fffff (ix0)
    0xfba00000-0xfba03fff (ix0)
    0xfba04000-0xfba07fff (ix1)
    0xfba08000-0xfbcfffff (root0)
pcib1 prefetch window:
    0x80000000-0x801fffff (ix1)
pcib2 bus numbers:
    2 (pci2)
    3-20 (pcib3)
pcib2 I/O port window:
    0xd000-0xefff (pcib3)
pcib2 memory window:
    0xfc000000-0xfc8fffff (pcib3)
pcib2 prefetch window:
pcib3 bus numbers:
    3 (pci3)
    4 (pcib4)
    5 (pcib5)
    6 (pcib6)
    7 (pcib7)
    8 (pcib8)
    9-18 (pcib9)
    19 (pcib19)
    20 (pcib20)
pcib3 I/O port window:
    0xd000-0xdfff (pcib8)
    0xe000-0xefff (pcib5)
pcib3 memory window:
    0xfc000000-0xfc2fffff (pcib9)
    0xfc300000-0xfc4fffff (pcib7)
    0xfc500000-0xfc5fffff (pcib20)
    0xfc600000-0xfc6fffff (pcib19)
    0xfc700000-0xfc7fffff (pcib8)
    0xfc800000-0xfc8fffff (pcib5)
pcib3 prefetch window:
pcib4 bus numbers:
    4 (pci4)
pcib4 I/O port window:
pcib4 memory window:
pcib4 prefetch window:
pcib5 bus numbers:
    5 (pci5)
pcib5 I/O port window:
    0xe000-0xe0ff (re0)
    0xe100-0xefff (root0)
pcib5 memory window:
    0xfc800000-0xfc803fff (re0)
    0xfc804000-0xfc804fff (re0)
    0xfc805000-0xfc8fffff (root0)
pcib5 prefetch window:
pcib6 bus numbers:
    6 (pci6)
pcib6 I/O port window:
pcib6 memory window:
pcib6 prefetch window:
pcib7 bus numbers:
    7 (pci7)
pcib7 I/O port window:
pcib7 memory window:
    0xfc300000-0xfc4fffff (root0)
pcib7 prefetch window:
pcib8 bus numbers:
    8 (pci8)
pcib8 I/O port window:
    0xd000-0xd0ff ----
    0xd100-0xdfff (root0)
pcib8 memory window:
    0xfc700000-0xfc70ffff ----
    0xfc710000-0xfc713fff ----
    0xfc714000-0xfc7fffff (root0)
pcib8 prefetch window:
pcib9 bus numbers:
    9 (pci9)
    10-18 (pcib10)
pcib9 I/O port window:
pcib9 memory window:
    0xfc000000-0xfc2fffff (pcib10)
pcib9 prefetch window:
pcib10 bus numbers:
    10 (pci10)
    11 (pcib11)
    12 (pcib12)
    13 (pcib13)
    14 (pcib14)
    15 (pcib15)
    16 (pcib16)
    17 (pcib17)
    18 (pcib18)
pcib10 I/O port window:
pcib10 memory window:
    0xfc000000-0xfc0fffff (pcib17)
    0xfc100000-0xfc1fffff (pcib16)
    0xfc200000-0xfc2fffff (pcib11)
pcib10 prefetch window:
pcib11 bus numbers:
    11 (pci11)
pcib11 I/O port window:
pcib11 memory window:
    0xfc200000-0xfc203fff (nvme0)
    0xfc204000-0xfc2fffff (root0)
pcib11 prefetch window:
pcib12 bus numbers:
    12 (pci12)
pcib12 I/O port window:
pcib12 memory window:
pcib12 prefetch window:
pcib13 bus numbers:
    13 (pci13)
pcib13 I/O port window:
pcib13 memory window:
pcib13 prefetch window:
pcib14 bus numbers:
    14 (pci14)
pcib14 I/O port window:
pcib14 memory window:
pcib14 prefetch window:
pcib15 bus numbers:
    15 (pci15)
pcib15 I/O port window:
pcib15 memory window:
pcib15 prefetch window:
pcib16 bus numbers:
    16 (pci16)
pcib16 I/O port window:
pcib16 memory window:
    0xfc100000-0xfc103fff (nvme1)
    0xfc104000-0xfc1fffff (root0)
pcib16 prefetch window:
pcib17 bus numbers:
    17 (pci17)
pcib17 I/O port window:
pcib17 memory window:
    0xfc000000-0xfc007fff (xhci0)
    0xfc008000-0xfc0fffff (root0)
pcib17 prefetch window:
pcib18 bus numbers:
    18 (pci18)
pcib18 I/O port window:
pcib18 memory window:
pcib18 prefetch window:
pcib19 bus numbers:
    19 (pci19)
pcib19 I/O port window:
pcib19 memory window:
    0xfc600000-0xfc607fff (xhci1)
    0xfc608000-0xfc6fffff (root0)
pcib19 prefetch window:
pcib20 bus numbers:
    20 (pci20)
pcib20 I/O port window:
pcib20 memory window:
    0xfc500000-0xfc5003ff ----
    0xfc500400-0xfc5fffff (root0)
pcib20 prefetch window:
pcib21 bus numbers:
    21 (pci21)
pcib21 I/O port window:
pcib21 memory window:
    0xfce00000-0xfce03fff (nvme2)
    0xfce04000-0xfcefffff (root0)
pcib21 prefetch window:
pcib22 bus numbers:
    22 (pci22)
pcib22 I/O port window:
    0xf000-0xffff (root0)
pcib22 memory window:
    0xfc900000-0xfc9fffff (xhci3)
    0xfca00000-0xfcafffff (xhci2)
    0xfcb00000-0xfcb03fff (hdac0)
    0xfcb04000-0xfcb07fff (root0)
    0xfcb08000-0xfcb0ffff (hdac1)
    0xfcb10000-0xfcbfffff (root0)
    0xfcc00000-0xfcc7ffff (vgapci0)
    0xfcc80000-0xfccfffff (root0)
pcib22 prefetch window:
    0xfce0000000-0xfcefffffff (vgapci0)
    0xfcf0000000-0xfcf01fffff (vgapci0)
pcib23 bus numbers:
    23 (pci23)
pcib23 I/O port window:
pcib23 memory window:
    0xfcd00000-0xfcdfffff (xhci4)
pcib23 prefetch window:



########################################################################################################################################################################################################################################################################################################################################################################################################






root(33)au:~ # devinfo -rv
nexus0
  smbios0
      I/O memory addresses:
          0x792d8000-0x792d801e
  efirtc0
  cryptosoft0
  aesni0
  ram0
      I/O memory addresses:
          0x0-0x9ffff
          0x100000-0x9afefff
          0xa000000-0xa1fffff
          0xa210000-0xaffffff
          0xb021000-0x6d47efff
          0x795ff000-0x7bffafff
          0x100000000-0x1057ffffff
  apic0
  acpi0
      Interrupt request lines:
          0x9
      I/O ports:
          0x10-0x1f
          0x22-0x3f
          0x63
          0x65
          0x67-0x6f
          0x72-0x7f
          0x80
          0x84-0x86
          0x88
          0x8c-0x8e
          0x90-0x9f
          0xa2-0xbf
          0xe0-0xef
          0x40b
          0x4d0-0x4d1
          0x4d6
          0x800-0x89f
          0x900-0x90f
          0x910-0x91f
          0xa00-0xa0f
          0xa10-0xa1f
          0xa20-0xa2f
          0xb00-0xb0f
          0xb20-0xb3f
          0xc00-0xc01
          0xc14
          0xc50-0xc51
          0xc52
          0xc6c
          0xc6f
          0xcd8-0xcdf
      I/O memory addresses:
          0xf0000000-0xf7ffffff
          0xfd200000-0xfd2fffff
          0xfd600000-0xfd67ffff
          0xfec00000-0xfec00fff
          0xfec01000-0xfec01fff
          0xfec10000-0xfec10fff
          0xfed80000-0xfed8ffff
          0xfedc0000-0xfedc0fff
          0xfee00000-0xfee00fff
          0xff000000-0xffffffff
    pcib0 pnpinfo _HID=PNP0A08 _UID=0 _CID=PNP0A03 at handle=\_SB_.PCI0
        I/O ports:
            0xcf8-0xcff
      pci0
          PCI domain 0 bus numbers:
              0
        hostb0 pnpinfo vendor=0x1022 device=0x14d8 subvendor=0x1022 subdevice=0x14d8 class=0x060000 at slot=0 function=0 dbsf=pci0:0:0:0 handle=\_SB_.PCI0.GNBD
        unknown pnpinfo vendor=0x1022 device=0x14d9 subvendor=0x1022 subdevice=0x14d9 class=0x080600 at slot=0 function=2 dbsf=pci0:0:0:2 handle=\_SB_.PCI0.IOMA
        hostb1 pnpinfo vendor=0x1022 device=0x14da subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=1 function=0 dbsf=pci0:0:1:0 handle=\_SB_.PCI0.D003
        pcib1 pnpinfo vendor=0x1022 device=0x14db subvendor=0x1022 subdevice=0x1453 class=0x060400 at slot=1 function=1 dbsf=pci0:0:1:1 handle=\_SB_.PCI0.GPP0
            I/O memory addresses:
                0x80000000-0x801fffff
                0xfb800000-0xfbcfffff
            PCI domain 0 bus numbers:
                1
          pci1
              pcib1 bus numbers:
                  1
            ix0 pnpinfo vendor=0x8086 device=0x1563 subvendor=0x8086 subdevice=0x0001 class=0x020000 at slot=0 function=0 dbsf=pci0:1:0:0
                Interrupt request lines:
                    0x3b
                    0x3c
                    0x3d
                    0x3e
                    0x3f
                    0x40
                    0x41
                    0x42
                    0x43
                    0x44
                    0x45
                    0x46
                    0x47
                    0x48
                    0x49
                    0x4a
                    0x4b
                pcib1 memory window:
                    0xfb800000-0xfb9fffff
                    0xfba00000-0xfba03fff
            ix1 pnpinfo vendor=0x8086 device=0x1563 subvendor=0x8086 subdevice=0x0001 class=0x020000 at slot=0 function=1 dbsf=pci0:1:0:1
                Interrupt request lines:
                    0x4c
                    0x4d
                    0x4e
                    0x4f
                    0x50
                    0x51
                    0x52
                    0x53
                    0x54
                    0x55
                    0x56
                    0x57
                    0x58
                    0x59
                    0x5a
                    0x5b
                    0x5c
                pcib1 memory window:
                    0xfba04000-0xfba07fff
                pcib1 prefetch window:
                    0x80000000-0x801fffff
        hostb2 pnpinfo vendor=0x1022 device=0x14da subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=2 function=0 dbsf=pci0:0:2:0 handle=\_SB_.PCI0.D00F
        pcib2 pnpinfo vendor=0x1022 device=0x14db subvendor=0x1022 subdevice=0x1453 class=0x060400 at slot=2 function=1 dbsf=pci0:0:2:1 handle=\_SB_.PCI0.GPP7
            I/O ports:
                0xd000-0xefff
            I/O memory addresses:
                0xfc000000-0xfc8fffff
            PCI domain 0 bus numbers:
                2-20
          pci2
              pcib2 bus numbers:
                  2
            pcib3 pnpinfo vendor=0x1022 device=0x43f4 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=0 function=0 dbsf=pci0:2:0:0 handle=\_SB_.PCI0.GPP7.UP00
                pcib2 bus numbers:
                    3-20
                pcib2 I/O port window:
                    0xd000-0xefff
                pcib2 memory window:
                    0xfc000000-0xfc8fffff
              pci3
                  pcib3 bus numbers:
                      3
                pcib4 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=0 function=0 dbsf=pci0:3:0:0 handle=\_SB_.PCI0.GPP7.UP00.DP00
                    pcib3 bus numbers:
                        4
                  pci4
                      pcib4 bus numbers:
                          4
                pcib5 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=4 function=0 dbsf=pci0:3:4:0 handle=\_SB_.PCI0.GPP7.UP00.DP20
                    pcib3 bus numbers:
                        5
                    pcib3 I/O port window:
                        0xe000-0xefff
                    pcib3 memory window:
                        0xfc800000-0xfc8fffff
                  pci5
                      pcib5 bus numbers:
                          5
                    re0 pnpinfo vendor=0x10ec device=0x8168 subvendor=0x1849 subdevice=0x8168 class=0x020000 at slot=0 function=0 dbsf=pci0:5:0:0 handle=\_SB_.PCI0.GPP7.UP00.DP20.NV00
                        Interrupt request lines:
                            0x5d
                        pcib5 I/O port window:
                            0xe000-0xe0ff
                        pcib5 memory window:
                            0xfc800000-0xfc803fff
                            0xfc804000-0xfc804fff
                      miibus0
                        rgephy0 pnpinfo oui=0xe04c model=0x0 rev=0x0 at phyno=1
                pcib6 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=5 function=0 dbsf=pci0:3:5:0 handle=\_SB_.PCI0.GPP7.UP00.DP28
                    pcib3 bus numbers:
                        6
                  pci6
                      pcib6 bus numbers:
                          6
                pcib7 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=6 function=0 dbsf=pci0:3:6:0 handle=\_SB_.PCI0.GPP7.UP00.DP30
                    pcib3 bus numbers:
                        7
                    pcib3 memory window:
                        0xfc300000-0xfc4fffff
                  pci7
                      pcib7 bus numbers:
                          7
                    unknown pnpinfo vendor=0x14c3 device=0x0616 subvendor=0x14c3 subdevice=0x0616 class=0x028000 at slot=0 function=0 dbsf=pci0:7:0:0 handle=\_SB_.PCI0.GPP7.UP00.DP30.EP00
                pcib8 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=7 function=0 dbsf=pci0:3:7:0 handle=\_SB_.PCI0.GPP7.UP00.DP38
                    pcib3 bus numbers:
                        8
                    pcib3 I/O port window:
                        0xd000-0xdfff
                    pcib3 memory window:
                        0xfc700000-0xfc7fffff
                  pci8
                      pcib8 bus numbers:
                          8
                    unknown pnpinfo vendor=0x10ec device=0x8125 subvendor=0x1849 subdevice=0x8125 class=0x020000 at slot=0 function=0 dbsf=pci0:8:0:0 handle=\_SB_.PCI0.GPP7.UP00.DP38.EP00
                        pcib8 I/O port window:
                            0xd000-0xd0ff
                        pcib8 memory window:
                            0xfc700000-0xfc70ffff
                            0xfc710000-0xfc713fff
                pcib9 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=8 function=0 dbsf=pci0:3:8:0 handle=\_SB_.PCI0.GPP7.UP00.DP40
                    pcib3 bus numbers:
                        9-18
                    pcib3 memory window:
                        0xfc000000-0xfc2fffff
                  pci9
                      pcib9 bus numbers:
                          9
                    pcib10 pnpinfo vendor=0x1022 device=0x43f4 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=0 function=0 dbsf=pci0:9:0:0 handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00
                        pcib9 bus numbers:
                            10-18
                        pcib9 memory window:
                            0xfc000000-0xfc2fffff
                      pci10
                          pcib10 bus numbers:
                              10
                        pcib11 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=0 function=0 dbsf=pci0:10:0:0 handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP00
                            pcib10 bus numbers:
                                11
                            pcib10 memory window:
                                0xfc200000-0xfc2fffff
                          pci11
                              pcib11 bus numbers:
                                  11
                            nvme0 pnpinfo vendor=0x1987 device=0x5016 subvendor=0x1987 subdevice=0x5016 class=0x010802 at slot=0 function=0 dbsf=pci0:11:0:0 handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP00.NV00
                                Interrupt request lines:
                                    0x5e
                                    0x5f
                                    0x60
                                    0x61
                                    0x62
                                    0x63
                                    0x64
                                    0x65
                                    0x66
                                pcib11 memory window:
                                    0xfc200000-0xfc203fff
                        pcib12 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=4 function=0 dbsf=pci0:10:4:0 handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP20
                            pcib10 bus numbers:
                                12
                          pci12
                              pcib12 bus numbers:
                                  12
                        pcib13 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=5 function=0 dbsf=pci0:10:5:0 handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP28
                            pcib10 bus numbers:
                                13
                          pci13
                              pcib13 bus numbers:
                                  13
                        pcib14 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=6 function=0 dbsf=pci0:10:6:0 handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP30
                            pcib10 bus numbers:
                                14
                          pci14
                              pcib14 bus numbers:
                                  14
                        pcib15 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=7 function=0 dbsf=pci0:10:7:0 handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP38
                            pcib10 bus numbers:
                                15
                          pci15
                              pcib15 bus numbers:
                                  15
                        pcib16 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=8 function=0 dbsf=pci0:10:8:0 handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP40
                            pcib10 bus numbers:
                                16
                            pcib10 memory window:
                                0xfc100000-0xfc1fffff
                          pci16
                              pcib16 bus numbers:
                                  16
                            nvme1 pnpinfo vendor=0x1987 device=0x5016 subvendor=0x1987 subdevice=0x5016 class=0x010802 at slot=0 function=0 dbsf=pci0:16:0:0 handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP40.UP00
                                Interrupt request lines:
                                    0x67
                                    0x68
                                    0x69
                                    0x6a
                                    0x6b
                                    0x6c
                                    0x6d
                                    0x6e
                                    0x6f
                                pcib16 memory window:
                                    0xfc100000-0xfc103fff
                        pcib17 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=12 function=0 dbsf=pci0:10:12:0 handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP60
                            pcib10 bus numbers:
                                17
                            pcib10 memory window:
                                0xfc000000-0xfc0fffff
                          pci17
                              pcib17 bus numbers:
                                  17
                            xhci0 pnpinfo vendor=0x1022 device=0x43f7 subvendor=0x1b21 subdevice=0x1142 class=0x0c0330 at slot=0 function=0 dbsf=pci0:17:0:0 handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP60.XH00
                                Interrupt request lines:
                                    0x70
                                pcib17 memory window:
                                    0xfc000000-0xfc007fff
                              usbus0
                                uhub4
                        pcib18 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=13 function=0 dbsf=pci0:10:13:0 handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP68
                            pcib10 bus numbers:
                                18
                          pci18
                              pcib18 bus numbers:
                                  18
                            unknown pnpinfo vendor=0x1022 device=0x43f6 subvendor=0x1b21 subdevice=0x1062 class=0x010601 at slot=0 function=0 dbsf=pci0:18:0:0 handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP68.SA00
                pcib19 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=12 function=0 dbsf=pci0:3:12:0 handle=\_SB_.PCI0.GPP7.UP00.DP60
                    pcib3 bus numbers:
                        19
                    pcib3 memory window:
                        0xfc600000-0xfc6fffff
                  pci19
                      pcib19 bus numbers:
                          19
                    xhci1 pnpinfo vendor=0x1022 device=0x43f7 subvendor=0x1b21 subdevice=0x1142 class=0x0c0330 at slot=0 function=0 dbsf=pci0:19:0:0 handle=\_SB_.PCI0.GPP7.UP00.DP60.XH00
                        Interrupt request lines:
                            0x71
                        pcib19 memory window:
                            0xfc600000-0xfc607fff
                      usbus1
                        uhub3
                          ubt0 pnpinfo vendor=0x0e8d product=0x0616 devclass=0xef devsubclass=0x02 devproto=0x01 sernum="000000000" release=0x0100 mode=host intclass=0xe0 intsubclass=0x01 intprotocol=0x01 at bus=1 hubaddr=1 port=17 devaddr=3 interface=0 ugen=ugen1.3
                pcib20 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=13 function=0 dbsf=pci0:3:13:0 handle=\_SB_.PCI0.GPP7.UP00.DP68
                    pcib3 bus numbers:
                        20
                    pcib3 memory window:
                        0xfc500000-0xfc5fffff
                  pci20
                      pcib20 bus numbers:
                          20
                    unknown pnpinfo vendor=0x1022 device=0x43f6 subvendor=0x1b21 subdevice=0x1062 class=0x010601 at slot=0 function=0 dbsf=pci0:20:0:0 handle=\_SB_.PCI0.GPP7.UP00.DP68.SA00
                        pcib20 memory window:
                            0xfc500000-0xfc5003ff
        pcib21 pnpinfo vendor=0x1022 device=0x14db subvendor=0x1022 subdevice=0x1453 class=0x060400 at slot=2 function=2 dbsf=pci0:0:2:2 handle=\_SB_.PCI0.GPP8
            I/O memory addresses:
                0xfce00000-0xfcefffff
            PCI domain 0 bus numbers:
                21
          pci21
              pcib21 bus numbers:
                  21
            nvme2 pnpinfo vendor=0x8086 device=0x2525 subvendor=0x8086 subdevice=0x380a class=0x010802 at slot=0 function=0 dbsf=pci0:21:0:0
                Interrupt request lines:
                    0x72
                    0x73
                    0x74
                    0x75
                    0x76
                    0x77
                    0x78
                    0x79
                    0x7a
                pcib21 memory window:
                    0xfce00000-0xfce03fff
        hostb3 pnpinfo vendor=0x1022 device=0x14da subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=3 function=0 dbsf=pci0:0:3:0 handle=\_SB_.PCI0.D012
        hostb4 pnpinfo vendor=0x1022 device=0x14da subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=4 function=0 dbsf=pci0:0:4:0 handle=\_SB_.PCI0.D021
        hostb5 pnpinfo vendor=0x1022 device=0x14da subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=8 function=0 dbsf=pci0:0:8:0 handle=\_SB_.PCI0.D026
        pcib22 pnpinfo vendor=0x1022 device=0x14dd subvendor=0x1022 subdevice=0x14dd class=0x060400 at slot=8 function=1 dbsf=pci0:0:8:1 handle=\_SB_.PCI0.GP17
            I/O ports:
                0xf000-0xffff
            I/O memory addresses:
                0xfc900000-0xfccfffff
                0xfce0000000-0xfcf01fffff
            PCI domain 0 bus numbers:
                22
          pci22
              pcib22 bus numbers:
                  22
            vgapci0 pnpinfo vendor=0x1002 device=0x164e subvendor=0x1002 subdevice=0x164e class=0x030000 at slot=0 function=0 dbsf=pci0:22:0:0 handle=\_SB_.PCI0.GP17.VGA_
                pcib22 memory window:
                    0xfcc00000-0xfcc7ffff
                pcib22 prefetch window:
                    0xfce0000000-0xfcefffffff
                    0xfcf0000000-0xfcf01fffff
              drm0
              drmn0
            hdac0 pnpinfo vendor=0x1002 device=0x1640 subvendor=0x1002 subdevice=0x1640 class=0x040300 at slot=0 function=1 dbsf=pci0:22:0:1 handle=\_SB_.PCI0.GP17.D02B
                Interrupt request lines:
                    0x7b
                pcib22 memory window:
                    0xfcb00000-0xfcb03fff
              hdacc0 pnpinfo vendor=0x1002 device=0xaa01 revision=0x08 stepping=0x00 at cad=0
                hdaa0 pnpinfo type=0x01 subsystem=0x00aa0100 at nid=1
                  pcm0 at nid=3
                  pcm1 at nid=5
                  pcm2 at nid=7
                  pcm3 at nid=9
            unknown pnpinfo vendor=0x1022 device=0x1649 subvendor=0x1022 subdevice=0x1649 class=0x108000 at slot=0 function=2 dbsf=pci0:22:0:2 handle=\_SB_.PCI0.GP17.APSP
            xhci2 pnpinfo vendor=0x1022 device=0x15b6 subvendor=0x1849 subdevice=0x15b6 class=0x0c0330 at slot=0 function=3 dbsf=pci0:22:0:3 handle=\_SB_.PCI0.GP17.XHC0
                Interrupt request lines:
                    0x7c
                pcib22 memory window:
                    0xfca00000-0xfcafffff
              usbus2
                uhub1
            xhci3 pnpinfo vendor=0x1022 device=0x15b7 subvendor=0x1849 subdevice=0x15b6 class=0x0c0330 at slot=0 function=4 dbsf=pci0:22:0:4 handle=\_SB_.PCI0.GP17.XHC1
                Interrupt request lines:
                    0x7d
                pcib22 memory window:
                    0xfc900000-0xfc9fffff
              usbus3
                uhub2
            hdac1 pnpinfo vendor=0x1022 device=0x15e3 subvendor=0x1849 subdevice=0x222c class=0x040300 at slot=0 function=6 dbsf=pci0:22:0:6 handle=\_SB_.PCI0.GP17.AZAL
                Interrupt request lines:
                    0x7e
                pcib22 memory window:
                    0xfcb08000-0xfcb0ffff
              hdacc1 pnpinfo vendor=0x10ec device=0x1220 revision=0x01 stepping=0x01 at cad=0
                hdaa1 pnpinfo type=0x01 subsystem=0x1849222c at nid=1
                  pcm4 at nid=20,24
                  pcm5 at nid=27,25
                  pcm6 at nid=30
        pcib23 pnpinfo vendor=0x1022 device=0x14dd subvendor=0x1022 subdevice=0x14dd class=0x060400 at slot=8 function=3 dbsf=pci0:0:8:3 handle=\_SB_.PCI0.GP19
            I/O memory addresses:
                0xfcd00000-0xfcdfffff
            PCI domain 0 bus numbers:
                23
          pci23
              pcib23 bus numbers:
                  23
            xhci4 pnpinfo vendor=0x1022 device=0x15b8 subvendor=0x1849 subdevice=0x15b6 class=0x0c0330 at slot=0 function=0 dbsf=pci0:23:0:0 handle=\_SB_.PCI0.GP19.XHC2
                Interrupt request lines:
                    0x7f
                pcib23 memory window:
                    0xfcd00000-0xfcdfffff
              usbus4
                uhub0
                  uhid0 pnpinfo vendor=0x26ce product=0x01a2 devclass=0x00 devsubclass=0x00 devproto=0x00 sernum="A02019100900" release=0x0000 mode=host intclass=0x03 intsubclass=0x00 intprotocol=0x00 at bus=4 hubaddr=1 port=1 devaddr=2 interface=0 ugen=ugen4.2
        unknown pnpinfo vendor=0x1022 device=0x790b subvendor=0x1849 subdevice=0x790b class=0x0c0500 at slot=20 function=0 dbsf=pci0:0:20:0 handle=\_SB_.PCI0.D032
        isab0 pnpinfo vendor=0x1022 device=0x790e subvendor=0x1849 subdevice=0x790e class=0x060100 at slot=20 function=3 dbsf=pci0:0:20:3 handle=\_SB_.PCI0.SBRG
          isa0
            sc0
            vga0
            atkbdc0
            fdc0
            ppc0
            uart0
            uart1
        hostb6 pnpinfo vendor=0x1022 device=0x14e0 subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=24 function=0 dbsf=pci0:0:24:0
        hostb7 pnpinfo vendor=0x1022 device=0x14e1 subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=24 function=1 dbsf=pci0:0:24:1
        hostb8 pnpinfo vendor=0x1022 device=0x14e2 subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=24 function=2 dbsf=pci0:0:24:2
        hostb9 pnpinfo vendor=0x1022 device=0x14e3 subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=24 function=3 dbsf=pci0:0:24:3
        hostb10 pnpinfo vendor=0x1022 device=0x14e4 subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=24 function=4 dbsf=pci0:0:24:4
        hostb11 pnpinfo vendor=0x1022 device=0x14e5 subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=24 function=5 dbsf=pci0:0:24:5
        hostb12 pnpinfo vendor=0x1022 device=0x14e6 subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=24 function=6 dbsf=pci0:0:24:6
        hostb13 pnpinfo vendor=0x1022 device=0x14e7 subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=24 function=7 dbsf=pci0:0:24:7
    acpi_sysresource0 pnpinfo _HID=PNP0C01 _UID=200 _CID=none at handle=\_SB_.PCI0.AMDN
    acpi_sysresource1 pnpinfo _HID=PNP0C02 _UID=21 _CID=none at handle=\_SB_.PCI0.IOMA
    acpi_sysresource2 pnpinfo _HID=PNP0C02 _UID=20 _CID=none at handle=\_SB_.PCI0.GNBD.BROD
    unknown pnpinfo _HID=I2SC1002 _UID=1 _CID=AMD1234 at handle=\_SB_.PCI0.GP17.VGA_.I2SC (disabled)
    acpi_sysresource3 pnpinfo _HID=PNP0C02 _UID=0 _CID=none at handle=\_SB_.PCI0.GP17.APSP
    unknown pnpinfo _HID=PNP0000 _UID=0 _CID=none at handle=\_SB_.PCI0.SBRG.PIC_
        I/O ports:
            0x20-0x21
            0xa0-0xa1
    atdma0 pnpinfo _HID=PNP0200 _UID=0 _CID=none at handle=\_SB_.PCI0.SBRG.DMAD
        DMA request lines:
            4
        I/O ports:
            0x0-0xf
            0x81-0x83
            0x87
            0x89-0x8b
            0x8f
            0xc0-0xdf
    attimer0 pnpinfo _HID=PNP0100 _UID=0 _CID=none at handle=\_SB_.PCI0.SBRG.TMR_
        Interrupt request lines:
            0x0
        I/O ports:
            0x40-0x43
    atrtc0 pnpinfo _HID=PNP0B00 _UID=0 _CID=none at handle=\_SB_.PCI0.SBRG.RTC0
        Interrupt request lines:
            0x8
        I/O ports:
            0x70-0x71
    unknown pnpinfo _HID=PNP0800 _UID=0 _CID=none at handle=\_SB_.PCI0.SBRG.SPKR
        I/O ports:
            0x61
    acpi_sysresource4 pnpinfo _HID=PNP0C02 _UID=0 _CID=none at handle=\_SB_.PCI0.SBRG.SIO1
    unknown pnpinfo _HID=PNP0C08 _UID=0 _CID=none at handle=\_SB_.PCI0.SBRG.HHMD (disabled)
    unknown pnpinfo _HID=PNP0C08 _UID=1 _CID=none at handle=\_SB_.PCI0.SBRG.SGPI (disabled)
    acpi_sysresource5 pnpinfo _HID=PNP0C02 _UID=1792 _CID=none at handle=\_SB_.PCI0.S900
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP00.NV00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP08.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP08.EP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP10.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP10.WN00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP18.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP18.LN00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP20.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP20.NV00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP28.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP28.EP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP30.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP30.EP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP38.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP38.EP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP00.NV00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP08.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP08.EP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP10.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP10.WN00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP18.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP18.LN00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP20.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP20.NV00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP28.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP28.EP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP30.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP30.EP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP38.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP38.EP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP40.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP40.UP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP48.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP48.EP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP50.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP50.EP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP58.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP58.EP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP60.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP60.XH00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP68.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP68.SA00.PWRS
    unknown pnpinfo _HID=AMDIF031 _UID=2 _CID=AMDIF031 at handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP68.SPTO
        I/O memory addresses:
            0xfbf00000-0xfbf00fff
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP48.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP48.EP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP50.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP50.EP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP58.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP58.EP00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP60.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP60.XH00.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP68.PWRS
    unknown pnpinfo _HID=none _UID=0 _CID=none at handle=\_SB_.PCI0.GPP7.UP00.DP68.SA00.PWRS
    unknown pnpinfo _HID=PNP0500 _UID=1 _CID=none at handle=\_SB_.PCI0.UAR1 (disabled)
    unknown pnpinfo _HID=PNP0500 _UID=2 _CID=none at handle=\_SB_.PCI0.UAR2 (disabled)
    unknown pnpinfo _HID=PNP0500 _UID=3 _CID=none at handle=\_SB_.PCI0.UAR3 (disabled)
    unknown pnpinfo _HID=PNP0500 _UID=4 _CID=none at handle=\_SB_.PCI0.UAR4 (disabled)
    acpi_button0 pnpinfo _HID=PNP0C0C _UID=170 _CID=none at handle=\_SB_.PWRB
    pci_link0 pnpinfo _HID=PNP0C0F _UID=1 _CID=none at handle=\_SB_.LNKA
    pci_link1 pnpinfo _HID=PNP0C0F _UID=2 _CID=none at handle=\_SB_.LNKB
    pci_link2 pnpinfo _HID=PNP0C0F _UID=3 _CID=none at handle=\_SB_.LNKC
    pci_link3 pnpinfo _HID=PNP0C0F _UID=4 _CID=none at handle=\_SB_.LNKD
    pci_link4 pnpinfo _HID=PNP0C0F _UID=5 _CID=none at handle=\_SB_.LNKE
    pci_link5 pnpinfo _HID=PNP0C0F _UID=6 _CID=none at handle=\_SB_.LNKF
    pci_link6 pnpinfo _HID=PNP0C0F _UID=7 _CID=none at handle=\_SB_.LNKG
    pci_link7 pnpinfo _HID=PNP0C0F _UID=8 _CID=none at handle=\_SB_.LNKH
    unknown pnpinfo _HID=AMDI0060 _UID=0 _CID=none at handle=\_SB_.HFP1 (disabled)
    unknown pnpinfo _HID=AMDI0063 _UID=0 _CID=none at handle=\_SB_.HID0 (disabled)
    unknown pnpinfo _HID=AMDI0030 _UID=0 _CID=AMDI0030 at handle=\_SB_.GPIO
    unknown pnpinfo _HID=AMDI0052 _UID=0 _CID=none at handle=\_SB_.PPKG
    unknown pnpinfo _HID=AMDI0020 _UID=0 _CID=none at handle=\_SB_.FUR0 (disabled)
    unknown pnpinfo _HID=AMDI0020 _UID=1 _CID=none at handle=\_SB_.FUR1 (disabled)
    unknown pnpinfo _HID=AMDI0020 _UID=2 _CID=none at handle=\_SB_.FUR2 (disabled)
    unknown pnpinfo _HID=AMDI0020 _UID=3 _CID=none at handle=\_SB_.FUR3 (disabled)
    unknown pnpinfo _HID=AMDI0020 _UID=4 _CID=none at handle=\_SB_.FUR4 (disabled)
    unknown pnpinfo _HID=AMDI0010 _UID=0 _CID=none at handle=\_SB_.I2CA (disabled)
    unknown pnpinfo _HID=AMDI0010 _UID=1 _CID=none at handle=\_SB_.I2CB (disabled)
    unknown pnpinfo _HID=AMDI0010 _UID=2 _CID=none at handle=\_SB_.I2CC (disabled)
    unknown pnpinfo _HID=AMDI0010 _UID=3 _CID=none at handle=\_SB_.I2CD (disabled)
    unknown pnpinfo _HID=AMDI0015 _UID=0 _CID=none at handle=\_SB_.I3CA (disabled)
    unknown pnpinfo _HID=AMDI0015 _UID=1 _CID=none at handle=\_SB_.I3CB (disabled)
    unknown pnpinfo _HID=AMDI0016 _UID=2 _CID=none at handle=\_SB_.I3CC (disabled)
    unknown pnpinfo _HID=AMDI0015 _UID=3 _CID=none at handle=\_SB_.I3CD (disabled)
    unknown pnpinfo _HID=MSFT0101 _UID=1 _CID=none at handle=\_SB_.TPM_
        I/O memory addresses:
            0x73454000-0x73457fff
            0x73458000-0x7345bfff
    acpi_sysresource6 pnpinfo _HID=PNP0C02 _UID=139 _CID=none at handle=\_SB_.AWR0
    acpi_sysresource7 pnpinfo _HID=PNP0C02 _UID=128 _CID=none at handle=\_SB_.AWR0.ABR0
    acpi_sysresource8 pnpinfo _HID=PNP0C02 _UID=129 _CID=none at handle=\_SB_.AWR0.ABR1
    acpi_sysresource9 pnpinfo _HID=PNP0C02 _UID=130 _CID=none at handle=\_SB_.AWR0.ABR2
    acpi_sysresource10 pnpinfo _HID=PNP0C02 _UID=131 _CID=none at handle=\_SB_.AWR0.ABR3
    acpi_sysresource11 pnpinfo _HID=PNP0C02 _UID=140 _CID=none at handle=\_SB_.AWR1
    acpi_sysresource12 pnpinfo _HID=PNP0C02 _UID=132 _CID=none at handle=\_SB_.AWR1.ABR4
    acpi_sysresource13 pnpinfo _HID=PNP0C02 _UID=133 _CID=none at handle=\_SB_.AWR1.ABR5
    acpi_sysresource14 pnpinfo _HID=PNP0C02 _UID=134 _CID=none at handle=\_SB_.AWR1.ABR6
    acpi_sysresource15 pnpinfo _HID=PNP0C02 _UID=135 _CID=none at handle=\_SB_.AWR1.ABR7
    acpi_sysresource16 pnpinfo _HID=PNP0C02 _UID=136 _CID=none at handle=\_SB_.AWR1.ABR8
    acpi_sysresource17 pnpinfo _HID=PNP0C02 _UID=137 _CID=none at handle=\_SB_.AWR1.ABR9
    acpi_sysresource18 pnpinfo _HID=PNP0C02 _UID=138 _CID=none at handle=\_SB_.AWR1.ABRA
    acpi_syscontainer0 pnpinfo _HID=ACPI0010 _UID=1 _CID=PNP0A05 at handle=\_SB_.PLTF
    cpu0 pnpinfo _HID=ACPI0007 _UID=0 _CID=none at handle=\_SB_.PLTF.C000
        I/O ports:
            0x414
            0x415
      hwpstate0
      acpi_perf0
      cpufreq0
    cpu1 pnpinfo _HID=ACPI0007 _UID=1 _CID=none at handle=\_SB_.PLTF.C001
        I/O ports:
            0x414
            0x415
      hwpstate1
      acpi_perf1
    cpu2 pnpinfo _HID=ACPI0007 _UID=2 _CID=none at handle=\_SB_.PLTF.C002
        I/O ports:
            0x414
            0x415
      hwpstate2
      acpi_perf2
    cpu3 pnpinfo _HID=ACPI0007 _UID=3 _CID=none at handle=\_SB_.PLTF.C003
        I/O ports:
            0x414
            0x415
      hwpstate3
      acpi_perf3
    cpu4 pnpinfo _HID=ACPI0007 _UID=4 _CID=none at handle=\_SB_.PLTF.C004
        I/O ports:
            0x414
            0x415
      hwpstate4
      acpi_perf4
    cpu5 pnpinfo _HID=ACPI0007 _UID=5 _CID=none at handle=\_SB_.PLTF.C005
        I/O ports:
            0x414
            0x415
      hwpstate5
      acpi_perf5
    cpu6 pnpinfo _HID=ACPI0007 _UID=6 _CID=none at handle=\_SB_.PLTF.C006
        I/O ports:
            0x414
            0x415
      hwpstate6
      acpi_perf6
    cpu7 pnpinfo _HID=ACPI0007 _UID=7 _CID=none at handle=\_SB_.PLTF.C007
        I/O ports:
            0x414
            0x415
      hwpstate7
      acpi_perf7
    cpu8 pnpinfo _HID=ACPI0007 _UID=8 _CID=none at handle=\_SB_.PLTF.C008
        I/O ports:
            0x414
            0x415
      hwpstate8
      acpi_perf8
    cpu9 pnpinfo _HID=ACPI0007 _UID=9 _CID=none at handle=\_SB_.PLTF.C009
        I/O ports:
            0x414
            0x415
      hwpstate9
      acpi_perf9
    cpu10 pnpinfo _HID=ACPI0007 _UID=10 _CID=none at handle=\_SB_.PLTF.C00A
        I/O ports:
            0x414
            0x415
      hwpstate10
      acpi_perf10
    cpu11 pnpinfo _HID=ACPI0007 _UID=11 _CID=none at handle=\_SB_.PLTF.C00B
        I/O ports:
            0x414
            0x415
      hwpstate11
      acpi_perf11
    cpu12 pnpinfo _HID=ACPI0007 _UID=12 _CID=none at handle=\_SB_.PLTF.C00C
        I/O ports:
            0x414
            0x415
      hwpstate12
      acpi_perf12
    cpu13 pnpinfo _HID=ACPI0007 _UID=13 _CID=none at handle=\_SB_.PLTF.C00D
        I/O ports:
            0x414
            0x415
      hwpstate13
      acpi_perf13
    cpu14 pnpinfo _HID=ACPI0007 _UID=14 _CID=none at handle=\_SB_.PLTF.C00E
        I/O ports:
            0x414
            0x415
      hwpstate14
      acpi_perf14
    cpu15 pnpinfo _HID=ACPI0007 _UID=15 _CID=none at handle=\_SB_.PLTF.C00F
        I/O ports:
            0x414
            0x415
      hwpstate15
      acpi_perf15
    cpu16 pnpinfo _HID=ACPI0007 _UID=16 _CID=none at handle=\_SB_.PLTF.C010
        I/O ports:
            0x414
            0x415
      hwpstate16
      acpi_perf16
    cpu17 pnpinfo _HID=ACPI0007 _UID=17 _CID=none at handle=\_SB_.PLTF.C011
        I/O ports:
            0x414
            0x415
      hwpstate17
      acpi_perf17
    cpu18 pnpinfo _HID=ACPI0007 _UID=18 _CID=none at handle=\_SB_.PLTF.C012
        I/O ports:
            0x414
            0x415
      hwpstate18
      acpi_perf18
    cpu19 pnpinfo _HID=ACPI0007 _UID=19 _CID=none at handle=\_SB_.PLTF.C013
        I/O ports:
            0x414
            0x415
      hwpstate19
      acpi_perf19
    cpu20 pnpinfo _HID=ACPI0007 _UID=20 _CID=none at handle=\_SB_.PLTF.C014
        I/O ports:
            0x414
            0x415
      hwpstate20
      acpi_perf20
    cpu21 pnpinfo _HID=ACPI0007 _UID=21 _CID=none at handle=\_SB_.PLTF.C015
        I/O ports:
            0x414
            0x415
      hwpstate21
      acpi_perf21
    cpu22 pnpinfo _HID=ACPI0007 _UID=22 _CID=none at handle=\_SB_.PLTF.C016
        I/O ports:
            0x414
            0x415
      hwpstate22
      acpi_perf22
    cpu23 pnpinfo _HID=ACPI0007 _UID=23 _CID=none at handle=\_SB_.PLTF.C017
        I/O ports:
            0x414
            0x415
      hwpstate23
      acpi_perf23
    cpu24 pnpinfo _HID=ACPI0007 _UID=24 _CID=none at handle=\_SB_.PLTF.C018
        I/O ports:
            0x414
            0x415
      hwpstate24
      acpi_perf24
    cpu25 pnpinfo _HID=ACPI0007 _UID=25 _CID=none at handle=\_SB_.PLTF.C019
        I/O ports:
            0x414
            0x415
      hwpstate25
      acpi_perf25
    cpu26 pnpinfo _HID=ACPI0007 _UID=26 _CID=none at handle=\_SB_.PLTF.C01A
        I/O ports:
            0x414
            0x415
      hwpstate26
      acpi_perf26
    cpu27 pnpinfo _HID=ACPI0007 _UID=27 _CID=none at handle=\_SB_.PLTF.C01B
        I/O ports:
            0x414
            0x415
      hwpstate27
      acpi_perf27
    cpu28 pnpinfo _HID=ACPI0007 _UID=28 _CID=none at handle=\_SB_.PLTF.C01C
        I/O ports:
            0x414
            0x415
      hwpstate28
      acpi_perf28
    cpu29 pnpinfo _HID=ACPI0007 _UID=29 _CID=none at handle=\_SB_.PLTF.C01D
        I/O ports:
            0x414
            0x415
      hwpstate29
      acpi_perf29
    cpu30 pnpinfo _HID=ACPI0007 _UID=30 _CID=none at handle=\_SB_.PLTF.C01E
        I/O ports:
            0x414
            0x415
      hwpstate30
      acpi_perf30
    cpu31 pnpinfo _HID=ACPI0007 _UID=31 _CID=none at handle=\_SB_.PLTF.C01F
        I/O ports:
            0x414
            0x415
      hwpstate31
      acpi_perf31
    unknown pnpinfo _HID=ACPI000C _UID=0 _CID=none at handle=\_SB_.APAD (disabled)
    unknown pnpinfo _HID=AMDIF031 _UID=0 _CID=AMDIF031 at handle=\_SB_.PTIO
        I/O memory addresses:
            0xfec30000-0xfec30fff
    hpet0 pnpinfo _HID=PNP0103 _UID=0 _CID=none at handle=\HPET
        Interrupt request lines:
            0x38
            0x39
            0x3a
        I/O memory addresses:
            0xfed00000-0xfed003ff
    acpi_wmi0 pnpinfo _HID=PNP0C14 _UID=0 _CID=none at handle=\AOD_
    acpi_timer0 pnpinfo unknown
        ACPI I/O ports:
            0x808-0x80b
root(33)au:~ #
Comment 31 John Baldwin freebsd_committer freebsd_triage 2024-02-09 01:42:28 UTC
Hmm, I think this device is the root cause of the conflict:


handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP68.SPTO
        I/O memory addresses:
            0xfbf00000-0xfbf00fff


In particular, the ACPI bus driver is reserving that range on behalf of that device which falls in the range of pcib2's initial windows.  However, this device is logically behind the PCI-PCI bridge, but we aren't recognizing it as such.

This actually corresponds to a device behind this bridge:

                        pcib18 pnpinfo vendor=0x1022 device=0x43f5 subvendor=0x1b21 subdevice=0x3328 class=0x060400 at slot=13 function=0 dbsf=pci0:10:13:0 handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP68
                            pcib10 bus numbers:
                                18
                          pci18
                              pcib18 bus numbers:
                                  18
                            unknown pnpinfo vendor=0x1022 device=0x43f6 subvendor=0x1b21 subdevice=0x1062 class=0x010601 at slot=0 function=0 dbsf=pci0:18:0:0 handle=\_SB_.PCI0.GPP7.UP00.DP40.UP00.DP68.SA00

Note that DP68 is pcib18.  I've no idea what the SPTO device is supposed to be under that bridge.  But this does give me a bit of a clue for how to think about handling this.  At some point it might be interesting to see the ACPI source from acpidump -d to see what it think the SPTO device is (e.g. if it has an _ADR method that indicates a PCI slot/function).

I'll need to think a bit about how to properly ignore this device without breaking other devices we need to reserve resources for.
Comment 32 John Baldwin freebsd_committer freebsd_triage 2024-02-09 01:43:59 UTC
Created attachment 248276 [details]
hack.patch

This is a hack that should let you boot.
Comment 33 Justin Tocci 2024-02-09 15:57:28 UTC
root(33)au:~ # acpidump -d
iast exit status = 65280


RE: Note that DP68 is pcib18.  I've no idea what the SPTO device is supposed to be under that bridge.

If there is anything I can do to figure that out please let me know. I can get you photos of the board, run software, boot to another os, do some kind of process of elimination, whatever.

RE: hack.patch
I use ssd for the boot partition. If you are asking me to try the hack.patch to further a solution please let me know and I will get it done. Otherwise I will skip that because it doesn't affect my use case.
Comment 34 John Baldwin freebsd_committer freebsd_triage 2024-02-09 20:57:35 UTC
Testing the hack.patch might be good to confirm that my understanding is correct at least.
Comment 35 john 2024-02-10 19:12:11 UTC
Created attachment 248321 [details]
acpidump from Asus x670e system

As requested.
Comment 36 john 2024-02-10 19:13:36 UTC
Created attachment 248323 [details]
acpidump from Asus x670e system

As requested (hopefully with the correct file type this time).
Comment 37 Oleg Sidorkin 2024-02-11 13:21:00 UTC
Recent 14-STABLE with hack.patch booted fine with 1904 bios on my 
ProArt X670E-CREATOR WIFI 

Dumps you requested are too large to be attached directly, so here are links to github: 

https://raw.githubusercontent.com/olegsidorkin/misc/main/acpidump_d.txt
https://raw.githubusercontent.com/olegsidorkin/misc/main/devinfo_rv.txt
https://raw.githubusercontent.com/olegsidorkin/misc/main/devinfo_u.txt

Thanks.
Comment 38 Dave Cottlehuber freebsd_committer freebsd_triage 2024-02-13 08:11:43 UTC
X670E Wifi Creator Pro with 1710 firmware.

See https://gist.github.com/dch/dd74ddb1e5505d900ec87906974e6ec8 for 
dmesg, devinfo, dmidecode, acpidump from 15.0-CURRENT 0d3b2bdbf719 + hack.patch

No SATA devices to test with, sorry.
Comment 39 Oleg Sidorkin 2024-02-15 14:31:46 UTC
SPTO device is something new.
It wasn't in acpidump output from old BIOSes.
Comment 40 John Baldwin freebsd_committer freebsd_triage 2024-02-15 18:37:05 UTC
Thanks, I found the SBTO from one of the dumps.  It looks to be some sort of GPIO controller.

Excerpts:

```
        Scope (\_SB.PCI0.GPP7.UP00.DP40)
        {
            Device (UP00)
            {
...
                Device (DP68)
                {
                    Name (_ADR, 0x000D0000)  // _ADR: Address
```

So this seems like it would be some other PCI device next to the AHCI controller, but it isn't showing up in the PCI probe.

```
    Scope (\_SB.PCI0.GPP7.UP00.DP40.UP00.DP68)
    {
        Name (SPTS, 0x01)
        Name (TSGP, 0x0F)
        Device (SPTO)
        {
            Name (_HID, "AMDIF031")  // _HID: Hardware ID
            Name (_CID, "AMDIF031")  // _CID: Compatible ID
            Name (_UID, 0x02)  // _UID: Unique ID
            Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
            {
                Name (RBUF, ResourceTemplate ()
                {
                    Memory32Fixed (ReadWrite,
                        0xF4700000,         // Address Base
                        0x00001000,         // Address Length
                        )
                })
                Return (RBUF) /* \_SB_.PCI0.GPP7.UP00.DP40.UP00.DP68.SPTO._CRS.R
BUF */
            }
```

This shows the _HID (which is a GPIO controller) and the conflicting resource.  There are other references to GPIO pins from this device as well.

I think I will probably take the approach in hack.patch and will post a candidate commit patch in a bit for folks to test.
Comment 41 John Baldwin freebsd_committer freebsd_triage 2024-02-15 19:04:41 UTC
Created attachment 248494 [details]
0001-acpi-Defer-reserving-resources-for-ACPI-devices.patch

First attempt at a commit candidate
Comment 42 Oleg Sidorkin 2024-02-17 09:24:22 UTC
(In reply to John Baldwin from comment #41)

It works for me.
Thanks
Comment 43 Dave Cottlehuber freebsd_committer freebsd_triage 2024-02-20 10:52:39 UTC
Created attachment 248628 [details]
dch dmesg after patch 0001-acpi-defer-reserving-resources-for-acpi-devices

here's my dmesg after applying #248494 patch thanks. Box still runs fine so I hope that helps. I'll update my gist with acpidump etc accordingly at https://gist.github.com/dch/dd74ddb1e5505d900ec87906974e6ec8
Comment 44 commit-hook freebsd_committer freebsd_triage 2024-02-22 18:44:53 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=f2fcb68074a51a8b399dc80d4c03fbe98a0ab92c

commit f2fcb68074a51a8b399dc80d4c03fbe98a0ab92c
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-02-22 18:43:43 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-02-22 18:43:43 +0000

    acpi: Defer reserving resources for ACPI devices

    The goal of reserving firmware-assigned resources is to ensure that
    "wildcard" resource allocation requests will not claim an address
    range that is actually in use even if no attached driver is actively
    using that range.  However, the current approach can break in some
    cases.

    In particular, ACPI can enumerate devices behind PCI bridges that
    don't show up in a normal PCI scan, but those device_t objects can end
    up as direct children of acpi0.  Reserving resources for those devices
    directly from acpi0 ends up conflicting with later attempts to reserve
    the PCI bridge windows.

    As a workaround, defer reserving unclaimed resources until after the
    initial probe and attach scan.  Eventually this pass of reserving
    unclaimed resources can be moved earlier, but it requires changes to
    other drivers in the tree to permit enumerating devices and reserving
    firmware-assigned resources in a depth-first traversal before
    attaching devices whose drivers request wildcard allocations.

    PR:             272507
    Reported by:    Justin Tocci <justin@tocci.org>
    Reported by:    john@feith.com, many others
    Tested by:      Oleg Sidorkin <osidorkin@gmail.com>, dch

 sys/dev/acpica/acpi.c | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)
Comment 45 Oleg Sidorkin 2024-02-22 21:06:31 UTC
Thanks for fixing it. Is it going to be MFC'ed?
Comment 46 John Baldwin freebsd_committer freebsd_triage 2024-02-23 01:30:29 UTC
Sorry I hadn't seen this PR earlier when it was first reported.  I am planning to MFC the fix today actually to try to get it into releng/13.3 to be included in the 13.3 release.
Comment 47 commit-hook freebsd_committer freebsd_triage 2024-02-23 05:21:27 UTC
A commit in branch stable/14 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=c76878c656e91aa595c2c81e86ac5adb59a15c98

commit c76878c656e91aa595c2c81e86ac5adb59a15c98
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-02-22 18:43:43 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-02-23 00:48:35 +0000

    acpi: Defer reserving resources for ACPI devices

    The goal of reserving firmware-assigned resources is to ensure that
    "wildcard" resource allocation requests will not claim an address
    range that is actually in use even if no attached driver is actively
    using that range.  However, the current approach can break in some
    cases.

    In particular, ACPI can enumerate devices behind PCI bridges that
    don't show up in a normal PCI scan, but those device_t objects can end
    up as direct children of acpi0.  Reserving resources for those devices
    directly from acpi0 ends up conflicting with later attempts to reserve
    the PCI bridge windows.

    As a workaround, defer reserving unclaimed resources until after the
    initial probe and attach scan.  Eventually this pass of reserving
    unclaimed resources can be moved earlier, but it requires changes to
    other drivers in the tree to permit enumerating devices and reserving
    firmware-assigned resources in a depth-first traversal before
    attaching devices whose drivers request wildcard allocations.

    PR:             272507
    Reported by:    Justin Tocci <justin@tocci.org>
    Reported by:    john@feith.com, many others
    Tested by:      Oleg Sidorkin <osidorkin@gmail.com>, dch

    (cherry picked from commit f2fcb68074a51a8b399dc80d4c03fbe98a0ab92c)

 sys/dev/acpica/acpi.c | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)
Comment 48 commit-hook freebsd_committer freebsd_triage 2024-02-23 05:21:31 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=eaa51e59e560c556d0a8273d29eea4309e6b6a4f

commit eaa51e59e560c556d0a8273d29eea4309e6b6a4f
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-02-22 18:43:43 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-02-23 00:48:39 +0000

    acpi: Defer reserving resources for ACPI devices

    The goal of reserving firmware-assigned resources is to ensure that
    "wildcard" resource allocation requests will not claim an address
    range that is actually in use even if no attached driver is actively
    using that range.  However, the current approach can break in some
    cases.

    In particular, ACPI can enumerate devices behind PCI bridges that
    don't show up in a normal PCI scan, but those device_t objects can end
    up as direct children of acpi0.  Reserving resources for those devices
    directly from acpi0 ends up conflicting with later attempts to reserve
    the PCI bridge windows.

    As a workaround, defer reserving unclaimed resources until after the
    initial probe and attach scan.  Eventually this pass of reserving
    unclaimed resources can be moved earlier, but it requires changes to
    other drivers in the tree to permit enumerating devices and reserving
    firmware-assigned resources in a depth-first traversal before
    attaching devices whose drivers request wildcard allocations.

    PR:             272507
    Reported by:    Justin Tocci <justin@tocci.org>
    Reported by:    john@feith.com, many others
    Tested by:      Oleg Sidorkin <osidorkin@gmail.com>, dch

    (cherry picked from commit f2fcb68074a51a8b399dc80d4c03fbe98a0ab92c)

 sys/dev/acpica/acpi.c | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)
Comment 49 commit-hook freebsd_committer freebsd_triage 2024-02-23 05:26:33 UTC
A commit in branch releng/13.3 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=f15ff67ef9379e2fe4909c96fb8e4153c32bafe1

commit f15ff67ef9379e2fe4909c96fb8e4153c32bafe1
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-02-22 18:43:43 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-02-23 05:23:38 +0000

    acpi: Defer reserving resources for ACPI devices

    The goal of reserving firmware-assigned resources is to ensure that
    "wildcard" resource allocation requests will not claim an address
    range that is actually in use even if no attached driver is actively
    using that range.  However, the current approach can break in some
    cases.

    In particular, ACPI can enumerate devices behind PCI bridges that
    don't show up in a normal PCI scan, but those device_t objects can end
    up as direct children of acpi0.  Reserving resources for those devices
    directly from acpi0 ends up conflicting with later attempts to reserve
    the PCI bridge windows.

    As a workaround, defer reserving unclaimed resources until after the
    initial probe and attach scan.  Eventually this pass of reserving
    unclaimed resources can be moved earlier, but it requires changes to
    other drivers in the tree to permit enumerating devices and reserving
    firmware-assigned resources in a depth-first traversal before
    attaching devices whose drivers request wildcard allocations.

    PR:             272507
    Reported by:    Justin Tocci <justin@tocci.org>
    Reported by:    john@feith.com, many others
    Tested by:      Oleg Sidorkin <osidorkin@gmail.com>, dch

    (cherry picked from commit f2fcb68074a51a8b399dc80d4c03fbe98a0ab92c)
    (cherry picked from commit eaa51e59e560c556d0a8273d29eea4309e6b6a4f)

    Approved by:    re (cperciva)

 sys/dev/acpica/acpi.c | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)
Comment 50 John Baldwin freebsd_committer freebsd_triage 2024-02-23 05:27:32 UTC
It would be helpful if someone with an affected machine can boot 13.3-RC1 when it is released and verify that it works ok.
Comment 51 john 2024-02-23 18:15:28 UTC
Works for me using a 13-stable checkout from last night ... my two SATA optical drives now show up.
Comment 52 Gerry 2024-02-29 00:35:20 UTC
Frame.work 16 (Ryzen 9 7940HS) booting 13.3 RC1

I cannot capture all of the dmesgs as the machine appears to be totally locked up when it stops. If I can provide more/better information please let me know.

Below is a quick text capture from a photo of the end of the frozen output, if it helps. (I think I corrected all of my typos). 

cpu10: <ACPI CPU> on acpi0
cpu11: <ACPI CPU> on acpi0
cpu12: <ACPI CPU> on acpi0
cpu13: <ACP| CPU> on acpi0
cpu14: <ACPI CPU> on acp10
cpu15: <ACPI CPU> on acpi0
acpi_acad0: <AC Adapter>  on acpi0
AcpiOsExecute: task queue not started
battery0: <ACPI Control Method Battery> on acpi0
AcpiOsExecute: task queue not started 
acpi_lid0: ‹Control Method Lid Switch> on acpi0
ACPI: Enabled 1 GPEs in block 00 to 1F
ahc_isa_identify 0: ioport OxcOB alloc failed 
ahc_isa_identify 1: ioport 0x1c00 alloc failed 
ahc_isa_identify 2: ioport 0x2c00 alloc failed
ahc_isa_identify 3: ioport 0x3c00 alloc failed 
ahc_isa_identify 4: ioport 0x4c00 alloc failed 
ahc_isa_identify 5: ioport 0x5c00 alloc failed 
ahc_isa_identify 6: ioport 0x6c00 alloc failed 
ahc_isa_identify 7: ioport 0x7c00 alloc failed 
ahc_isa_identify 8: ioport 0x8c00 alloc failed 
ahc_isa_identify 9: ioport 8x9c00 alloc failed 
isa_probe_children: disabling PnP devices 
atrtc: atrtc0 already exists: skipping it 
attimer: attimer0 already exists; skipping it 
sc: sc0 already exists: skipping it 
isa_probe_children: probing non-PnP devices 
sc0 failed to probe on isa1 
vga0 failed to probe on isa0 
atkbdc0: AT keyboard controller not found 
atkbdc0 failed to probe at port 0x60,0x64 on isa0
fdc0 failed to probe at port 83f0-axafS,x3f7 irg 6 drq 2 on isa0 
ppc0: cannot reserve 1/0 port range 
ppc0 failed to probe at irq 7 on isa0

At which point it is frozen
Comment 53 john 2024-02-29 06:34:12 UTC
I downloaded FreeBSD-13.3-RC1-amd64-dvd1.iso to Windows
in order to burn a DVD for testing and ran into some
problems (unrelate to this bug).  Attempting to use
Nero Burning ROM 22.0.1016 to burn the image resulted in:

  There is not enough space to burn this compilation onto this disc.
  ...
  Data to be written: 4,624 MB (4,849,006,592 bytes)
  Space available:    4,482 MB (4,700,372,992 bytes)

This ocurred using Verbatim 4.7GB DVD+RW media as well
as Verbatim 4.7GB DVD+R media.  I finally ended up using
Verbatim 8.5GB DVD+R DL media.  It seems like the ISO
images need to be slightly smaller.

The good news is that an UEFI boot off of the 8.5 DVD to
single user worked fine with my hardware ... both the NVMe
as well as the SATA optical drives showed up in the dmesg
as well as there being /dev/cdX devices nodes.
Comment 54 Vladimir Druzenko freebsd_committer freebsd_triage 2024-02-29 07:11:45 UTC
(In reply to john from comment #53)
Use USB: *-memstick.img*

I'm using *.iso for install in VMs only. On baremetal using *.img on USB only. At least a decade.
Comment 55 john 2024-02-29 09:02:12 UTC
The test was booting from a DVD, not a USB ... particularly of interest since
this bug resulted in my SATA optical drives not being visible to FreeBSD.
Comment 56 John Baldwin freebsd_committer freebsd_triage 2024-02-29 17:23:31 UTC
(In reply to Gerry from comment #52)
If this is a regression from the previous 13.3 beta, can you please boot the previous beta and get the results of 'devinfo -u' and 'devinfo -rv'?
Comment 57 nix23 2024-03-20 14:16:42 UTC
I have the same problem on FreeBSD14-p5 (RELEASE). What's interesting it worked before changing the nvme speed from x2 to x4 (and so just 2 of the 4 sata port's can be used). And as already mentioned the 2 sata devices are shown in the bios and also in windows but not in FreeBSD.

TUF GAMING X670E-PLUS WIFI (Bios ver.2413)
Comment 58 Oleg Sidorkin 2024-03-20 18:07:41 UTC
(In reply to nix23 from comment #57)

AFAIK, this fix wasn't merged to 14-RELEASE, only to stable/14, so it will be released with 14.1
Comment 59 Vladimir Druzenko freebsd_committer freebsd_triage 2024-03-20 18:28:57 UTC
Planned on 18 June 2024: https://www.freebsd.org/releases/14.1R/schedule/
But if it is important enough, then we can try to convince the developers to make EN.
I don't know the procedure.
Comment 60 Vladimir Druzenko freebsd_committer freebsd_triage 2024-03-20 18:30:54 UTC
EN = Errata Notices: https://www.freebsd.org/security/notices/
Comment 61 nix23 2024-03-21 12:47:11 UTC
(In reply to Vladimir Druzenko from comment #59)

Thank you everyone for helping to fix that. To patch 14.0-RELEASE (EN), would be veryvery helpful for me, so i can make updated installer images and install FBSD on those "not detected" sata drives.
Comment 62 Vladimir Druzenko freebsd_committer freebsd_triage 2024-03-21 13:19:46 UTC
(In reply to nix23 from comment #61)
1st step is to fill template https://www.freebsd.org/security/errata-template.txt and attach to this PR.
Comment 63 Justin Tocci 2024-03-21 14:45:03 UTC
Created attachment 249374 [details]
Errata Template partially filled to add EN to 14.0

I did what I could. Someone will need to complete or give me more instructions.

It would appear that there are others in addition to me that would benefit from this patch being made to FreeBSD 14.
Comment 64 John Baldwin freebsd_committer freebsd_triage 2024-03-21 16:18:06 UTC
Note that the project generally does not spin new release images for an EN.  Instead binary updates are provided via freebsd-update(8) and pkg(8).  Thus, an EN wouldn't do you any good here.  I don't think we are likely to get new installer images for 14.0 soon, but the release cycle for 14.1 is starting "soon": https://www.freebsd.org/releases/14.1R/schedule/

I would suggest using a 14-stable snapshot for now until 14.1 is released:

https://download.freebsd.org/snapshots/amd64/amd64/ISO-IMAGES/14.0/
Comment 65 nix23 2024-03-21 17:33:31 UTC
(In reply to John Baldwin from comment #64)

True but i can make my "own" updated installer-image, however i think for stuff like that, updated official-installers for RELEASE would make sense.
Comment 66 nix23 2024-03-22 09:27:34 UTC
Confirmed, with 14.0-STABLE it's working i can see the two SATA-Disk. But i would really like to see a update (EN) for 14.0-RELEASE.

Thank you Justin Tocci for preparing the Errata Notice.
Comment 67 Gerry 2024-03-27 22:44:15 UTC
(In reply to John Baldwin from comment #56)

Thanks for the reply John, and I am very sorry for the delay in responding. 

My issue isn't a regression, it is a new install on a newly released (Feb 2024) motherboard. Someone in another forum suggested I try the release here and see if it allowed the install but it didn't, so my problem was probably not directly related to the bug you were addressing. Thank you very much for the reply! I'll keep digging.
Comment 68 nix23 2024-04-23 09:40:32 UTC
Any updates?
Comment 69 Justin Tocci 2024-12-07 22:42:46 UTC
Today we tried to get a SATA card to work but it wouldn't boot.

Going back to the beginning, we updated BIOS to 3.10, updated FreeBSD to 14.1-RELEASE-p6 and removed /boot/loader.conf line => hw.pci.enable_io_modes=0 

The boot loader line was an early suggestion but removing it was what allowed my SATA ports to work. I didn't realize this in April and gave up so if anyone else is still fighting this maybe check if you have that line.

Thank you all.

ASRock X670E Steel Legend
Comment 70 Daniel Engberg freebsd_committer freebsd_triage 2024-12-08 01:24:45 UTC
(In reply to Justin Tocci from comment #69)
If it's ASM1166 you might need to update the firmware first,
https://www.silverstonetek.com/en/product/info/expansion-cards/ECS06/ (it's universal but Windows only)