Page MenuHomeFreeBSD

loader: Only warn for !FDT && !ACPI take two
ClosedPublic

Authored by cperciva on Jan 19 2026, 1:23 AM.
Tags
None
Referenced Files
F151325853: D54772.id170028.diff
Tue, Apr 7, 3:07 PM
Unknown Object (File)
Wed, Mar 25, 8:57 AM
Unknown Object (File)
Wed, Mar 18, 1:29 AM
Unknown Object (File)
Sun, Mar 15, 2:11 AM
Unknown Object (File)
Mar 2 2026, 6:56 PM
Unknown Object (File)
Mar 1 2026, 5:10 PM
Unknown Object (File)
Feb 23 2026, 10:05 AM
Unknown Object (File)
Feb 22 2026, 11:43 PM
Subscribers

Details

Summary

For unclear reasons, we used to print two warnings about not having a
DTB: First,
printf("No valid device tree blob found!\n");
and immediately later a second,
printf("WARNING! Trying to fire up the kernel, but no "

	    "device tree blob found!\n");

A previous commit silenced the second warning in the event that the
acpi.revision environment variable was set, on the theory that systems
which have ACPI might not need a DTB; this commit silences the first
of the two warnings under the same condition.

Fixes: 3989a3d81701 ("loader: Only warn when we have neither FDT nor ACPI")
Sponsored by: Amazon

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable