From owner-freebsd-questions@FreeBSD.ORG Thu Apr 10 13:56:32 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B040637B418 for ; Thu, 10 Apr 2003 13:56:28 -0700 (PDT) Received: from mail-relay1.mirrorimage.net (mail-relay1.mirrorimage.net [209.58.140.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 079BD43F3F for ; Thu, 10 Apr 2003 13:56:27 -0700 (PDT) (envelope-from leblanc@mirrorimage.net) Received: from leblanc.mirrorimage.net (leblanc.mirrorimage.net [209.192.210.146]) by mail-relay1.mirrorimage.net (8.9.3/8.9.3) with ESMTP id QAA15333 for ; Thu, 10 Apr 2003 16:56:25 -0400 Received: from leblanc.mirrorimage.net (localhost [127.0.0.1]) h3AKuO5l094797 for ; Thu, 10 Apr 2003 16:56:24 -0400 (EDT) (envelope-from leblanc@leblanc.mirrorimage.net) Received: (from leblanc@localhost) by leblanc.mirrorimage.net (8.12.3/8.12.3/Submit) id h3AKuNiq094796 for freebsd-questions@FreeBSD.org; Thu, 10 Apr 2003 16:56:23 -0400 (EDT) Date: Thu, 10 Apr 2003 16:56:23 -0400 From: Louis LeBlanc To: FreeBSD Questions Message-ID: <20030410205623.GB1060@keyslapper.org> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.4i Subject: problem with installkernel upgrading from 4.6.2 release to 5.0 release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 20:56:32 -0000 Hey all. I'm trying to upgrade a system from RELENG_4_6_2_RELEASE to RELENG_5_0_0_RELEASE. And I'm having a little trouble. I cvsupped the whole source, port, and docs tree to the RELENG_5_0_0_RELEASE tag. That seemed to go well. Next, I created a new kernel config file named LEBLANC in /usr/src/sys/i386/conf/ from the new GENERIC config file, and copied the GENERIC.hints file to /boot/device.hints. Next, chflags -R noschg /usr/obj/usr rm -rf /usr/obj/usr cd /usr/src make cleandir make cleandir cd /usr/src/usr/sbin/mergemaster ./mergemaster -p (no major changes were required) make -j 4 buildworld seems to have gone fine make buildkernel seems to have gone fine reboot to single user mode (using 'reboot now' or the method in section 21.4.4 fo the handbook) verify everything is mounted seems to have gone fine cd /usr/src seems to have gone fine make installkernel seems to have gone fine (but see below) make installworld crashed. This is the message: 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 ls -l /*kernel* -r-xr-xr-x 1 root wheel 2628194 Mar 17 12:52 /kernel* -r-xr-xr-x 1 root wheel 3352178 Apr 21 2001 /kernel.GENERIC* -r-xr-xr-x 1 root wheel 2626485 Aug 29 2002 /kernel.old* The build was done once yesterday and twice today, and obviously the kernel never installed. ls -l /boot -r--r--r-- 1 root wheel 512 Aug 29 2002 boot0 -r--r--r-- 1 root wheel 512 Aug 29 2002 boot1 -r--r--r-- 1 root wheel 7680 Aug 29 2002 boot2 -r-xr-xr-x 1 root wheel 1136 Aug 29 2002 cdboot* drwxr-xr-x 2 root wheel 512 Aug 15 2002 defaults/ -rw-r--r-- 1 root wheel 2113 Apr 9 17:15 device.hints drwxr-xr-x 2 root wheel 5632 Apr 10 10:46 kernel/ drwxr-xr-x 2 root wheel 5632 Apr 10 14:30 kernel.old/ -r-xr-xr-x 1 root wheel 155648 Aug 29 2002 loader* -r--r--r-- 1 root wheel 9237 Apr 21 2001 loader.4th -rw-r--r-- 1 root wheel 67 Jul 2 2001 loader.conf -r--r--r-- 1 root wheel 12012 Mar 15 2002 loader.help -r-xr-xr-x 1 root wheel 155648 Aug 15 2002 loader.old* -r--r--r-- 1 root wheel 338 Apr 21 2001 loader.rc -r--r--r-- 1 root wheel 512 Aug 29 2002 mbr -r-xr-xr-x 1 root wheel 157696 Aug 29 2002 pxeboot* -r--r--r-- 1 root wheel 25121 Apr 21 2001 support.4th I don't know what some of this is, but the kernel directories seem to have been installed here. I hope I included enough info for someone to see what I did wrong. If not, just let me know. The funny thing is that this machine still boots to the 4.6.2 kernel as if nothing ever happened. Kind of a relief, actually. Any ideas? TIA Lou -- Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ The nation that controls magnetism controls the universe. -- Chester Gould/Dick Tracy