Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 21:25:08 -0500
From:      "Craig Boston" <craig@gjgth.gank.org>
To:        <freebsd-current@freebsd.org>
Subject:   Re: upgrade from 4.5 to current fails
Message-ID:  <00ed01c1eb37$426ccdc0$5f45a8c0@auir.gank.org>
References:  <001901c1eb11$9abdb5a0$594bfea9@bender> <87d6wpn9ii.wl@kylebutt.dorms.usu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Kyle Butt said:

>To upgrade from 4.x-stable to current
>-------------------------------------

----snip----

>reboot in single user [3]
>Did you do this? IIRC, Sig 12 is unimplemented syscall, which would occur
>when userland and the kernel are out of sync.

I don't recall seeing this in any of the docs, nor has anyone else (to my
knowledge) brought it up on the lists before, so I thought it was a local
problem, but it's happened to me a couple times when jumping from -stable
to -current.

It seems after I do the installkernel and reboot to go to single user mode
(like I always do with source upgrades), loader(8) still tries to load the
/kernel left over from -stable instead of the new one that I just installed.
I'm guessing that maybe loader(8) is installed as part of the installworld,
and hence the -stable loader is still there and defaults to /kernel instead
of /boot/kernel/kernel.

A simple sequence of interrupting the loader and typing:
unload kernel
load /boot/kernel/kernel
(load any applicable modules if you need them)
boot -s

Does the trick.  After the installworld everything seems to work fine.
Might this be the problem here?  If so, perhaps it should be documented
somewhere (yes I am volunteering, if somebody has any pointers for who to
send the patch to :)

Craig


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?00ed01c1eb37$426ccdc0$5f45a8c0>