From owner-freebsd-questions@FreeBSD.ORG Wed Jun 27 21:30:47 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5F33916A421 for ; Wed, 27 Jun 2007 21:30:47 +0000 (UTC) (envelope-from eculp@unixmania.com) Received: from farris.bafirst.com (adsl-065-081-102-002.sip.jan.bellsouth.net [65.81.102.2]) by mx1.freebsd.org (Postfix) with ESMTP id E71E413C45D for ; Wed, 27 Jun 2007 21:30:46 +0000 (UTC) (envelope-from eculp@unixmania.com) Received: from HOME.encontacto.net ([189.129.12.64]) by farris.bafirst.com with esmtp; Wed, 27 Jun 2007 16:30:44 -0500 id 0006D40C.4682D704.0001732A Received: from localhost (localhost [127.0.0.1]) (uid 80) by HOME.encontacto.net with local; Wed, 27 Jun 2007 16:30:43 -0500 id 0004AC0A.4682D703.00007CC2 Received: from dsl-189-129-12-64.prod-infinitum.com.mx (dsl-189-129-12-64.prod-infinitum.com.mx [189.129.12.64]) by intranet.unixmania.com (Horde MIME library) with HTTP; Wed, 27 Jun 2007 16:30:42 -0500 Message-ID: <20070627163042.7qort9dkgsc8wskw@intranet.unixmania.com> X-Priority: 3 (Normal) Date: Wed, 27 Jun 2007 16:30:42 -0500 From: eculp@unixmania.com To: freebsd-questions@freebsd.org References: <20070627145030.b8tzun7mswg8s0s8@intranet.encontacto.net> <20070627201544.GB78601@slackbox.xs4all.nl> In-Reply-To: <20070627201544.GB78601@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2-cvs) X-Originating-IP: 189.129.12.64 Subject: Re: Upgrading from an old athlon to a new 64 bit one. 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: Wed, 27 Jun 2007 21:30:47 -0000 Quoting Roland Smith : > On Wed, Jun 27, 2007 at 02:50:30PM -0500, eculp@encontacto.net wrote: >> I have just stuck the disks from an old AMD Athlon(tm) (1333.39-MHz >> 686-class CPU) into a new box with an AMD Athlon(tm) 64 Processor 3800+ >> (2387.78-MHz 686-class CPU). I am still building a daily kernel with th= e >> old configuration and all is well. Of course the old configuration was/= is >> i386. Now I need to compile for 64 bit apps. I have configured a sligh= tly >> modified sys/amd64/conf/GENERIC kernel and was going to build it as a te= st >> only to find out that a simple make buildkernel KERNCONF=3DAMD doesn't f= ind >> /sys/amd64/conf/AMD. There is an old reference in UPDATING from 5.0 tha= t >> didn't work either. >> >> The other question is on today's make world all seems to still be compil= ed >> ELF 32-bit LSB executable, Intel 80386 so I am sure missing something ve= ry >> simple. > > It is possible to cross-build for amd64, but you'll need a seperate > partition to put the 64-bit environment on. Look at the mailing list > archives. This question has come up before. > > But to keep things simple, I'd advise you to backup your files, > configuration files from /etc and possible /usr/ports/distfiles, > reinstall from an amd64 CD and then rebuild your kernel, world and ports > to your liking. Hi Roland. Boy am I glad that I asked. That is probably the last thing I would =20 have done. Plus thanks for the answer, I must not have done a proper =20 search. I hope that the apps will run after reinstalling. I assume that the =20 source tree will somehow recognize that I will be building world and =20 the kernel on a AMD64. I'm downloading a copy of disk2 from FreeBSD =20 now. Have a great day. ed