From owner-freebsd-stable@FreeBSD.ORG Fri Nov 2 12:04:48 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2199716A421 for ; Fri, 2 Nov 2007 12:04:48 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 707D613C480 for ; Fri, 2 Nov 2007 12:04:47 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 02 Nov 2007 10:17:48 -0000 Received: from vpn-cl-161-217.rz.uni-karlsruhe.de (EHLO mobileKamikaze.norad) [141.3.161.217] by mail.gmx.net (mp004) with SMTP; 02 Nov 2007 11:17:48 +0100 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX1+WMZIgmzqWQbYcg2glxSoiIMQgXFE6ssJN0x4YFa olSqJvO0eoU1ZP Message-ID: <472AF94B.1020600@gmx.de> Date: Fri, 02 Nov 2007 11:17:47 +0100 From: "[LoN]Kamikaze" User-Agent: Thunderbird 2.0.0.6 (X11/20071101) MIME-Version: 1.0 To: Clint Olsen References: <20071102095628.GA796@0lsen.net> In-Reply-To: <20071102095628.GA796@0lsen.net> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Source upgrade from 5.5 to 6.X not safe? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 12:04:48 -0000 Clint Olsen wrote: > I just attempted a source upgrade from 5.5-STABLE to 6.3-PRERELEASE, and it > was a disaster, more than likely because I forgot to do something. > Normally I'm saved by the fact that the operations are not so scary as to > cause problems. > > Well, in this case after running 'make installkernel' and rebooting, the > system did not come back up because it got kernel fatals on reboot (fatal > trap 12: page fault while in kernel mode). It appears that my filesystems > got marked dirty in the reboot loop that ensued, and I had to manually fsck > them. I figured after that it might boot, but alas problems remained, so > after grabbing a disc1 image of 6.2 on CDROM I moved kernel.old back and > kernel to kernel.bad. > > Now, sometimes I work fast and loose with the rules of upgrading, but I was > surprised that I managed to royally screw up things. Any pointers would be > appreciated before I shave off a few years of my life again. > > Thanks, > > -Clint I think you might have no choice but to omit the reboots, because the world contains lots of stuff that has to do with the kernel (like mounting). So just go into single user mode and do the usual stuff: # make installkernel # mergemaster -p # make installworld # mergemaster # shutdown -r now and pray to your deity of choice. If the reason for your problem is something else however you're stuck with a system that can not run with your old kernel. So better backup before you try.