From owner-freebsd-questions@FreeBSD.ORG Tue Feb 10 11:00:31 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29D4D16A4CE for ; Tue, 10 Feb 2004 11:00:31 -0800 (PST) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 76AFE43D1F for ; Tue, 10 Feb 2004 11:00:30 -0800 (PST) (envelope-from krylon@gmx.net) Received: (qmail 27552 invoked by uid 65534); 10 Feb 2004 19:00:29 -0000 Received: from B6258.b.pppool.de (EHLO wintermute) (213.7.98.88) by mail.gmx.net (mp015) with SMTP; 10 Feb 2004 20:00:29 +0100 X-Authenticated: #685629 Date: Tue, 10 Feb 2004 20:02:37 +0100 From: Benjamin Walkenhorst To: freebsd-questions@FreeBSD.org Message-Id: <20040210200237.29a30589.krylon@gmx.net> In-Reply-To: <20040210132923.53E0.GERARD-SEIBERT@rcn.com> References: <20040210132923.53E0.GERARD-SEIBERT@rcn.com> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386--netbsdelf) X-Operating-System: NetBSD 1.6.2_RC4 User-Agent: Sylpheed 0.9.7 X-Face: "G=jn*S]P-JmPX0[GAK; )7Yo0p?#U/0m{g!*j3XGvT80*#5pX0kPN$4+azk{O#@ZEZV9BS:4y; \9utXK@+?.mCT.k%G&Ix2XEj-`bBt{TituWYrQ5npZb+:ERfmRt-((lW:itQr$C|B~; vhJ:>2,{tA}#)P'g3h6eE8JT|Qfcm50pUoy{zb8=jvof2?lY}EYTEt4z=5*i%OJ136\?S8^g~^>,s&,jBb'=K|ryeVtUX5 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Options for a New Kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 19:00:31 -0000 On Tue, 10 Feb 2004 13:36:56 -0500 Gerard Seibert wrote: > I am still trying to learn how FreeBSD works. Can I create a new > kernel file with the following entries or are they just for use in the > loader.conf file? > > hint.acpi.0.disabled=0 # enable ACPI (i386 only) > hw.ata.ata_dma=1 # enable IDE DMA > hw.ata.atapi_dma=1 # enable ATAPI/IDE DMA > hw.ata.wc=1 # enable IDE disk write cache > hw.eisa_slots=0 # disable probing for EISA devices To quote /usr/src/sys/i386/conf/GENERIC: #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" #Default places to look for #devices. The disadvantage of this approach is that you cannot change any hints after you have compiled the kernel, unless you compile again everytime you change one of the hints... I'm not sure this is a wise thing to do, but as you see, it's perfectly possible. =) If your device-hints aren't like to change it's quite safe, but I don't think your system's going to boot faster or something like that. Anyway, just write all of your device-hints to a file of your choice and add --- hints "your_device_hints.hints" --- to your kernel-config, "make kernel", reboot and enjoy. =) I'm not entirely sure, but to be on the safe side, you probably place the hints-file in the folder of your kernel-config (/usr/src/sys//conf). > Thanks! > > Gerard Seibert > gerard-seibert@rcn.com Hope it helps, kind regards, Benjamin