Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2004 20:49:27 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/boot/common help.common src/sys/boot/forth loader.conf
Message-ID:  <20040809174927.GA20807@orion.daedalusnetworks.priv>
In-Reply-To: <20040809173814.GG991@funkthat.com>
References:  <200408061506.i76F66sl018247@repoman.freebsd.org> <20040809124153.GN628@darkness.comp.waw.pl> <20040809173814.GG991@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-08-09 10:38, John-Mark Gurney <gurney_j@resnet.uoregon.edu> 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/<kernname>' 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040809174927.GA20807>