[Bug 246688] [PATCH] hints file version mismatch error in dmesg is ambiguous

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 24 01:11:19 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246688

            Bug ID: 246688
           Summary: [PATCH] hints file version mismatch error in dmesg is
                    ambiguous
           Product: Base System
           Version: 12.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: lrx337 at gmail.com

Created attachment 214799
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=214799&action=edit
Patch for changing error message in dmesg

Hi,

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list