[Bug 286700] Loader kmod loading errors vanish too quickly

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 09 May 2025 18:17:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286700

            Bug ID: 286700
           Summary: Loader kmod loading errors vanish too quickly
           Product: Base System
           Version: 14.3-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: ps.ports@smyrak.com

I was recently affected by an incident during upgrading my main 14-STABLE
machine that looked initially very much like some sort of regression but turned
out to be a pretty simple root cause.

Since ZFS support needs a separate kernel module even the default GENERIC
kernel cannot handle root on ZFS without access to such. 

In my case a faulty "make installkernel" (lack of certain kmods inc. zfs.ko)
caused the machine boot to fail at root mounting. Failure to load modules
listed in loader.conf hid the actual root cause for a long time, as boot posted
errors vanish too quickly, turning operator attention towards other theories.

Currently on fast modern systems errors posted by loader on boot are gone
quickly. It would be helpful if loader stopped for a second, when it cannot
locate a module configured in loader.conf to let operator acknowledge the
problem. 

I see if mostly as a usability issue.

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