From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 13:02:53 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8A5716A402; Mon, 26 Feb 2007 13:02:53 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.web-strider.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 8AFBC13C4A8; Mon, 26 Feb 2007 13:02:53 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from coolf89ea26645 (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id l1QD2mZH026250; Mon, 26 Feb 2007 05:02:51 -0800 (PST) (envelope-from tedm@toybox.placo.com) Message-ID: <001001c759a6$438d5ed0$3c01a8c0@coolf89ea26645> From: "Ted Mittelstaedt" To: "Joe Auty" References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org><200702251146.08150.Danovitsch@vitsch.net><228AFDCF-D9C1-43F1-ACBE-719595B10FEE@netmusician.org><003b01c75940$fbc095f0$3c01a8c0@coolf89ea26645> <39E24107-964D-414C-95D1-5B1C376291E4@netmusician.org> Date: Mon, 26 Feb 2007 05:01:39 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Mon, 26 Feb 2007 05:02:52 -0800 (PST) X-Mailman-Approved-At: Mon, 26 Feb 2007 14:14:21 +0000 Cc: "Daan Vreeken \[PA4DAN\]" , Kip Macy , freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 13:02:54 -0000 ----- Original Message ----- From: "Joe Auty" To: "Ted Mittelstaedt" Cc: "Daan Vreeken [PA4DAN]" ; "Kip Macy" ; ; Sent: Sunday, February 25, 2007 10:39 PM Subject: Re: kernel panic at boot on any 6.x OS > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Feb 25, 2007, at 7:56 PM, Ted Mittelstaedt wrote: > > > > > ----- Original Message ----- > > From: "Joe Auty" > > To: "Daan Vreeken [PA4DAN]" > > Cc: "Kip Macy" ; ; > > > > Sent: Sunday, February 25, 2007 8:14 AM > > Subject: Re: kernel panic at boot on any 6.x OS > > > > > >> > >> Any idea how this could have happened after disabling everything in > >> my /etc/loader.conf, and simply running a: > >> > >> make buildworld > >> make buildkernel KERNCONF=myconfig > >> make installkernel KERNCONF=myconfig > >> > > > > well your supposed to do this single-user, run mergemaster and a > > few other > > things. > > I also don't see a make installworld. > > > > I usually perform those steps after I've rebooted to ensure that my > system will boot off the new kernel, as per the instructions in the > FreeBSD handbook. > > > Joe, please try booting from a 6.2-release install ISO. If it > > works without > > panicing, > > then you did something wrong during the upgrade. > > > > Downloading the image now, I'll let you know if I'm able to boot from > it... > > > Since by your own admission your not an expert, you would be well > > advised > > to simply back up your files the old fashioned way, reformat your > > hard disk, > > install from a 6.2 boot ISO, then restore your files. Leave the fancy > > in-place > > updating to someone else. It's a big PIA and doesen't work half > > the time > > anyway. > > > > > How well does simply upgrading with the CD work (as opposed to wiping > clean)? I've upgraded several times to new releases simply by > rebuilding world, it has never failed me in the past. I don't doubt > what you are saying here, but since I will have to change how I work, > assuming that I can boot off of the 6.2 CD, I'd appreciate any > general upgrade tips that don't involve wiping the disk clean (which > is not really an option). > If wiping the disk really isn't an option then you have one or more of the following problems: 1) Production system with a lack of hardware spares 2) inadequate backup plan and execution. People who state that wiping the disk isn't an option are screaming at the top of their lungs for the hardware gremlins to explain what MTBF is all about. The gremlins will visit you, I guarentee. And they always pick the very best times for it too. I just hope (if this is your workplace) that your job survives. > For instance, is rebuilding world between point releases (e.g. 5.4 to > 5.5) an okay idea, compared to across major releases (e.g. 5.5 to 6.2)? > > > I'll do my own homework regarding this too, but I appreciate any > nuggets of wisdom you might have! As far as me being an expert, I > guess I'd categorize me somewhere in between complete newb and > FreeBSD developer =) > The problem is that all of the ports and packages that you put on a server change from release to release. The developers of openssl, for example, don't give a tinkers damn about how FreeBSD's upgrade process works, when they are making changes in their code. I run a number of FreeBSD servers and what I do is simply keep them patched with security updates. Every once in a while a security hole will be discovered in a non-core program and if it's serious enough I'll go into the port and do a "make deinstall" followed by downloading and compiling the program the "old fashioned way" I shoot for a min of 3 years on the OS before even thinking about updating, and when it's time to update the hardware has generally reached the old rag stage anyway. Ted