BTX loader hangs after version info
Jeremy Chadwick
koitsu at FreeBSD.org
Thu May 22 14:19:53 UTC 2008
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 at 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 |
More information about the freebsd-stable
mailing list