From owner-freebsd-bugs@FreeBSD.ORG Thu Nov 4 15:10:28 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96AC216A4CF for ; Thu, 4 Nov 2004 15:10:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6952A43D4C for ; Thu, 4 Nov 2004 15:10:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA4FASdG012218 for ; Thu, 4 Nov 2004 15:10:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA4FASwN012215; Thu, 4 Nov 2004 15:10:28 GMT (envelope-from gnats) Resent-Date: Thu, 4 Nov 2004 15:10:28 GMT Resent-Message-Id: <200411041510.iA4FASwN012215@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Olafur Osvaldsson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31F9916A4CE for ; Thu, 4 Nov 2004 15:06:30 +0000 (GMT) Received: from aker.isnic.is (aker.isnic.is [193.4.58.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA74E43D1D for ; Thu, 4 Nov 2004 15:06:29 +0000 (GMT) (envelope-from root@aker.isnic.is) Received: by aker.isnic.is (Postfix, from userid 0) id 9B1678A1C7; Thu, 4 Nov 2004 15:06:28 +0000 (GMT) Message-Id: <20041104150628.9B1678A1C7@aker.isnic.is> Date: Thu, 4 Nov 2004 15:06:28 +0000 (GMT) From: Olafur Osvaldsson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/73535: default loader.conf sets wrong module_path X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Olafur Osvaldsson List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 15:10:28 -0000 >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: