Re: nhi0: Cannot find Upstream Facing Port
Lars Engels <[email protected]> Tue, 16 Jun 2026 22:32:31 +0200
| Newsgroups | gmane.os.freebsd.current |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jun 15, 2026 at 08:40:19PM -0700, Enji Cooper (yaneurabeya) wrote: > > > On Jun 14, 2026, at 11:19 PM, Chris Torek <[email protected]> wrote: > > > > Noticed that there's some new thunderbolt code. I get this during boot: > > > > pci3: <PCI bus> on pcib3 > > nhi0: <Generic USB4 NHI> at device 0.0 on pci3 > > nhi0: Cannot find Upstream Facing Port > > nhi0: tb_router_attach_root() error. The driver should be loaded at boot > > > > If it helps any, here's some "pciconf -lv" output snippets: > > > > pcib2@pci0:1:0:0: class=0x060400 rev=0x02 hdr=0x01 vendor=0x8086 device=0x > > 1136 subvendor=0x8086 subdevice=0x0000 > > vendor = 'Intel Corporation' > > device = 'Thunderbolt 4 Bridge [Maple Ridge 4C 2020]' > > class = bridge > > subclass = PCI-PCI > > pcib3@pci0:2:0:0: class=0x060400 rev=0x02 hdr=0x01 vendor=0x8086 device=0x > > 1136 subvendor=0x8086 subdevice=0x0000 > > vendor = 'Intel Corporation' > > device = 'Thunderbolt 4 Bridge [Maple Ridge 4C 2020]' > > class = bridge > > subclass = PCI-PCI > > pcib4@pci0:2:1:0: class=0x060400 rev=0x02 hdr=0x01 vendor=0x8086 device=0x > > 1136 subvendor=0x8086 subdevice=0x0000 > > vendor = 'Intel Corporation' > > device = 'Thunderbolt 4 Bridge [Maple Ridge 4C 2020]' > > class = bridge > > subclass = PCI-PCI > > > > Can include more if needed. System works fine without whatever it's > > trying to do (of course, since it wasn't even detected before :-) ) > > Hi Chris, > I lit up the code in GENERIC in 886164895f — so that’s my fault :) (any info about the thunderbolt devices would be appreciated!). obiwac@ asked that I back it out, so I’ll take care of that now since it’s on my mind. > Thanks! > -Enji > > PS The thunderbolt(4) device implementation is incomplete: it was based on work done by hselasky@ before he passed away back in 2023. I have a TODO item to look at trying and get it working (enough) to have functional Thunderbolt/USB4 stack for storage purposes, but it’s way down my TODO list. tl;dr: I’m trying to get a partially functional Mac x86 port before Apple nukes Intel support from macOS. I am seeing the same error message on AMD hardware. # pciconf -lv|rg -A4 nhi nhi0@pci0:195:0:5: class=0x0c0340 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1668 subvendor=0xf111 subdevice=0x0006 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Pink Sardine USB4/Thunderbolt NHI controller' class = serial bus subclass = USB nhi1@pci0:195:0:6: class=0x0c0340 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1669 subvendor=0xf111 subdevice=0x0006 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Pink Sardine USB4/Thunderbolt NHI controller' class = serial bus subclass = USB