From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 16:24:13 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 1F47316A4D1 for ; Thu, 3 Mar 2005 16:24:13 +0000 (GMT) Received: from smtp.notarius.org (smtp.notarius.org [207.253.43.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F9AE43D46 for ; Thu, 3 Mar 2005 16:24:11 +0000 (GMT) (envelope-from david.robillard@notarius.com) Received: from paris.notarius.lan ([172.25.1.48]) by smtp.notarius.org with Microsoft SMTPSVC(6.0.3790.211); Thu, 3 Mar 2005 11:24:09 -0500 Received: from paris.notarius.lan (localhost [127.0.0.1]) by paris.notarius.lan (8.13.1/8.13.1) with ESMTP id j23GP8B6006973; Thu, 3 Mar 2005 11:25:08 -0500 (EST) (envelope-from drobilla@paris.notarius.lan) Received: (from drobilla@localhost) by paris.notarius.lan (8.13.1/8.13.1/Submit) id j23GP2Zm006972; Thu, 3 Mar 2005 11:25:02 -0500 (EST) (envelope-from drobilla) Date: Thu, 3 Mar 2005 11:25:02 -0500 From: David Robillard To: Jacob S Message-ID: <20050303162502.GA6946@paris.notarius.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 03 Mar 2005 16:24:09.0178 (UTC) FILETIME=[6D62C3A0:01C5200D] cc: freebsd-questions@freebsd.org Subject: Re: Kernel problems on 5.3. 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: Thu, 03 Mar 2005 16:24:13 -0000 Hi Jacob, You should try to CVSup your FreeBSD machines to get the latest code. Read section A.5 of the FreeBSD Handbook. Here's the link: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html I can't say this will fix your current problem, but for sure it can only be good, at least from a security stand point. You can proceed to do so via ssh. What you want to do is this: a) Create the file /root/cvs-supfile which contains the following: sudo vi /root/cvs-supfile # cvs-supfile # # $Id: cvs-supfile,v 1.7 2005/03/03 15:53:56 drobilla Exp drobilla $ # # Check /usr/share/examples/cvsup/cvs-supfile for # more information. # # David Robillard, December 9th, 2004 # Host from which files are fetched. # # *default host=cvsup.ca.freebsd.org *default host=cvsup4.freebsd.org # *default host=cvsup.ch.freebsd.org # Directory where CVSup stores info about it's work. # Will never grow beyond ~1MB and creates ${base}/sup. # NOTE: The `refuse' file is thus: /var/db/cvsup/sup/refuse # *default base=/var/db/cvsup # Directory where to place the downloaded files. # *default prefix=/usr # Which version of FreeBSD do we want? # Check http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html # # BROKEN?! *default tag=RELENG_5 *default tag=RELENG_5_3 # Defaults. Don't need to change this. # *default release=cvs delete use-rel-suffix compress # What do we want to download? # src-all # EOF c) Create the cvsup directory. sudo mkdir -p /var/db/cvsup/sup d) Now copy the refuse file to your cvsup directory. sudo cp /usr/share/examples/cvsup/refuse /var/db/cvsup/sup e) Setup your environment. You should set this up in your favorite shell's rc file. This here is for sh(1) and bash(1). CVSROOT=freebsdanoncvs@anoncvs.FreeBSD.org:/home/ncvs export CVSROOT f) Proceed with cvsup. Note, the first time you run things, you will be prompted to accept the RSA signature of the server you connect to. sudo cvsup -g -L 2 /root/cvs-supfile g) When the download finishes, rebuild the world and the kernel. Note, you have a custom built kernel, so you must change KERNCONF=GENERIC to KERNCONF=YOUR_KERNEL_CONFIG_FILE_NAME cd /usr/src sudo make -j2 buildworld sudo make -j2 buildkernel KERNCONF=GENERIC sudo make installkernel KERNCONF=GENERIC sudo mergemaster -p sudo make installworld sudo mergemaster h) Finally, reboot the machine. Once your machines come back online, run `uname -r` and you will notice that the current release level of the operating system has changed. For example, my servers have changed from "5.3-RELEASE" to "5.3-RELEASE-p5". Cheers, David -- David Robillard UNIX systems administrator david.robillard@notarius.com Notarius (TSIN) Inc. 465, rue St-Jean, suite 200 Montreal, Quebec, H2Y 2R6 Tel. : +1 514 966 0122 Fax. : +1 514 281 1226 http://www.notarius.com