From owner-freebsd-questions@FreeBSD.ORG Thu Oct 14 07:01:33 2004 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 E8CE416A4CE for ; Thu, 14 Oct 2004 07:01:33 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B8BD43D49 for ; Thu, 14 Oct 2004 07:01:33 +0000 (GMT) (envelope-from subhro.kar@gmail.com) Received: by mproxy.gmail.com with SMTP id 80so307143rnk for ; Thu, 14 Oct 2004 00:01:33 -0700 (PDT) Received: by 10.38.206.36 with SMTP id d36mr85888rng; Thu, 14 Oct 2004 00:01:33 -0700 (PDT) Received: by 10.38.206.40 with HTTP; Thu, 14 Oct 2004 00:01:33 -0700 (PDT) Message-ID: Date: Thu, 14 Oct 2004 12:31:33 +0530 From: Subhro To: John Gillis In-Reply-To: <20041014011057.P22475@dante.zefram.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041014000024.T27161@dante.zefram.net> <20041014011057.P22475@dante.zefram.net> cc: FreeBSD Questions Subject: Re: Compiling 4-RELEASE on 5-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Subhro List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 07:01:34 -0000 On Thu, 14 Oct 2004 01:18:25 -0400 (EDT), John Gillis wrote: >however.. there are still things that could go wrong and I > prefer not to find out when a production server heads south or doesn't > have the right firmware on the RAID card.. so that's why I lag. You can very well lag but doing so you would be creating apain in your forehead. Because everything that worked on 4.X-Release ( repeat, notice the word release) will also work on 5.Y-Release ( notice the word release). And also I would argue against keeping your boxes in the 4.X tree because as new releases are made available, the source codes of the ports are also changed to make it portable to the new tree. Most of the times tyhey DO compile on the old tree but you would be loosing features and performance. For example, there is a huge difference in performance when Xorg is compiled on gcc 2.95 and on gcc 3.4.2. If you are interested then contact me off the list. I would be happy to send you the performance monitor logs. > Also, at least one piece of hardware is near impossible to > upgrade. An old 486/25 that's running Snort, without a cd-rom and a 200M > hard drive. Negative, this hardware is also upgradable. Just the catch is it is not SELF upgradable. I mean you can expect to compile the tree on the 486 itself. But you can very well compile its tree and kernel on a Pentium (say) and install it on the 200M harddisk. I have quite a few routers which have a lot similar configuration to yours and they work till date without complaining. Just the upgradng is a bit troublesome compared to the newer systems. Refer to the CFLAGS parameter in man make.conf > What about my question about boot strapping? Does that ensure that > I could compile the world/kernel of 4.x on 5.3? > John No it does not. To be precise as far as I know, there is no way you can compile a native 4.X binary of any kind (application, kernel, bootstrap, you name it) on a 5.X box. Although you CAN run native 4.X binaries on a 5.X kernel using the compatibility layers. Refer to /usr/src/sys/NOTES for further information about compiling the compatibility layers. And yes the boot strap code has also changed from 4.X. Refer to /usr/src/UPDATING for a brief log about what had been changed since the 4.X tree. Also you can find detailed information about upgrading a 4.X tree to a 5.Y tree (although not recommended for other performance, security and a number of other reasons). Regards S. -- Subhro Sankha Kar School of Information Technology Block AQ-13/1 Sector V ZIP 700091 India