From owner-freebsd-stable@FreeBSD.ORG Sun Mar 19 23:57:46 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33D9316A400 for ; Sun, 19 Mar 2006 23:57:46 +0000 (UTC) (envelope-from mhjacks@swbell.net) Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by mx1.FreeBSD.org (Postfix) with SMTP id B68D843D45 for ; Sun, 19 Mar 2006 23:57:45 +0000 (GMT) (envelope-from mhjacks@swbell.net) Received: (qmail 16210 invoked from network); 19 Mar 2006 23:57:45 -0000 Received: from unknown (HELO anduril.minas.tirith) (mhjacks@swbell.net@65.67.72.193 with login) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 19 Mar 2006 23:57:44 -0000 Received: from localhost (localhost [127.0.0.1]) by anduril.minas.tirith (Postfix) with ESMTP id DDF9D2E05D for ; Sun, 19 Mar 2006 17:57:43 -0600 (CST) Received: from anduril.minas.tirith ([127.0.0.1]) by localhost (anduril.minas.tirith [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11609-10 for ; Sun, 19 Mar 2006 17:57:42 -0600 (CST) Received: from [192.168.1.112] (ARAGORN.minas.tirith [192.168.1.112]) by anduril.minas.tirith (Postfix) with ESMTP id 61B512E058 for ; Sun, 19 Mar 2006 17:57:42 -0600 (CST) Message-ID: <441DF040.7040704@swbell.net> Date: Sun, 19 Mar 2006 17:58:56 -0600 From: Martin Jackson User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <441DC164.5060703@swbell.net> <20060319215507.GA7464@xor.obsecurity.org> <441DDEA6.8090805@swbell.net> <441DE846.1070309@errno.com> In-Reply-To: <441DE846.1070309@errno.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at minas.tirith Subject: Re: 6.1-BETA4 installation report 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: Sun, 19 Mar 2006 23:57:46 -0000 Sam Leffler wrote: > Martin Jackson wrote: >>>> 1) The upgrade errored out almost immediately on /var/empty, since >>>> it had been chflags'ed to nschg. I went to the shell and chflags'ed >>>> that off, and upgrade continued. >>> >>> It's supposed to be that way, so something is wrong if this is causing >>> problems :( >> >> Agreed. :) Looking through the source to sysinstall, it looks like I >> should have a /boot/kernel.prev, but I don't. Perhaps the install of >> base went more poorly than I thought? I wound up not having >> /boot/kernel at all. > > If you go to the Options panel and turn on debugging (navigate to > Debugging, hit space, then q to quit) you'll get debug info in the > Alt-F2 window. That might be helpful. I'm not sure if the logging goes > in a file that remains across reboot; that'd be useful for debugging > issues like this. > >> >>>> 2) The 'kernels' distribution wasn't installed at all, which led >>>> loader to complain upon reboot. I had an old kernel installed, so I >>>> booted from that and used sysinstall to install GENERIC. I also had >>>> to change loader.conf to reference 'kernel="GENERIC"'. Is this the >>>> preferred way to do it, or should I move 'GENERIC' to 'kernel'? >>> >>> It should be installed as kernel. Again I don't know how you got >>> something else :( >> >> Hm. I will try to reinstall with 6.0-RELEASE and try to do the binary >> upgrade again, and see what happens. Things will be different; this >> system was my first attempt to go to STABLE before I upgraded it so I >> can't rule out errors of my own in this case. > > If you can record the steps by which you hit a problem it'd be > appreciated. I'm not sure I tested the Upgrade mechanism so it may have > been broken by the mods I made to the kernel install logic. OK, I've hit the /var/empty problem again, on a fresh install of 6.0-RELEASE. I enabled debugging but it doesn't say anything else useful on the F2 window. Installing base, kernel (GENERIC), doc (custom set) from CD/DVD Here's what it says on the F1 window (Transcribing): Write failure on Transfer! (wrote -1 bytes of 1424508 bytes) On the F2 window: ...list of the fs hierarchy... var/crash var/cron var/db /stand/cpio: var/empty: chmod: Operation not permitted /stand/gunzip: failed fwrite I go back to F1 and accept. When it asks me to retry, I go to F4 and chglags noschg /var/empty. I go back to F1 and say "YES" to attempt to retrive again. This time, it seems to go correctly. I see that GENERIC is trying to extract into /boot this time - don't remember whether it said that the first time around but I see it as a positive sign. /boot/kernel exists this time (no special intervention from me), and contains the GENERIC kernel from 6.1-BETA4 CD. No special intervention required to boot this time; system is now up and running on 6.1-BETA4. Well, it looks like unless there's something going on with custom ident's in /boot/kernel, that may be a non-issue. (The previous kernel was ident SERVER.) The /var/empty thing looks to be real, though. Should I file a PR? Thanks, Marty