From owner-freebsd-questions@FreeBSD.ORG Fri Aug 4 05:43:21 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 11DB316A4E1 for ; Fri, 4 Aug 2006 05:43:21 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A197C43D45 for ; Fri, 4 Aug 2006 05:43:20 +0000 (GMT) (envelope-from cperciva@freebsd.org) Received: from pd2mr5so.prod.shaw.ca (pd2mr5so-qfe3.prod.shaw.ca [10.0.141.8]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0J3G00KZKL873A70@l-daemon> for freebsd-questions@freebsd.org; Thu, 03 Aug 2006 23:43:20 -0600 (MDT) Received: from pn2ml5so.prod.shaw.ca ([10.0.121.149]) by pd2mr5so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0J3G00HJJL87CXJ0@pd2mr5so.prod.shaw.ca> for freebsd-questions@freebsd.org; Thu, 03 Aug 2006 23:43:19 -0600 (MDT) Received: from hexahedron.daemonology.net ([24.82.18.31]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0J3G00L44L86E1Y0@l-daemon> for freebsd-questions@freebsd.org; Thu, 03 Aug 2006 23:43:19 -0600 (MDT) Received: (qmail 3281 invoked from network); Fri, 04 Aug 2006 05:43:12 +0000 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; Fri, 04 Aug 2006 05:43:12 +0000 Date: Thu, 03 Aug 2006 22:43:12 -0700 From: Colin Percival In-reply-to: <100416c30608031503n721c1583labb86a1e8abe7978@mail.gmail.com> To: John Rogers Message-id: <44D2DE70.4020002@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.94.0.0 References: <100416c30608031503n721c1583labb86a1e8abe7978@mail.gmail.com> User-Agent: Thunderbird 1.5 (X11/20060416) Cc: freebsd-questions@freebsd.org Subject: Re: binary upgrade issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Aug 2006 05:43:21 -0000 John Rogers wrote: > Installing new kernel into /boot/GENERIC... done. > Moving /boot/kernel to /boot/kernel.old... done. > Moving /boot/GENERIC to /boot/kernel... done. > Removing schg flag from existing files... > > Then my connection to the server froze and I found the server rebooted > itself. After login I found it was 6.1-RELEASE FreeBSD 6.1-RELEASE > #0: Sun May 7 04:32:43 UTC 2006. > > Don't know why it rebooted, and my concern it: had it finished > upgrading? Probably not. > I looked into the upgrade.sh and found it should continue > working on files referred in old-index, new-index-nonkern, new-index. > However none of these files were found in the directory. Also I am > worried whether the schg flags were recovered. How can I check these? Sounds like a generic case of 'system crashed and recently created files weren't written to disk yet'. I'm really suspicious of the hardware here, but I'd suggest 1. mv /boot/kernel /boot/kernel.new 2. mv /boot/kernel.old /boot/kernel 3. reboot (back into 6.0-RELEASE) 4. Run the script again and hope that it manages to finish installing everything this time. Colin Percival