From owner-freebsd-questions@FreeBSD.ORG Thu Mar 10 19:55:16 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 6057C16A4CE for ; Thu, 10 Mar 2005 19:55:16 +0000 (GMT) Received: from pimout1-ext.prodigy.net (pimout1-ext.prodigy.net [207.115.63.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE93743D4C for ; Thu, 10 Mar 2005 19:55:15 +0000 (GMT) (envelope-from stormspotter@6Texans.net) Received: from jacob.6texans.net (adsl-64-109-18-13.dsl.rcfril.ameritech.net [64.109.18.13])j2AJtALE048006; Thu, 10 Mar 2005 14:55:10 -0500 Date: Thu, 10 Mar 2005 13:55:09 -0600 From: Jacob S To: freebsd-questions@freebsd.org Message-ID: <20050310135509.176f26f6@jacob.6texans.net> In-Reply-To: <20050303162502.GA6946@paris.notarius.lan> References: <20050303162502.GA6946@paris.notarius.lan> X-Mailer: Sylpheed-Claws 0.9.13 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: david.robillard@notarius.com 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, 10 Mar 2005 19:55:16 -0000 On Thu, 3 Mar 2005 11:25:02 -0500 David Robillard wrote: > Hi Jacob, Hello David, > 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. Ok. I had been meaning to learn cvsup anyway. Your instructions for setting it up are great - I was having trouble finding documentation for that step. > 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 > > > 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". I have had contact with another FreeBSD user running 5.3 on Xeon machines that make it look like the HyperThreading (SMP) support might be suspect in the kernel. I hope to test this tomorrow, but had to schedule the downtime with the client first. Oh, and between the other user and reading /usr/src/Makefile I was able to learn about mergemaster, which fixes another of my concerns related to the upgrade. Thanks again, Jacob