Date: Fri, 14 Jul 2000 15:17:10 -0400 From: Kevin <kmg@bestweb.net> To: so@server.i-clue.de, Christoph Sold <so@server.i-clue.de>, "Daniel C. Sobral" <dcs@newsguy.com> Cc: so@server.ms-agentur.de, 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: <00071415190500.00593@Barbarossa> In-Reply-To: <396F18CC.6EB2304D@i-clue.de> References: <Pine.BSF.4.21.0007092043510.33246-100000@freefall.freebsd.org> <396C6848.A4907221@newsguy.com> <396F18CC.6EB2304D@i-clue.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 14 Jul 2000, Christoph Sold wrote:
> A-Ha! Now we get closer to the problem... read on, suggestions follow...
>
> "Daniel C. Sobral" wrote:
> >
> > 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.
>
> As I have written: I have followed this procedure to the point. An 'lo,
> there was a kernel named (SURPRISE) GENERIC shamelessly sitting around
> at root.
>
> Can we safely
>
> a) assume when building the default (GENERIC) kernel it should be
> installed automagically so it boots automatically, and, if possible,
> move the old kernel to kernel.old automagically?
>
> b) make the build process so following the instructions to the point
> leads to a running system, automagically,
> or, alternatively
> change the build instructions to show the pitfalls more prominently?
>
> IMHO, when big changes like aout-elf, or, recently, new tool chain tools
> make changes to the build process unavoidable, /prominent/ hints for
> stupid stable-only-readers like me should be placed everywhere*) -- in
> case of aout->elf, I was warned, so that went through. This time I
> plainly missed the warnings.
>
> Just my .05 Euro
> -Christoph Sold
Read /usr/src/UPDATING for information on how to
compile and install a new kernel.
-Kevin
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
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?00071415190500.00593>
