Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2008 07:19:53 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        James Seward <jamesoff@gmail.com>
Cc:        freebsd-stable@freebsd.org, John Baldwin <jhb@freebsd.org>
Subject:   Re: BTX loader hangs after version info
Message-ID:  <20080522141953.GA46366@eos.sc1.parodius.com>
In-Reply-To: <720051dc0805220650g299c1488la652cedf9c67f4db@mail.gmail.com>
References:  <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> <20080522122430.GA43122@eos.sc1.parodius.com> <720051dc0805220650g299c1488la652cedf9c67f4db@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 22, 2008 at 02:50:38PM +0100, James Seward wrote:
> On Thu, May 22, 2008 at 1:24 PM, Jeremy Chadwick <koitsu@freebsd.org> 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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080522141953.GA46366>