From owner-freebsd-questions Wed Apr 5 14:48:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id A610137BB76 for ; Wed, 5 Apr 2000 14:48:39 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id RAA02838; Wed, 5 Apr 2000 17:48:20 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-Id: <200004052148.RAA02838@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200004050933.CAA01828@earthlink.net> Date: Wed, 05 Apr 2000 17:48:20 -0400 (EDT) From: John Baldwin To: Derrick Baumer Subject: Re: Kill the uncomfortable message at boot time Cc: questions@FreeBSD.org, alexkwan@pacific.net.hk, bright@wintelcom.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 05-Apr-00 Derrick Baumer wrote: > >> From: Alfred Perlstein >> >> * Alex Kwan [000404 20:04] wrote: >> > Hi! >> > >> > When I exec dmesg | more to checked the boot message, I have found >> > following error message, but I have not theses cards and have not config >> > these network and scsi interface on kernel config. Although the machine >> > is ruuning well, but I want to kill this uncomfortable message, what can I >> > do? >> > >> > CPU: Pentium 54C >> > Real Memory: ....... >> > config>di sn0 >> > No such device >> > Invalid Command or syntax, Type '?' for help >> > config>di sn0 >> > # same error message # >> > config>di lnc0 >> > # same error message # >> >> [snip] >> >> remove the lines from /boot/kernel.conf > > Be sure to only delete those lines that have an actual corresponding > error message showing. You may end up disabling parts of your system > if you just delete them all. (found out the hard way) (it's fixable > if you find out the hard way, too - just recompile the kernel and try > it again) > > Do I understand that /boot/kernel.conf is written by the configuration > system that is accessed via boot -c? Userconfig (the -c kernel part) sets a sysctl with all the changes made. After the system is booted, you can use kget to write to stdout the userconfig commands equivalent to the changes you made. Sysinstall uses similar functionality to write a /boot/kernel.conf during installation. The kernel itself does not generate this file. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message