From owner-freebsd-questions@FreeBSD.ORG Tue Jan 25 15:45:34 2005 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 B2EA316A4CE for ; Tue, 25 Jan 2005 15:45:34 +0000 (GMT) Received: from mail.rrinc.com (proxy.rrinc.com [206.158.104.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5786743D41 for ; Tue, 25 Jan 2005 15:45:32 +0000 (GMT) (envelope-from tbuck@rrinc.com) Received: from 127.0.0.1 (localhost [127.0.0.1]) by dummy.domain.name (Postfix) with SMTP id 8783EA0D1B for ; Tue, 25 Jan 2005 10:45:31 -0500 (EST) Received: from [191.173.42.9] (twix.rrinc.com [191.173.42.9]) by mail.rrinc.com (Postfix) with ESMTP id 6D7F5A0D19 for ; Tue, 25 Jan 2005 10:45:31 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <24C5E16A-6EE8-11D9-85E0-000393C83AC4@rrinc.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-questions@freebsd.org From: Tim Buck Date: Tue, 25 Jan 2005 10:45:31 -0500 X-Mailer: Apple Mail (2.619) Subject: "Persistent" kernel module? 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, 25 Jan 2005 15:45:34 -0000 Is there a way to make a kernel module "persistent" between kernel builds? I'm using a HighPoint SATA RAID controller on FreeBSD 5.3. HighPoint provides a driver for this controller in the form of a kernel module (hpt374.ko). Their instructions say to put the module in /boot/kernel, and add 'hpt374_load="YES"' to the file /boot/defaults/loader.conf. This works, but when I build a new kernel the /boot/kernel dir gets renamed and recreated, and the hpt374.ko module doesn't get copied to the new dir. I have to copy it manually each time I build the kernel. So is there a way to make the kernel build process know about third party kernel modules and copy it over to the new /boot/kernel automatically? Tim Buck * Information Technology Manager * Recognition Research, Inc. PHONE +1 540 961-6500 * FAX +1 540 961-3568 * EMAIL tbuck@rrinc.com No one ever went broke underestimating the intelligence of the American People -- P. T. Barnum