From owner-freebsd-questions Wed Jun 21 3:32:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id 236D437B8D5 for ; Wed, 21 Jun 2000 03:32:11 -0700 (PDT) (envelope-from so@server.i-clue.de) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id OAA31613; Wed, 21 Jun 2000 14:35:41 +0200 Message-ID: <395099C1.77B95918@i-clue.de> Date: Wed, 21 Jun 2000 12:32:33 +0200 From: Christoph Sold Organization: i-clue interactive GmbH X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Garhan Attebury Cc: freebsd-questions@FreeBSD.ORG Subject: Re: kernel.conf (contains di commands for devices that don't exist) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Garhan Attebury wrote: > I'm a new FreeBSD user (RELEASE 4.0) and I just built a custom kernel for > the first time this morning. I removed various devices which I didn't need, > compiled it, and booted with it. As far as the actual kernel build goes, > everything went fine. However, I noticed that there were a lot of the > following errors when I rebooted... > > config> di sio1 > Invalid command or syntax. Type '?' for help. > > This happened for all the devices I took out of the kernel [...snip...] That's the current state of affairs. Not nice, but it causes no harm (other than a few lines per reboot in the log files) > What created kernel.conf in the first place? The kernel configuration utility, as you assumed. > I was thinking that the Kernel Configuration Utility (the visual mode > interface) was what created/modified > it, but when I tried saving the configuration from the utility, kernel.conf > didn't change. Unfortunately, the kernel configurator is not yet smart enough to remove disble lines for devices no longer in the kernel. > Also, if there isn't anything that creates/modifies kernel.conf, is there > anything wrong with what I did (set userconfig_script_load="NO") or removing > all the "di [device] entries from kernel.conf? Thanks for any help on this > in advance. You did it right -- remove the unneccessary di xxx-lines manually, or disable the script completely. Disabling the script completely may cause problems later when you have to change parts, such as a faulty ethernet card. HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message