Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2002 11:03:04 -0600
From:      "Scott Gerhardt" <scott@gerhardt-it.com>
To:        "Kevin Oberman" <oberman@es.net>
Cc:        "FreeBSD" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Kernel Question 
Message-ID:  <KPEMLBLEMPMHGLJOCDEGOEGIDMAA.scott@gerhardt-it.com>
In-Reply-To: <20020204165259.86EF15D0C@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
   > > 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.


	- Scott




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?KPEMLBLEMPMHGLJOCDEGOEGIDMAA.scott>