Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2000 21:44:56 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        so@server.i-clue.de
Cc:        Kris Kennaway <kris@FreeBSD.ORG>, stable@FreeBSD.ORG
Subject:   Re: Stable does not boot after make buildworld, ...  Was: HEADS UP!  Always use the 'make buildkernel' target to make yerkernels
Message-ID:  <396C6848.A4907221@newsguy.com>
References:  <Pine.BSF.4.21.0007092043510.33246-100000@freefall.freebsd.org> <396B76B0.D8BA4E02@i-clue.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Christoph Sold wrote:
> 
> > Summary of Officially Sanctioned Update Procedure:
> >
> > make buildworld
> > make buildkernel
> > make installkernel
> > shutdown (drop into single-user mode)
> > make installworld
> > mergemaster
> > reboot
> >
> > Depart from the above procedure at your own risk. Thankyou :-)
> 
> Been there, done that, to the last letter ('kay, I didn't type the
> "(drop into single-user..." part). Fresh install from 4.0-Release,
> CVSup'ed after the binutils were declared clean. The system panics when
> loading linux.ko.
> 
> It seems to me there is something not working as intended.
> 
> Can any helpful soul look at the stable build sequence shown and
> determine why it crashes during loading linux.ko?

Yes. After the above procedure, your new kernel will be installed under
a different name, equal to the name of the kernel configuration file.
When booting, the old /kernel will get loaded, and that one is
incompatible with your newer modules.

There are two ways around this:

1) Edit /boot/loader.conf and add the line kernel="XYZZY", where XYZZY
is the name of your kernel.
2) See LINT (it's still LINT on -stable, right? :) for an option that
let you override the name, so that XYZZY will install kernels named
"kernel" again.

-- 
Daniel C. Sobral			(8-DCS)
dcs@newsguy.com
dcs@freebsd.org
capo@the.great.underground.bsdconpiracy.org

		<jkh> _DES: The Book of Bruce has only one sentence in it, and it says
"the actual directives of my cult are left as an exercise for the
reader. Good luck."
		<EE> jkh: does it really include the 'good luck' part?
		<jkh> EE: OK, I made that part up.
		<jkh> EE: I figured it should sound a bit more cheery than how Bruce
initially dictated it to me.




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




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