From owner-freebsd-current@FreeBSD.ORG Tue Sep 20 00:25:30 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14FD61065670 for ; Tue, 20 Sep 2011 00:25:30 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id D501B8FC0A for ; Tue, 20 Sep 2011 00:25:29 +0000 (UTC) Received: by iadk27 with SMTP id k27so9241150iad.13 for ; Mon, 19 Sep 2011 17:25:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=GB30iVCIT4A7G6sL+g/PzR2Hx+iJXZN2RwZwPhjcB48=; b=e9XcgY9ARykWO2JM+QsuE6AhcZq9WNg9h3XUrynEWEwnlVmhYs+O8/Os/DZAiviEqs gHi1N39WlYrjekGmuG+pehiMGENY8w/lWqHvYMcuHaQtzMaqYlPavY3K3TmRCKJ8b/ir lNlIHb9FZSzrBfhSjsKPrivfrZf24TfiD9hww= MIME-Version: 1.0 Received: by 10.42.154.135 with SMTP id q7mr254271icw.87.1316478133985; Mon, 19 Sep 2011 17:22:13 -0700 (PDT) Received: by 10.42.177.199 with HTTP; Mon, 19 Sep 2011 17:22:13 -0700 (PDT) In-Reply-To: <1316359940.1744.28.camel@xenon> References: <1316359940.1744.28.camel@xenon> Date: Mon, 19 Sep 2011 19:22:13 -0500 Message-ID: From: Antonio Olivares To: Michal Varga Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: How does one install kernel sources and base X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2011 00:25:30 -0000 >> =A0 But my question is as follows, >> How do I get kernel sources and base installed? > > You can download them via csup with a config file similar to this: > > *default host=3Dcvsup5.FreeBSD.org > *default base=3D/var/db > *default prefix=3D/usr > *default release=3Dcvs tag=3D. > *default compress delete use-rel-suffix > src-all > > Save your config file (or so called supfile) someplace and run it as: > # csup your.supfile > > csup will download the latest source tree for kernel and base OS. > > Also, see FreeBSD Handbook for more information on using csup (or the > older, but functionally identical cvsup), and for many other questions > regarding general FreeBSD installation and maintenance: > > http://www.freebsd.org/doc/handbook/cvsup.html > > m. > > -- > Michal Varga, > Stonehenge (Gmail account) > Michal, Thank you very much for your detailed instruction. I was able to get all of the sources and built nvidia driver successfully :) However, when I run kldload nvidia, I get a mismatch with the running kernel and an incompatible ?????. I cannot post exact error as the machine gives me no X :(, I checked to see if enabling hald and dbus at /etc/rc.conf would make a difference and they have not :(, I have also tried nouveau and it also does not work. No working X on FreeBSD 9.0 BETA 2 amd64, ports updated to latest, xorg, xorg-server, xfce4, ... I will post in the thread I created on this issue. Regards, Antonio