Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2003 00:56:16 -0800
From:      David Schultz <das@FreeBSD.ORG>
To:        Axel Gruner <axel.gruner@suedfactoring.de>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: 4.8-PRE upgrade to FreeBSD 5 errors
Message-ID:  <20030306085616.GA55750@HAL9000.homeunix.com>
In-Reply-To: <20030306093622.5c728e53.axel.gruner@suedfactoring.de>
References:  <20030306093622.5c728e53.axel.gruner@suedfactoring.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Axel Gruner <axel.gruner@suedfactoring.de>:
> Checking to see if your booted Kernel is fresh enough..
> /usr/obj/usr/src/bin/sh/sh -c 'echo "Testing installed kernel fpr new
> sigaction(2) syscall"' pid 60424/sh),uid0: exited on signal 12 (core
> dumped) Bad system call (core dumped)
> ***Error code 140
> Stop in /usr/src
> ***Error code 1
> Stop in /usr/src

You need to do things in the order specified in UPDATING.  This
message is the result of a sanity check that verifies that you're
running the new kernel before you try to install a new world.

> Well, ok, i read the first line and booted my machine, so that the new
> Kernel can boot. Also if the machine will not boot correctly i will fall
> to single user mode. This happend. Back in single user mode i did a
> second "installworld", and, surprise surprise, it worked without errors.
> Ok, i rebooted the machine.
> 
> So, now on bootup i get these messages:
> 
> link_elf: symbol lminor undefined
> link_elf: symbol splhigh undefined

You seem to be trying to load outdated modules.

> And if i want to login, i get these:
> 
> login: $MYNAME
> login:in openpam_load_module(): no pam:skey.so found
> login:pam_start(): failed to load module
> 
> I cant login.
> So, does this mean, some modules are missing? And how do i get the
> system back running perfectly? 

You should still be able to log in as root, in single user mode if
nothing else.  Doing a proper installworld/mergemaster should
rectify this problem.

> And, a third error message appears on boottime:
> 
> Warning: userland calling deprecated sysctl, please rebuild world
> 
> Well, i booted the machine back in single user mode, mount all the
> devices, and did a buildworld, buildkernel, installkernel, mergemaster
> and installworld again. The result? The same errors, plus something
> other i did not recognize the first time (but was there):

Did the installworld actually work this time, or did you get the
error message you mentioned above?  Check the modification dates
on your /bin and /sbin binaries to see what old crud you might be
running.

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?20030306085616.GA55750>