Bug 220014 - Handbook always recommends loading modules from /boot/loader.conf, never mentioning kld_list
Summary: Handbook always recommends loading modules from /boot/loader.conf, never ment...
Status: Closed Overcome By Events
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks: handbook-2022
  Show dependency treegraph
 
Reported: 2017-06-15 13:58 UTC by salternate
Modified: 2023-02-13 20:13 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description salternate 2017-06-15 13:58:36 UTC
So rc.conf(5) says "Loading modules at this point in the boot process is much faster than doing it via /boot/loader.conf for those modules not necessary for mounting local disk."

I first saw mention somewhere that it was safer to load video drivers from kld_list so the display wouldn’t be blanked for a long time during boot, so you would have the slightest idea what was going wrong if something does wrong... and indeed it has turned out to be much nicer to put i915kms in kld_list.
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2021-12-28 14:07:18 UTC
(In reply to salternate from comment #0)

As a comparison: <https://wiki.freebsd.org/Graphics> was edited in October 2021 to exemplify use of sysrc(8), 

<https://www.freebsd.org/cgi/man.cgi?query=sysrc&sektion=8&manpath=FreeBSD>

> i915kms

See for example <https://www.freshports.org/graphics/drm-fbsd13-kmod/#message> – a representation of what appears after installing meta port graphics/drm-kmod

<https://docs.freebsd.org/en/books/handbook/x11/> is, I believe, now more specific with regard to cases where loader.conf(5) might be appropriate or required.
Comment 2 Sergio Carlavilla Delgado freebsd_committer freebsd_triage 2023-02-13 20:13:21 UTC
The chapter X11 has been rewritten in: https://cgit.freebsd.org/doc/commit/?id=4d1de1c7246d147e1c428b542350695b8fedf84e