Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2002 20:24:33 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Sean LeBlanc <seanleblanc@americanisp.net>
Cc:        "Sergey A. Osokin" <osa@freebsd.org.ru>, current@FreeBSD.ORG
Subject:   Re: cvsup weird problem
Message-ID:  <20021206182433.GB15904@gothmog.gr>
In-Reply-To: <20021206170500.GA3195@smtp.americanisp.net>
References:  <20021204185524.GA51931@dragon.nuxi.com> <20021205025548.GA541@leafy.idv.tw> <20021205030916.GA65199@arkadia.nv.cox.net> <20021205032514.GA46067@leafy.idv.tw> <20021205132109.GA42642@leafy.idv.tw> <20021205133201.GB78755@freebsd.org.ru> <20021205133345.GA43129@leafy.idv.tw> <20021205152250.GF3654@gothmog.gr> <20021206101150.GB88626@freebsd.org.ru> <20021206170500.GA3195@smtp.americanisp.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-12-06 10:05, Sean LeBlanc <seanleblanc@americanisp.net> wrote:
> In any case, my installworld doesn't work, and I wonder if that's why.
> I did the following:
>
> make buildworld
> make buildkernel
> make installkernel
> rebooted,
> and did mergemaster -p
> and make installworld
>
> as defined in handbook and Makefile in /usr/src.
> But I get this:
>
> Checking to see if your booted kernel is fresh enough..
> /usr/obj/usr/src/bin/sh/sh -c  'echo "Testing installed kernel for new
> sigaction
> (2) syscall"'
> Bad system call (core dumped)
> *** Error code 140
>
> Stop in /usr/src.
>
> Interestingly enough, uname -a gives:
>
> 4.7-RELEASE FreeBSD 4.7-RELEASE #7

You didn't boot into the 5.0-CURRENT kernel.  One of the changes from
4.X to 5.X is that the kernel no longer lives in /kernel, but has been
moved to /boot/kernel/kernel (with the modules living under the same
directory too, /boot/kernel).

In order to boot into the new kernel, you have to interrupt the loader
at the "Press ENTER to boot or any other key ..." prompt, and type the
following at the OK loader prompt:

	OK unload
	OK load /boot/kernel/kernel
	OK boot -s

Then you will boot with the new kernel.

> I'm not clear on why this is - should it show up as 4.7 until installworld
> is successful? After make installkernel, I *do* have a newly dated /kernel
> file.

Look in /boot/kernel too :)


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




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