List Info

Thread: Upgrading from an old athlon to a new 64 bit one.




Upgrading from an old athlon to a new 64 bit one.
country flaguser name
Mexico
2007-06-27 14:50:30
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 the 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 slightly modified sys/amd64/conf/GENERIC
kernel and  
was going to build it as a test only to find out that a
simple make  
buildkernel KERNCONF=AMD doesn't find /sys/amd64/conf/AMD. 
There is  
an old reference in UPDATING from 5.0 that didn't work
either.

The other question is on today's make world all seems to
still be  
compiled ELF 32-bit LSB executable, Intel 80386 so I am sure
missing  
something very simple.

I'm actually going to update serveral machines, both Current
and  
RELENG.  All of which are up to date.  Hopefully there will
be no  
major problems.  I also plan to recompile all ports once I
am able to  
build and install an AMD64 world and kernel.  Right now all
is working  
fine with todays, sources and kernel except they are
compiled for Intel.

Any other suggestions appreciated.  Maybe someone might
recommend  
upgrading the RELENG boxes to CURRENT first?

Thanks,

ed
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Upgrading from an old athlon to a new 64 bit one.
country flaguser name
Netherlands
2007-06-27 15:15:44
On Wed, Jun 27, 2007 at 02:50:30PM -0500, eculpencontacto.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 the 
>  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 slightly 
>  modified sys/amd64/conf/GENERIC kernel and was going
to build it as a test 
>  only to find out that a simple make buildkernel
KERNCONF=AMD doesn't find 
>  /sys/amd64/conf/AMD.  There is an old reference in
UPDATING from 5.0 that 
>  didn't work either.
> 
>  The other question is on today's make world all seems
to still be compiled 
>  ELF 32-bit LSB executable, Intel 80386 so I am sure
missing something very 
>  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.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~r
smith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much
appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725
(KeyID: C321A725)
Re: Upgrading from an old athlon to a new 64 bit one.
country flaguser name
Mexico
2007-06-27 16:30:42
Quoting Rolannessto <rsmithxs4all.nl>:

> On Wed, Jun 27, 2007 at 02:50:30PM -0500, eculpencontacto.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 the
>>  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 slightly
>>  modified sys/amd64/conf/GENERIC kernel and was
going to build it as a test
>>  only to find out that a simple make buildkernel
KERNCONF=AMD doesn't find
>>  /sys/amd64/conf/AMD.  There is an old reference in
UPDATING from 5.0 that
>>  didn't work either.
>>
>>  The other question is on today's make world all
seems to still be compiled
>>  ELF 32-bit LSB executable, Intel 80386 so I am
sure missing something very
>>  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  
have done.  Plus thanks for the answer, I must not have done
a proper  
search.

I hope that the apps will run after reinstalling.   I assume
that the  
source tree will somehow recognize that I will be building
world and  
the kernel on a AMD64.  I'm downloading a copy of disk2 from
FreeBSD  
now.

Have a great day.

ed
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )