From owner-cvs-all@FreeBSD.ORG Mon Aug 9 17:51:42 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76DB216A4D1; Mon, 9 Aug 2004 17:51:41 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93DF043D55; Mon, 9 Aug 2004 17:51:40 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])i79Hpbip011545; Mon, 9 Aug 2004 20:51:37 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) i79HoTmp020967; Mon, 9 Aug 2004 20:51:35 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)i79HnRfN020935; Mon, 9 Aug 2004 20:49:27 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 9 Aug 2004 20:49:27 +0300 From: Giorgos Keramidas To: John-Mark Gurney Message-ID: <20040809174927.GA20807@orion.daedalusnetworks.priv> References: <200408061506.i76F66sl018247@repoman.freebsd.org> <20040809124153.GN628@darkness.comp.waw.pl> <20040809173814.GG991@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040809173814.GG991@funkthat.com> cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/boot/common help.common src/sys/boot/forth loader.conf X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2004 17:51:43 -0000 On 2004-08-09 10:38, John-Mark Gurney wrote: > Pawel Jakub Dawidek wrote this message on Mon, Aug 09, 2004 at 14:41 +0200: > > If kernel name is given for the 'boot' command, '/boot/' path is > > probably added to kern.module_path, but for normal boot process it is not, > > so kern.module_path is set only to "/boot/modules". > > Some applications depend on this sysctl and they don't work properly now. > > Please fix. > > Have you verified this is a problem? On my test box that has: > defaults/loader.conf:module_path="/boot/modules" # Set the module search path > > and was booted: > [...] > /boot/kernel/accf_http.ko text=0xb84 data=0x150+0x4 syms=[0x4+0x310+0x4+0x334] > > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... I don't know if this is related, but... I've also noticed that /boot/kernel is added twice at module_path. My boot loader-foo is non-existent but it always seemed sufficient to just use: set module_path=/boot/kernel.old set bootfile=/boot/kernel.old/kernel to recover from broken/buggy kernel builds, so I never asked. Does this mean that now module_path will include the current kernel path only once? - Giorgos