From owner-freebsd-questions@FreeBSD.ORG Wed Apr 9 09:03:31 2003 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 6A53037B401 for ; Wed, 9 Apr 2003 09:03:31 -0700 (PDT) Received: from joloxbox.joshualokken.com (12-225-249-250.client.attbi.com [12.225.249.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70D6C43FBD for ; Wed, 9 Apr 2003 09:03:30 -0700 (PDT) (envelope-from joshualokken@attbi.com) Received: from joloxbox.joshualokken.com (localhost.joshualokken.com [127.0.0.1])h39G45bF020474; Wed, 9 Apr 2003 09:04:06 -0700 (PDT) (envelope-from joshualokken@attbi.com) Received: (from jolok@localhost) by joloxbox.joshualokken.com (8.12.9/8.12.9/Submit) id h39G43F2020473; Wed, 9 Apr 2003 09:04:03 -0700 (PDT) X-Authentication-Warning: joloxbox.joshualokken.com: jolok set sender to joshualokken@attbi.com using -f Date: Wed, 9 Apr 2003 09:04:03 -0700 From: Joshua Lokken To: james_mapson@museum.rain.com Message-ID: <20030409160403.GA20420@joloxbox.joshualokken.com> References: <20030408225454.GD14849@joloxbox.joshualokken.com> <20030408231146.A44748@ns.museum.rain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030408231146.A44748@ns.museum.rain.com> User-Agent: Mutt/1.4i Organization: little to none X-OS: FreeBSD joloxbox.joshualokken.com 4.8-STABLE i386 cc: freebsd-questions@freebsd.org Subject: Re: Testing a new kernel 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: Wed, 09 Apr 2003 16:03:31 -0000 * James Long (list@museum.rain.com) wrote: ==> > After the buildworld/buildkernel/installkernel procedure, it is recommended ==> > to reboot the new kernel to ensure that it is proper. What should one do ==> > to properly 'test' a kernel? Is it enough to reboot it and login? Thanks. ==> ==> That's a good question, and I don't know for sure. Mr. Chen says that ==> he thinks that's sufficient. Personally, I like to manually configure ==> the network card with ifconfig (or dhclient if the system is a DHCP ==> client), then do some traceroutes to "distant" systems, ones that are ==> 10-20 hops away, which exercises the network stack, and also, the ==> resolver (which maps names to and from IP addrs), since it has to do ==> a reverse lookup on each hop. Has anything ever not worked for you after the kernel install? ==> ==> One of the _first_ things I do after booting the new kernel into ==> single-user mode: ==> ==> adjkerntz -i (load the timezone adjuster) ==> fsck -p (check all the filesystems) I always do these things when going into single-user, but when I've 'tested' my new kernel, I've been booting into multi-user, logging in, and then re- booting back into single-user. ==> ==> I basically just try to "flex" the major muscles of the system: ==> file system, network stack, etc. This makes sense. => ==> I'm no expert, but just keep in mind that at this stage, it seems ==> possible that if any device nodes (/dev/ entries) are out of date ==> with the new kernel, you might have hardware issues with those ==> devices until you installworld and MAKEDEV all to regenerate the ==> /dev/ entries. I hear that FreeBSD 5.0 will have a revised ==> device system, so things may change when you move to 5.0. ==> ==> Jim ==> Yeah, five's a bit beyond for me right now, but 4 stable sure rocks! Thanks. -- Joshua