https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285993
--- Comment #13 from Jim Long <freebsd-bugzi...@umpquanet.com> --- Your hunch seems correct. So I shot it full of 'printf's: diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index 06e8c2bc8433..b94d27314f49 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -1071,20 +1071,32 @@ pcib_hotplug_inserted(struct pcib_softc *sc) /* Pretend the card isn't present if a detach is forced. */ if (sc->flags & PCIB_DETACHING) +{ +device_printf(sc->dev, "(1) PCIB_DETACHING\n"); return (false); +} /* Card must be present in the slot. */ if ((sc->pcie_slot_sta & PCIEM_SLOT_STA_PDS) == 0) +{ +device_printf(sc->dev, "(2) PCIEM_SLOT_STA_PDS\n"); return (false); +} /* A power fault implicitly turns off power to the slot. */ if (sc->pcie_slot_sta & PCIEM_SLOT_STA_PFD) +{ +device_printf(sc->dev, "(3) PCIEM_SLOT_STA_PFD\n"); return (false); +} /* If the MRL is disengaged, the slot is powered off. */ if (sc->pcie_slot_cap & PCIEM_SLOT_CAP_MRLSP && (sc->pcie_slot_sta & PCIEM_SLOT_STA_MRLSS) != 0) +{ +device_printf(sc->dev, "(4) CAP_MRLSP && STA_MRLSS\n"); return (false); +} return (true); } @@ -1868,8 +1880,10 @@ pcib_child_present(device_t dev, device_t child) int retval; retval = bus_child_present(dev); +device_printf(sc->dev, "(1) retval == %d\n", retval); if (retval != 0 && sc->flags & PCIB_HOTPLUG) retval = pcib_hotplug_present(sc); +device_printf(sc->dev, "(2) retval == %d\n", retval); return (retval); #else return (bus_child_present(dev)); And this is what dmesg shows re: pcib10 and friends: ... pcib9: <Intel Volume Management Device> mem 0x3800fc000000-0x3800fdffffff,0xf8000000-0xf9ffffff,0x3800fff00000-0x3800ffffffff at device 5.5 numa-domain 0 on pci8 pci9: <PCI bus> numa-domain 0 on pcib9 pcib10: <PCI-PCI bridge> irq 0 at device 2.0 numa-domain 0 on pci9 pcib10: failed to allocate initial I/O port window: 0-0xafff pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD pcib11: <PCI-PCI bridge> irq 0 at device 3.0 numa-domain 0 on pci9 pcib11: failed to allocate initial I/O port window: 0-0xbfff pcib11: (2) PCIEM_SLOT_STA_PDS pcib11: (2) PCIEM_SLOT_STA_PDS pci8: <dasp, performance counters> at device 18.0 (no driver attached) pci8: <dasp, performance counters> at device 18.1 (no driver attached) atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 atrtc0: <AT realtime clock> at port 0x70 irq 8 on isa0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock, resolution 1.000000s atrtc0: Can't map interrupt. atrtc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 15. .... hwpstate_intel19: <Intel Speed Shift> numa-domain 0 on cpu19 cpufreq19: <CPU frequency control> numa-domain 0 on cpu19 pcib10: Power Fault Detected pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD pci10: <PCI bus> numa-domain 0 on pcib10 nvme0: <Generic NVMe Device> irq 0 at device 0.0 numa-domain 0 on pci10 hdacc0: <Realtek ALC255 HDA CODEC> at cad 0 on hdac0 hdaa0: <Realtek ALC255 Audio Function Group> at nid 1 on hdacc0 pcm0: <Realtek ALC255 (Analog 2.0+HP/2.0)> at nid 20,27 and 26 on hdaa0 pcm1: <Realtek ALC255 (Analog)> at nid 33 and 25 on hdaa0 hdacc1: <NVIDIA (0x0080) HDA CODEC> at cad 0 on hdac1 hdaa1: <NVIDIA (0x0080) Audio Function Group> at nid 1 on hdacc1 pcm2: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 4 on hdaa1 pcm3: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 5 on hdaa1 pcm4: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 6 on hdaa1 pcm5: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 7 on hdaa1 pcib10: Power Fault Detected pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: Power Fault Detected pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD Timecounter "TSC-low" frequency 1655996686 Hz quality 1000 Timecounters tick every 1.000 msec ZFS filesystem version: 5 ZFS storage pool version: features support (5000) ugen0.1: <Intel XHCI root HUB> at usbus0 pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD uhub0 numa-domain 0 on usbus0 uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD nda0 at nvme0 bus 0 scbus9 target 0 lun 1 nda0: <KXG50ZNV512G NVMe TOSHIBA 512GB AADA4105 78MS1223T8HQ> nda0: Serial Number 78Mpcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD S1223T8HQ nda0: nvme version 1.2 nda0: 488386MB (1000215216 512 byte sectors) ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: <ST3000DM008-2DM166 CC26> ACS-2 ATA SATA 3.x device ada0: Serial Number Z505F4XJ ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 2861588MB (5860533168 512 byte sectors) ada0: quirks=0x1<4K> ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: <ST3000DM008-2DM166 CC26> ACS-2 ATA SATA 3.x device ada1: Serial Number Z505FXBL ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 2861588MB (5860533168 512 byte sectors) ada1: quirks=0x1<4K> pcib10: (3) PCIEM_SLOT_STA_PFD ses0 at ahciem0 bus 0 scbus8 target 0 lun 0 ses0: <AHCI SGPIO Enclosure 2.00 0001> SEMB S-E-S 2.00 device ses0: SEMB SES Device ses0: ada0,pass0 in 'Slot 00', SATA Slot: scbus0 target 0 ses0: ada1,pass1 in 'Slot 01', SATA Slot: scbus1 target 0 ses0: cd0,pass2 in 'Slot 07', SATA Slot: scbus7 target 0 cd0 at ahcich7 bus 0 scbus7 target 0 lun 0 cd0: <HL-DT-ST DVD+-RW GHB0N A1C0> Removable CD-ROM SCSI device cd0: Serial Number KEDI66E2431 cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) cd0: 0MB (1 0 byte sectors) Trying to mount root from zfs:zroot/ROOT/default []... .... -- You are receiving this mail because: You are the assignee for the bug.