https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285993
--- Comment #14 from Jim Long <freebsd-bugzi...@umpquanet.com> --- I've got a verbose dmesg if that will help. With that level of detail, I'm not as clear on what is or isn't relevant. If you want all 2200-some lines, just say the word. Otherwise, here's the redacted version. Looking at my printf's, is there perhaps a clue in the sequence: pcib10: (1) retval == -1 pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (2) retval == 0 I appreciate your assistance with this. Please don't hesitate to suggest more enlightening "printf" probes, since I am not familiar with the kernel source. Thank you, Jim Diffs to n271055: 11:47:43 /usr/src# git diff 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)); Trimmed verbose dmesg: ... pcm5: Soft PCM mixer ENABLED pcm5: Playback channel matrix is: unknown, assuming 7.1 (disconnected) pcib10: HotPlug interrupt: 0x52 pcib10: Power Fault Detected pcib10: Command Completed pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: HotPlug command: 15f8 -> 17f8 pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: HotPlug interrupt: 0x52 pcib10: Power Fault Detected pcib10: Command Completed pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD procfs registered Statistical TSC calibration took 18175 us and 4035 data points Timecounter "TSC-low" frequency 1655996465 Hz quality 1000 Statistical lapic calibration took 8083 us and 41665 data points ... AcpiOsExecute: enqueue 20 pending tasks ugen0.1: <Intel XHCI root HUB> at usbus0 pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD msi: Assigning MSI-X IRQ 94 to local APIC 5 vector 48 pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD msi: Assigning MSI-X IRQ 95 to local APIC 21 vector 48 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: (1) retval == -1 pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (2) retval == 0 nvme0: failing outstanding i/o nvme0: ASYNC_EVENT_REQUEST (0c) sqid:0 cid:14 nsid:0 cdw10:00000000 cdw11:00000000 nvme0: ABORTED - BY REQUEST (00/07) crd:0 m:0 dnr:1 p:0 sqid:0 cid:14 cdw0:0 nvme0: ASYNC_EVENT_REQUEST (0c) sqid:0 cid:13 nsid:0 cdw10:00000000 cdw11:00000000 nvme0: ABORTED - BY REQUEST (00/07) crd:0 m:0 dnr:1 p:0 sqid:0 cid:13 cdw0:0 nvme0: ASYNC_EVENT_REQUEST (0c) sqid:0 cid:12 nsid:0 cdw10:00000000 cdw11:00000000 nvme0: ABORTED - BY REQUEST (00/07) crd:0 m:0 dnr:1 p:0 sqid:0 cid:12 cdw0:0 nvme0: ASYNC_EVENT_REQUEST (0c) sqid:0 cid:11 nsid:0 cdw10:00000000 cdw11:00000000 nvme0: ABORTED - BY REQUEST (00/07) crd:0 m:0 dnr:1 p:0 sqid:0 cid:11 cdw0:0 nvme0: ASYNC_EVENT_REQUEST (0c) sqid:0 cid:10 nsid:0 cdw10:00000000 cdw11:00000000 nvme0: ABORTED - BY REQUEST (00/07) crd:0 m:0 dnr:1 p:0 sqid:0 cid:10 cdw0:0 nvme0: ASYNC_EVENT_REQUEST (0c) sqid:0 cid:9 nsid:0 cdw10:00000000 cdw11:00000000 nvme0: ABORTED - BY REQUEST (00/07) crd:0 m:0 dnr:1 p:0 sqid:0 cid:9 cdw0:0 nvme0: ASYNC_EVENT_REQUEST (0c) sqid:0 cid:8 nsid:0 cdw10:00000000 cdw11:00000000 nvme0: ABORTED - BY REQUEST (00/07) crd:0 m:0 dnr:1 p:0 sqid:0 cid:8 cdw0:0 nvme0: ASYNC_EVENT_REQUEST (0c) sqid:0 cid:7 nsid:0 cdw10:00000000 cdw11:00000000 nvme0: ABORTED - BY REQUEST (00/07) crd:0 m:0 dnr:1 p:0 sqid:0 cid:7 cdw0:0 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 .... pass0: Command Queueing enabled pci0: driver added .... pci1: driver added pci2: driver added pci3: driver added pci4: driver added pci5: driver added .... pci6: driver added .... pci7: driver added pci8: driver added .... pci9: driver added pci10: driver added pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD nvme0: detached 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 pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (3) PCIEM_SLOT_STA_PFD Trying to mount root from zfs:thumb/ROOT/default []... 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 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 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 pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (1) retval == -1 pcib10: (3) PCIEM_SLOT_STA_PFD pcib10: (2) retval == 0 pci10: detached .... -- You are receiving this mail because: You are the assignee for the bug.