Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 11:07:06 -0500
From:      Chris BeHanna <chris@pennasoft.com>
To:        stable@freebsd.org
Subject:   Re: when make installkernel doesn't
Message-ID:  <200301291107.06597.chris@pennasoft.com>
In-Reply-To: <Pine.BSI.4.33.0301290856590.26199-100000@pcjfn.msc.com>
References:  <Pine.BSI.4.33.0301290856590.26199-100000@pcjfn.msc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 29 January 2003 10:15, J.F. Noonan wrote:
> Hi,
>
> Yesterday I cvsup'd to -stable on an machine that had been running
> 4.5-stable (with 247 days of uptime).  I started a make buildworld
> and a make buildkernel KERNCONF=3DMYKERNELNAME and went home.
>
> This morning, I dropped to single-user and did a make installworld
> followed by a make installkernel KERNCONF=3DMYKERNELNAME.  I did a
> mergemaster, sync,sync,reboot.  When the system came back up, I
> did a netstat -a to be sure that my network services were all
> running before leaving the machine room to go to my desk.
>
> Huh, that's weird, nothing running but syslog.  tail -f
> /var/log/maillog and see mail is going out and in.  uh, ok.  ps
> ax|grep sendmail.  ps: proc size mismatch (41184 total, 1060
> chunks).  OK, that means libkvm is out of sync so I go make that
> and remake ps.  Same thing happens.
>
> Hrrm, uname -a: 4.5-STABLE FreeBSD 4.5-STABLE #1: Fri Mar 22
> 17:55:41 CSt 2002.  Well that's not the kernel I installed and
> that isn't yesterday's date.  date: Wed Jan 29 09:09:38 CST 2003
> -- Clock's OK (better be or ntp is broken).
>
> Alright, surely something must have gone wrong with that
> installkernel let's just do another buildkernel and installkernel.
> Build goes w/o incident, drop to single and install. Reboot, same
> kernel.
>
> I have done this 100 times if I have done this once and I have
> never seen a kernel refuse to install.  Can anybody point out what
> is wrong?

    This is one thing:

> This morning, I dropped to single-user and did a make installworld
> followed by a make installkernel KERNCONF=3DMYKERNELNAME.  I did a

    You do a make installkernel *first*, *then* reboot and make sure
it at least comes back to single user.

    Then and only then do you do an installworld.

    You might get yourself to goodness by copying your new kernel and
new modules by hand from /usr/obj to their appropriate places.

--=20
Chris BeHanna                      http://www.pennasoft.com=20
Principal Consultant               =20
PennaSoft Corporation              =20
chris@pennasoft.com                =20


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?200301291107.06597.chris>