From owner-freebsd-questions Mon Feb 4 9: 2:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from indigo.quadrant.net (indigo.quadrant.net [207.195.92.9]) by hub.freebsd.org (Postfix) with ESMTP id 2176B37B425 for ; Mon, 4 Feb 2002 09:02:50 -0800 (PST) Received: from git2000 (gw.gerhardt-it.com [204.83.38.103]) by indigo.quadrant.net (8.9.1/8.9.1) with SMTP id LAA13664; Mon, 4 Feb 2002 11:02:46 -0600 (CST) From: "Scott Gerhardt" To: "Kevin Oberman" Cc: "FreeBSD" Subject: RE: Kernel Question Date: Mon, 4 Feb 2002 11:03:04 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020204165259.86EF15D0C@ptavv.es.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > 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