Re: Issues with FreeBSD 15-CURRENT on the ThunderX1

Shawn Webb <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <xl7e25dicw5f3ps4shkewk2h6str6ho6c4yjv2bolvw7vthlgc@bdsxwahyldb4>
On Tue, Feb 18, 2025 at 05:14:06PM +0000, Andrew Turner wrote:
> 
> > On 18 Feb 2025, at 16:43, Shawn Webb <[email protected]> wrote:
> > 
> > Hey all,
> > 
> > It appears that probing PCI devices might be busted on FreeBSD
> > 15-CURRENT snapshot
> > FreeBSD-15.0-CURRENT-arm64-aarch64-20250213-6156da866e7d-275409-memstick.
> > 
> > I have two ThunderX1 servers, both with PCI-connected Intel NICs. They
> > used to work on FreeBSD/HardenedBSD. I noticed in the boot-up dmesg
> > output that the kernel couldn't successfully probe the PCI devices.
> > I've attached /var/run/dmesg.boot and the output of `pciconf -lv`.
> > 
> > I don't know what exactly is broken, but I suspect the PCI probing
> > errors are at least symptomatic of the underlying problem.
> > 
> > I also tried HardenedBSD 15-CURRENT, and experienced the same issue.
> 
> It looks like the driver is missing ACPI support [1]. You can force FDT by setting “kern.cfg.order=fdt” in loader.
> 
> Andrew
> 
> [1] https://cgit.freebsd.org/src/tree/sys/dev/vnic/thunder_bgx.c?id=c76c2a19ae3763d17aa6a60a5831ed24cbc16e83#n1122

Hey Andrew,

Thanks for the response! I've tested out forcing FDT and that seems
to make the ThunderX1 happier.

Thanks again,

-- 
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

Tor-ified Signal: +1 303-901-1600 / shawn_webb_opsec.50
https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAme5BZYACgkQ/y5nonf4
4frXYw/+OXlj18QQqQh77dEwrdgZpuShtvubGlz8YU+w3xHQ5ALjkXZPQQD3bdx1
9U90rY69Nnqqyx36bjaYzWeUopYTe9Zqrk8J8Y5beWxNZ+6XG6xhgsNXMPpgAzHF
UFOItU/QS4O77nKktsBj7lhGKetzFvOSkI6OhobgBBIKmd43rhkYSnkJJr+4D6Tm
+vwfICIzUseceQeYxEMCPFH447OBrBhYJbTuxZCF+VEGCn0EJVZ6iRsdpEZFvmJ+
W/TC9VEFxlXjInjM0HpgRwyE9gwMey3XTT576fjnXZfd122KN2DRvh50kgJ1VXIA
Hnd6VtybezLCQJavjIe3i/V5e4YYyrFZIAmo75mKFp8nugr+nH96whTTr89AgZjo
YxolpTo+UPa/9xneMJjntShzxt0c79w3aAxqdLn118Bb6TVR3WYIZ/6G2EdoERWi
N2QdbhSmY7D8fYpigNVE+iQCgQNmPVqmLjZjbLCiQI+V9AmZQFsAvl8j/guZbKfe
M0fTqd0VrLj1dZDmjSDaGDJbz6tC/2Iw63OsNmosx6liv1RUQBF+JKylQ7Nj8Hov
98amEPxaDSweFeRjYZVGtpl3sZMPG2d82OZkcHJkC3BG1hv9jigHf4fFp9+O1+OA
gv3s4HPKON1JLnh/sPzubpbz1J7NNaQzWwtwZyldyTmP2gRDC7k=
=Bz6L
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.