From owner-freebsd-questions@FreeBSD.ORG Fri Apr 7 13:27:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 EB4D916A401 for ; Fri, 7 Apr 2006 13:27:22 +0000 (UTC) (envelope-from bcook@poklib.org) Received: from c.mx.poklib.org (c.mx.poklib.org [64.72.87.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94FDD43D45 for ; Fri, 7 Apr 2006 13:27:22 +0000 (GMT) (envelope-from bcook@poklib.org) Received: from [192.168.1.249] (helo=mail.poklib.org) by c.mx.poklib.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60; FreeBSD) (envelope-from ) id 1FRqzh-000P3t-N5 for freebsd-questions@freebsd.org ; Fri, 07 Apr 2006 09:27:21 -0400 Received: from [192.168.1.230] by mail.poklib.org with esmtp (Exim 4.60; FreeBSD) (envelope-from ) id 1FRqzh-0009pW-Cb for freebsd-questions@freebsd.org ; Fri, 07 Apr 2006 09:27:21 -0400 Message-ID: <443668B9.1010701@poklib.org> Date: Fri, 07 Apr 2006 09:27:21 -0400 From: "B. Cook" Organization: Poughkeepsie Public Library District User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-RcvHost: [192.168.1.230] X-RcvFor: X-Auth-Id: X-AntiVirus: No Virus Found X-MIME-Character-set: ISO-8859-1 Subject: src upgrade from 4.11-p16 to 5.4 possible? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2006 13:27:23 -0000 Hello all, I am running a set of 5 FreeBSD 4.11 p16 servers here at the library. For various reasons we are unable to 'get new drives' and install FreeBSD 5/6 and then migrate userland data to a new drive. I have been able to get my hands on a test box from someone to test src upgrading from 4.11 to something more current like 5.x and then updating from there. My standard running machines are Dual 933 Intel machines, 1G ram, scsi drives.. etc This test box is an AMD Mobile Sempron 2600+ w/ 512M ram, 80G ide drives. http://www.freebsd.org/releases/5.4R/migration-guide.html is the guide that I am following.. and I have done what I think are the right steps.. and I am getting a crash/failure in a most unusual place. Stop in /usr/src/usr.sbin/pcvt/vgaio. *** Error code 1 ===> usr.sbin/pcvt/ispcvt cc -O -pipe -c /usr/src/usr.sbin/pcvt/ispcvt/ispcvt.c cc -O -pipe -o ispcvt ispcvt.o gzip -cn /usr/src/usr.sbin/pcvt/ispcvt/ispcvt.8 > ispcvt.8.gz ===> usr.sbin/pcvt/vgaio cc -O -pipe -I/usr/obj/usr/src/usr.sbin/pcvt/vgaio -I/usr/src/usr.sbin/pcvt/vgaio -c vgaio.c In file included from /usr/src/usr.sbin/pcvt/vgaio/vgaio.y:56: /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h:60: error: syntax error before "bsfl" /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h:60: error: syntax error before "mask" /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h: In function `bsfl': ... etc The strange thing is this: CPU: Mobile AMD Sempron(tm) Processor 2600+ (799.92-MHz 686-class CPU) this is what dmesg tells me about this cpu.. again this is under 4.11 So I am wondering if these things are related, and if I try this on an Intel cpu will I still have this issue? As my cvsup to RELENG_5_4 and then make buildworld fails at this point. I have script'd the make buildworld which is a 9M text file, and it compresses down to a ~500k bz/gz file if anyone is interested in it. I have tried in single user mode as well again no difference. I have tried make -j4 buildworld (only gets there faster.. ) Thanks in advance any help is greatly appreciated. (I'm going to try 5.3 and then if that doesn't work then I'll try 5.2.1) - Brian