Summary: | [PATCH] hints file version mismatch error in dmesg is ambiguous | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Ashish Gupta <lrx337> | ||||
Component: | kern | Assignee: | Peter Wemm <peter> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | peter | ||||
Priority: | --- | Keywords: | patch | ||||
Version: | CURRENT | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: peter Date: Mon Jun 1 03:37:59 UTC 2020 New revision: 361685 URL: https://svnweb.freebsd.org/changeset/base/361685 Log: Clarify which hints file is the source of an error message. PR: 246688 Submitted by: Ashish Gupta <lrx337@gmail.com> MFC after: 1 week Changes: head/sys/kern/kern_linker.c |
Created attachment 214799 [details] 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.