Created attachment 214799 [details]
Patch for changing error message in dmesg
I've been trying to fix some issues related to loading kernel modules, but the error message in dmesg which said "hints file version mismatch 1979654256" are ambiguous as the system has more than one hints files (device.hints, and linker.hints) while this error is strictly for the linker.hints file.
It took me a while to figure out this was related to the linker.hints file (it should be pretty obvious to a seasoned freebsd user as the linker.hints file is more relevant for loading kernel modules), but I feel that this (small) change should help make the error more accurate.
It changes the error messages to say "linker.hints file version mismatch XXXX" instead.
A commit references this bug:
Date: Mon Jun 1 03:37:59 UTC 2020
New revision: 361685
Clarify which hints file is the source of an error message.
Submitted by: Ashish Gupta <firstname.lastname@example.org>
MFC after: 1 week