Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2007 16:30:42 -0500
From:      eculp@unixmania.com
To:        freebsd-questions@freebsd.org
Subject:   Re: Upgrading from an old athlon to a new 64 bit one.
Message-ID:  <20070627163042.7qort9dkgsc8wskw@intranet.unixmania.com>
In-Reply-To: <20070627201544.GB78601@slackbox.xs4all.nl>
References:  <20070627145030.b8tzun7mswg8s0s8@intranet.encontacto.net> <20070627201544.GB78601@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Roland Smith <rsmith@xs4all.nl>:

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070627163042.7qort9dkgsc8wskw>