Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2005 21:12:23 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Paco Hope <freebsd-stable@filter.paco.to>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: installkernel succeeds, but old kernel boots
Message-ID:  <20050425211207.B43358@carver.gumbysoft.com>
In-Reply-To: <20050421021940.X10760@www.provisio.net>
References:  <20050421021940.X10760@www.provisio.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Apr 2005, Paco Hope wrote:

> I cvsupped the latest RELENG_5 sources and did make buildworld.  Then I
> built and installed the kernel using
>
> make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=PACO
> make -DALWAYS_CHECK_MAKE installkernel KERNCONF=PACO
>
> Then I rebooted.  So far so good.  This is all normal. However, after I
> reboot and run 'uname -a' I see:
>
> FreeBSD www.provisio.net 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Sat Mar
> 19 01:28:39 EST 2005     root@www.provisio.net:/usr/obj/data/src/sys/PACO
> i386
>
> sysctl agrees with uname:
>
> kern.ostype: FreeBSD
> kern.osrelease: 5.3-RELEASE-p5
> kern.osrevision: 199506
> kern.version: FreeBSD 5.3-RELEASE-p5 #0: Sat Mar 19 01:28:39 EST 2005
>     root@www.provisio.net:/usr/obj/data/src/sys/PACO
>
> That's my old kernel that I was trying to replace.  I run 'sysctl
> kern.bootfile' and it says '/boot/kernel/kernel' so I'm a little confused.
> By all indications, the file that's currently in /boot/kernel/kernel is
> 5.4-STABLE. I can run 'strings' on /boot/kernel/kernel and see this near
> the bottom:
>
> FreeBSD 5.4-STABLE #0: Thu Apr 21 00:04:21 EDT 2005
>     root@www.provisio.net:/usr/obj/data/src/sys/PACO
> FreeBSD
> 5.4-STABLE
> PACO
>
> It sure looks like I booted my old kernel somehow, but I can't figure out
> how.  It seems unlikely that I somehow installed from a stale build tree
> because I newfs'd /usr/obj before building anything.
>
> Thoughts?

loader.conf?

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



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