Bug 73535 - default loader.conf sets wrong module_path
Summary: default loader.conf sets wrong module_path
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: ru
Depends on:
Reported: 2004-11-04 15:10 UTC by Olafur Osvaldsson
Modified: 2004-11-04 15:24 UTC (History)
0 users

See Also:

loader.conf.diff (579 bytes, patch)
2004-11-04 15:10 UTC, Olafur Osvaldsson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olafur Osvaldsson 2004-11-04 15:10:27 UTC
kldload tries to load all modules by default from /boot/modules even
though kldload(8) states that /boot/kernel is the directory containing
the modules, and in sys/boot/common/module.c the default is set to
"/boot/kernel;/boot/modules" wich is almost in sync with kldconfig(8)
man page that states /boot/kernel, /boot/modules, /modules to be the
default module search path used by the kernel.

Fix: You can either apply the attached patch or just comment out module_path

kldload ucom (or any working module on your system)
Comment 1 ru freebsd_committer 2004-11-04 15:24:10 UTC
State Changed
From-To: open->closed

Please see the 20040806 entry in src/UPDATING. 

Comment 2 ru freebsd_committer 2004-11-04 15:24:10 UTC
Responsible Changed
From-To: freebsd-bugs->ru