From owner-freebsd-amd64@FreeBSD.ORG Tue Dec 20 10:01:23 2011 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD493106566C for ; Tue, 20 Dec 2011 10:01:23 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5CE768FC27 for ; Tue, 20 Dec 2011 10:01:23 +0000 (UTC) Received: by eekc50 with SMTP id c50so7368796eek.13 for ; Tue, 20 Dec 2011 02:01:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:reply-to:x-mailer:mime-version :content-type:content-transfer-encoding; bh=8Shf1PnC+GrPLWwSd2BVDaVT6VwBMeMQSTvO0s5397c=; b=YeB0T18RVRJyrZ0Nwn14b5IqeW4VwUj50saudVpsMxTsm+psL8NVVQcEGMAkYZQgw4 BZHZi+PtWICnrgNlOUdPp7UPauzcE9+blnwnycY1NHfNcxYWBl5z7iJn+OD8mfvuJdPb QaJ3HCYWFmSHXEsyWkz+tObV2cR8ixTC7wNGo= Received: by 10.213.27.143 with SMTP id i15mr382759ebc.64.1324375282362; Tue, 20 Dec 2011 02:01:22 -0800 (PST) Received: from ernst.jennejohn.org (p578E26BF.dip.t-dialin.net. [87.142.38.191]) by mx.google.com with ESMTPS id j20sm4783256eej.8.2011.12.20.02.01.20 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Dec 2011 02:01:21 -0800 (PST) Date: Tue, 20 Dec 2011 11:01:19 +0100 From: Gary Jennejohn To: freebsd-amd64@freebsd.org Message-ID: <20111220110119.3f085dfd@ernst.jennejohn.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Boot Loader Conf X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 10:01:23 -0000 tomdean wrote: > FreeBSD 9.0 (RC2) amd64. up-to-date. > > I want to load a module, nvidia, on boot. > > /boot/loader.rc contains > include /boot/loader.4th > start > > /boot/loader.conf contains > cpuctl_load="YES" > nvidia_load="YES" > > /boot/modules/ directory contains > nvidia.ko > /boot/kernel/ directory contains > cpuctl.ko > > But, the modules are not loaded. > > What am I missing? There's no cpuctl_load or nvidia_load in /boot/defaults/loader.conf in 9.0 or 10.0 (I looked at the source on fxr.watson.org for 9.0 since I run 10.0). So there's no way that this can work. Load these modules in /etc/rc.local. What's missing from the nividia-driver port is a start script which should land under $LOCALBASE/etc/rc.d. -- Gary Jennejohn