Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 1999 02:36:34 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        Robert Hough <rch@iserve.net>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: More troubles...
Message-ID:  <369CD9A2.C8F595F6@newsguy.com>
References:  <3.0.32.19990112172331.00caac10@iserve.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Hough wrote:
> 
> After a suggestion, I installed and ran cvsup, ran it, no problems... Ran
> make world, in hopes that it would aleviate some of my problems. However,
> when I tried a 'w' or 'who' I got an error. I figured, ok, maybe I need to
> update the kernel then. I recompile the generic kernel, and reboot. Now
> it's giving me 'Invalid Format' as it tries to boot up. I can type in
> kernel.JAN12 and it boots up just fine. Can someone tell me what I'm doing
> wrong here? I've compiled at least 15-20 kernels before, and have never
> gotten this error before. I've tried 4 times now, still no luck. :(   (I'm
> starting to think a re-install is in order)

Ok, I don't have the details here, but let me make a wild guess.

1) You were NOT running elf kernels.
2) You were using the old boot blocks (3.0-RELEASE, for instance).
3) Your recently cvsupped tree is compiling elf kernels by default,
and...
4) You didn't notice a "please install the new bootblocks" message
that is
   supposed to appear in this case, after making a new kernel, or...
5) The message didn't appear.

What happens then is that the old boot blocks do not work with the
new elf kernel.

Hopefully, there is a workaround. Instead of booting /kernel, try
/boot/loader instead. It will
load the third stage of the new boot loader (which was installed
during make world), which is
still a.out and will then proceed to load your new Elf kernel.

If that happens, please check /usr/src/UPDATING for more information
on how to install the
new boot blocks (which usually amounts to running disklabel -B
/dev/<yourdisk>).

--
Daniel C. Sobral			(8-DCS)
dcs@newsguy.com

	If you sell your soul to the Devil and all you get is an MCSE from
it, you haven't gotten market rate.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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