Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Feb 2002 07:46:51 -0500
From:      "Doug Reynolds" <mav@wastegate.net>
To:        "Kevin Oberman" <oberman@es.net>, "Scott Gerhardt" <scott@gerhardt-it.com>
Cc:        "FreeBSD" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Kernel Question
Message-ID:  <20020205124445.7BAFB48449@wastegate.net>
In-Reply-To: <KPEMLBLEMPMHGLJOCDEGOEGIDMAA.scott@gerhardt-it.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Feb 2002 11:03:04 -0600, Scott Gerhardt wrote:

>   > > What is the purpose of /boot/kernel.conf and should the
>   > file be empty or
>   > > even exist?
>   >
>   > These entries should have been in the form "di psm0". They are created
>   > by the visual configuration operation at installation time to disable
>   > devices in the GENERIC kernel which might cause conflicts and keep the
>   > GENERIC kernel from booting properly.
>   >
>   > There is no man page for kernel.conf, but here is a message I just
>   > sent out to another person who was baffled by this poorly documented
>   > tool:
>   >
>   > There seems to be no centralized documentation on the kernel.conf
>   > file. Maybe, some day when I actually have a bit of free time, I will
>   > try writing a man page for it.
>   >
>   > /boot/kernel.conf is a file of commands to the loader that can adjust
>   > the way the system loads. Among the things you can do with it are:
>   > disable /enable devices. This allows the use of devices marked
>   > "disable" in the kernel configuration as we as disabling any device
>   > that would otherwise be enabled.
>   >
>   > It can also supply/override any of the configuration parameters in the
>   > kernel configuration file such as irq, iomem, port, etc. This is
>   > especially important for loadable modules that need this information
>   > to operate correctly.
>   >
>   > Finally, kernel.conf, as a whole, is enabled by the presence of
>   > userconfig_script_load="YES" in /boot/loader.conf. This is only
>   > documented in very cryptic fashion in the loader.conf man page.
>   >
>   > userconfig_script_load
>   > 	(``NO'') If set to ``YES'', will load the userconfig
>   > 	data.
>   >
>
>Thanks for clarifying that Kevin,
>
>Since I'm using a custom kernel with all the correct devices I can just
>change the "YES to "NO" in userconfig_script_load="YES" in
>/boot/loader.conf, Correct?
>
>I have already done the same affect by removing the entries from
>kernel.conf.

I'd just make the kernel config blank- you never know when u might have
to use it.

---
doug reynolds | the maverick | mav@wastegate.net

PGP Public Key Fingerprint: 6E7B 9993 B503 6D45  E33A 2019 26E5 C1DB



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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