From owner-freebsd-questions@FreeBSD.ORG Sat Oct 20 18:59:36 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FE6616A41A for ; Sat, 20 Oct 2007 18:59:36 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.freebsd.org (Postfix) with ESMTP id 131A013C467 for ; Sat, 20 Oct 2007 18:59:34 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atlantis.dyndns.org (athedsl-322507.home.otenet.gr [85.72.115.105]) by rosebud.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l9KIxPlB029293; Sat, 20 Oct 2007 21:59:26 +0300 Message-ID: <471A500D.5070900@otenet.gr> Date: Sat, 20 Oct 2007 21:59:25 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Roberth_Sjon=F8y?= References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: The kernel source? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2007 18:59:36 -0000 Roberth Sjonøy wrote: > How do I get the kernel source for my kernel? I need it to install the > nvidia-driver from ports, and is there anything else I need to do to > make the kernel load the driver at startup? > > Regards, Roberth > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > Generally speaking, just edit the /etc/X11/xorg.conf and change reference Driver "nv" to Driver "nvidia" To load the kernel module, type (as root) kldload nvidia To make it load automatically at startup, edit /boot/loader.conf and add line nvidia_load="YES" If you have not installed the kernel source when the system was originally installed , you can do it now by running sysinstall again or use csup as another poster said to download it.