From owner-freebsd-questions@FreeBSD.ORG Fri Apr 7 15:13:30 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 A16D516A408 for ; Fri, 7 Apr 2006 15:13:30 +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 4234D43D4C for ; Fri, 7 Apr 2006 15:13:30 +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 1FRseP-000PJE-ED for freebsd-questions@freebsd.org ; Fri, 07 Apr 2006 11:13:29 -0400 Received: from [192.168.1.230] by mail.poklib.org with esmtp (Exim 4.60; FreeBSD) (envelope-from ) id 1FRseP-0005q0-3m for freebsd-questions@freebsd.org ; Fri, 07 Apr 2006 11:13:29 -0400 Message-ID: <44368198.8030102@poklib.org> Date: Fri, 07 Apr 2006 11:13:28 -0400 From: "B. Cook" Organization: Poughkeepsie Public Library District User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <443668B9.1010701@poklib.org> <6.0.0.22.2.20060407094949.028270a8@mail.computinginnovations.com> In-Reply-To: <6.0.0.22.2.20060407094949.028270a8@mail.computinginnovations.com> 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: Re: src upgrade from 4.11-p16 to 5.4 possible? (some success) 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 15:13:30 -0000 Derek Ragona wrote: > I recently did this exact operation. It went fine for me on my second > try. The first one I determined didn't go well as I didn't have the > system up to date first. So on my second attempt I made sure my 4.11 > system was up to date, and did a complete buildworld, buildkernel, etc. > Once I was sure it was completely up to date on 4.11, I: > Saved my kernel config file to: > /usr/oldkernels/ > rm -rf /usr/src > rm -rf /usr/ports > > I changed my cvsup tag and pulled new source. Then I meticulously > followed the instructions in /etc/src/UPDATING. Read those > instructions, be sure to update your /etc/make.conf file for the right CPU. > > I did need to create a new kernel configuration file starting with > GENERIC and boot.hints from my old 4.11 kernel configuration file. > > All went well except one library didn't get put in place when I did the > installworld. It was built but just not in place, so I saw an error > when I booted the system, and moved it manually. > > The library that didn't get moved was: > libc.so.4 > > I did add: > COMPAT4X= yes > to my make.conf file and > options COMPAT_FREEBSD4 # Compatible with FreeBSD4 > to my kernel config file, but still had to make sasl2 and sendmail for > sasl2. Otherwise the ports I had seemed to mostly work. But you might > want to do a: > portupgrade -a > > -Derek > > [root@FreeBSD /usr/src]# echo $? 0 [root@FreeBSD /usr/src]# make -j6 buildworld The CPUTYPE is not defined in /etc/make.conf, trying to make a clean build.. and this is RELENG_5_2_1 so make buildworld on this box completes. I am going to try RELENG_5_3 and then if so then good ;)