From owner-freebsd-questions@FreeBSD.ORG Sun Sep 17 17:27:35 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 9941816A403 for ; Sun, 17 Sep 2006 17:27:35 +0000 (UTC) (envelope-from mikes@siralan.org) Received: from rader.servnow.com (rader.servnow.com [69.93.129.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C97E43D49 for ; Sun, 17 Sep 2006 17:27:35 +0000 (GMT) (envelope-from mikes@siralan.org) Received: from [74.129.224.81] (helo=DHCP-74-129-224-81.insightbb.com) by rader.servnow.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.52) id 1GP0Nv-00056Z-Np; Sun, 17 Sep 2006 13:24:52 -0400 Date: Sun, 17 Sep 2006 13:28:25 -0400 (EDT) From: "Michael L. Squires" X-X-Sender: mikes@familysquires.net To: ExTaZyTi In-Reply-To: <468d29450609170020q758d83efk8cde82bb86ae3ccf@mail.gmail.com> Message-ID: <20060917131744.V38962@familysquires.net> References: <468d29450609170020q758d83efk8cde82bb86ae3ccf@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - rader.servnow.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - siralan.org X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-questions@freebsd.org Subject: Re: Please Help with my kernel 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: Sun, 17 Sep 2006 17:27:35 -0000 On Sun, 17 Sep 2006, ExTaZyTi wrote: > Hi, > > I'm new in FreeBSD, I want to conf and re-build my kernel but the directory > /usr/src is empty. > I'm with FreeBSD 6.1-STABLE, PLEASE HELP :( You didn't install sources hwen you installedyour system. The short answer is that you need to read the section in the handbook on running "cvsup" and getting the most recent STABLE sources, plus the section on configuring and rebuilding the kernel. You'll need to install the sources; the easiest way (for me) is to use "cvsup". You'll need to install "cvsup-without-gui" from ports (I use "sysinstall"), create a "/etc/cvsupfile" file, create the /usr/local/etc/cvsup directory, and then excute "/usr/local/bin/cvsup -g -L 2 /etc/cvsupfile". My cvsupfile, which downloads all the sources, looks like the following. You'll want to replace "cvsup1.FreeBSD.org" with a local mirror. *default host=cvsup1.FreeBSD.org *default base=/usr/local/etc/cvsup *default prefix=/usr *default release=cvs tag=RELENG_6 *default delete use-rel-suffix *default compress src-all Bports-all tag=. #doc-all tag=. Mike Squires UNIX(tm) at home since 1986