Date: Thu, 4 Nov 2004 15:06:28 +0000 (GMT) From: Olafur Osvaldsson <oli@isnic.is> To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/73535: default loader.conf sets wrong module_path Message-ID: <20041104150628.9B1678A1C7@aker.isnic.is> Resent-Message-ID: <200411041510.iA4FASwN012215@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 73535 >Category: conf >Synopsis: default loader.conf sets wrong module_path >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 04 15:10:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Olafur Osvaldsson >Release: FreeBSD 5.3-RC1 i386 >Organization: ISNIC >Environment: System: FreeBSD aker.isnic.is 5.3-RC1 FreeBSD 5.3-RC1 #0: Sat Oct 30 14:46:17 GMT 2004 oli@aker.isnic.is:/usr/obj/usr/src/sys/ISNIC i386 >Description: 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. >How-To-Repeat: kldload ucom (or any working module on your system) >Fix: You can either apply the attached patch or just comment out module_path --- loader.conf.diff begins here --- --- sys/boot/forth/loader.conf.orig Thu Nov 4 14:53:44 2004 +++ sys/boot/forth/loader.conf Thu Nov 4 14:54:09 2004 @@ -49,7 +49,7 @@ #beastie_disable="NO" # Turn the beastie boot menu on and off #console="vidconsole" # Set the current console #currdev="disk1s1a" # Set the current device -module_path="/boot/modules" # Set the module search path +module_path="/boot/kernel;/boot/modules" # Set the module search path #prompt="\\${interpret}" # Set the command prompt #root_disk_unit="0" # Force the root disk unit number #rootdev="disk1s1a" # Set the root filesystem --- loader.conf.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041104150628.9B1678A1C7>