From owner-freebsd-stable@FreeBSD.ORG Thu May 22 14:19:53 2008 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 95AD4106564A; Thu, 22 May 2008 14:19:53 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7B8468FC0A; Thu, 22 May 2008 14:19:53 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 491AD1CC033; Thu, 22 May 2008 07:19:53 -0700 (PDT) Date: Thu, 22 May 2008 07:19:53 -0700 From: Jeremy Chadwick To: James Seward Message-ID: <20080522141953.GA46366@eos.sc1.parodius.com> References: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> <20080522122430.GA43122@eos.sc1.parodius.com> <720051dc0805220650g299c1488la652cedf9c67f4db@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <720051dc0805220650g299c1488la652cedf9c67f4db@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org, John Baldwin Subject: Re: BTX loader hangs after version info 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: Thu, 22 May 2008 14:19:53 -0000 On Thu, May 22, 2008 at 02:50:38PM +0100, James Seward wrote: > On Thu, May 22, 2008 at 1:24 PM, Jeremy Chadwick wrote: > > http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues > > My problem doesn't match the description of "screen continually > scrolls registers or dumps registers then reboots"; it just freezes. > > While looking at the code for btx/btxldr I did notice a debug knob in > the Makefile; should I turn this on? Probably not. > (And do I have to rebuild all of > world to encourage it to update BTX? Presumably I can build/install a > subset of it to save time?) cd /sys/boot && make clean && make && make install will build and install new boot blocks in /boot, as well as /boot/loader. It will not apply new boot blocks to your disk (that's what bsdlabel does). > > After installworld, did you happen to use bsdlabel -B? > > No, my procedure was: make buildkernel buildworld, make installkernel, > reboot (to single user), mergemaster -p, make installworld, > mergemaster (installed everything but passwd/group), reboot. This is > the point where it broke :) My bad, sorry. The problem you're experiencing is likely in /boot/loader, which is what prints the "BTX version is x.xx" message. /boot/loader doesn't require your boot blocks be updated; it's updated during installworld. BTX version 1.01 is what comes with 7.0-RELEASE, while a RELENG_7 snapshot or a recently-rebuilt world (of RELENG_7) would use 1.02. I'm not sure what's breaking there for you; I'll have to dig through the CVS commit logs to check. Do you have anything in /boot/loader.conf? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |