Bug 220014

Summary: Handbook always recommends loading modules from /boot/loader.conf, never mentioning kld_list
Product: Documentation Reporter: salternate
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed Overcome By Events    
Severity: Affects Many People CC: carlavilla
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 263315    

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