From owner-freebsd-questions Wed Feb 9 10: 9: 3 2000 Delivered-To: freebsd-questions@freebsd.org Received: from nimitz.ca.sandia.gov (nimitz.ca.sandia.gov [146.246.243.56]) by builder.freebsd.org (Postfix) with ESMTP id 967F3408F for ; Wed, 9 Feb 2000 10:08:58 -0800 (PST) Received: (from bmah@localhost) by nimitz.ca.sandia.gov (8.9.3/8.9.3) id JAA19993; Wed, 9 Feb 2000 09:44:37 -0800 (PST) Message-Id: <200002091744.JAA19993@nimitz.ca.sandia.gov> X-Mailer: exmh version 2.1.1-cvs 10/15/1999 To: Mark J Tomko Cc: freebsd-questions@FreeBSD.ORG Subject: Re: kernel config at boot time In-Reply-To: <20000209122837.A412@prime.cs.ohiou.edu> References: <20000209122837.A412@prime.cs.ohiou.edu> Comments: In-reply-to Mark J Tomko message dated "Wed, 09 Feb 2000 12:28:37 -0500." From: bmah@CA.Sandia.GOV (Bruce A. Mah) Reply-To: bmah@CA.Sandia.GOV X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Url: http://www.ca.sandia.gov/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-1659486753P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 09 Feb 2000 09:44:37 -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --==_Exmh_-1659486753P Content-Type: text/plain; charset=us-ascii If memory serves me right, Mark J Tomko wrote: > At the suggestion of people on the list, I compiled the generic kernel > with little or no modification- which means there are still lots of > devices in the kernel that I don't have. When I had compiled out > devices previously, I got errors when the kernel loaded this stuff: > config> di ppc0 > config> di zp0 > config> di ze0 [snip] > config> q > > After each of those messages, there would be a warning saying "device not > present" or something similar. So before I start removing devices from > this kernel, how do I edit the config so it doesn't try to load devices > that aren't in the kernel or my system? The devices in the "di" commands above are probably devices that you disabled in the visual configuration editor. When you recompiled the kernel not to include them, the boot loader complained because it couldn't disable a device that wasn't even in the (custom) kernel to begin with. An easy way to get around these warnings is to go ahead and make up your custom kernel, then edit /boot/kernel.conf and remove all of the "di" lines. Then, next time you reboot, use the visual configuration editor and disable any devices that still have drivers present in the kernel, but that you don't want probed for some reason. The warnings aren't fatal, just a tad annoying. Good luck! Bruce. --==_Exmh_-1659486753P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: 5W3ohGcx3+UMcOL/Ugvs7Z7mp1NZaT5w iQA/AwUBOKGnhdjKMXFboFLDEQI1RQCfciuFJXP8tgMClDugg1t1ecVZWwQAoMgo S00KgGb19Wyz/k72RMpwNXto =PO/3 -----END PGP SIGNATURE----- --==_Exmh_-1659486753P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message