Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Athlon to Pentium switch and necessary changes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
unbound18
n00b
n00b


Joined: 13 Oct 2003
Posts: 50

PostPosted: Sun Aug 01, 2004 2:35 am    Post subject: Athlon to Pentium switch and necessary changes Reply with quote

I just finished a clean Gentoo install on my 1.0 Ghz Athlon. Everything was peachy. Then the motherboard blew up. So, my 2.4 Ghz Pentium 4 is on the way right now. I'll be swapping out my HDs and am wondering how this change will mess up my install. I imagine I have to add kernel support for my new motherboard before the switch. Once I get it up and running what will I have to do?
Would I be ok just changing the CFlags and doing an emerge -e world? Any advice on this one?
_________________
Am I seriously still a n00b. What's up with that?
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Sun Aug 01, 2004 4:43 am    Post subject: Reply with quote

If you compiled the applications without using flags specific to Athlon, and your kernel has generic x86 option set or you didn't compile kernel specifically for athlon, you will be fine. If the apps are generic but kernel isn't, you can boot new system with CD and generate new kernel. If apps were specifically compiled for athlon, you would have to find another athlon system, install HD there, recompile system and kernel using generic options, install into your P4 system and either recompile for P4 or use existing system.
Back to top
View user's profile Send private message
unbound18
n00b
n00b


Joined: 13 Oct 2003
Posts: 50

PostPosted: Sun Aug 01, 2004 4:50 am    Post subject: Reply with quote

Wow. My Athlon system still runs at this point. I guess that makes sense to compile everything to generic and then recompile it to be optimized for a P4. Are you sure my entire system has to be compiled like that. Couldn't I just recompile GCC and my kernel to use the generic x86 setting, then throw the HD into my new system adn recompile everything? That would save me some time, but I don't know how much I would have to recompile to make GCC go.. or something. Thoughts?
_________________
Am I seriously still a n00b. What's up with that?
Back to top
View user's profile Send private message
freelight
Apprentice
Apprentice


Joined: 12 Jun 2004
Posts: 295
Location: NYC, NY, USA

PostPosted: Sun Aug 01, 2004 4:59 am    Post subject: Reply with quote

For things like GCC, if you're worried about the compile time, you can just use prebuilt Pentium 4 binary packages from the package cd ISOs on the Gentoo mirrors.
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Sun Aug 01, 2004 5:01 am    Post subject: Reply with quote

recompiling glibc and gcc might work, but I'm not certain which other programs would need to be recompiled. binutils and other programs would need to be recompiled. If you had list of all required programs, then piecemeal recompile would work.
Back to top
View user's profile Send private message
unbound18
n00b
n00b


Joined: 13 Oct 2003
Posts: 50

PostPosted: Sun Aug 01, 2004 1:58 pm    Post subject: Reply with quote

I'm not worried so muchabout compile time. Just don't want to have random segfaults and get stuck with a borked system.
_________________
Am I seriously still a n00b. What's up with that?
Back to top
View user's profile Send private message
unbound18
n00b
n00b


Joined: 13 Oct 2003
Posts: 50

PostPosted: Sun Aug 01, 2004 2:09 pm    Post subject: Reply with quote

What do you take from this?
Code:

root@tk tom # emerge -eDp gcc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-devel/patch-2.5.9 
[ebuild  N    ] sys-devel/gettext-0.12.1-r1 
[ebuild  N    ] sys-devel/gnuconfig-20040214 
[ebuild  N    ] sys-apps/gawk-3.1.3-r1 
[ebuild  N    ] sys-kernel/linux-headers-2.4.22 
[ebuild  N    ] sys-apps/sysvinit-2.85-r1 
[ebuild  N    ] sys-apps/grep-2.5.1-r4 
[ebuild  N    ] app-crypt/hashalot-0.3 
[ebuild  N    ] sys-apps/sed-4.0.9 
[ebuild  N    ] sys-apps/texinfo-4.7-r1 
[ebuild  N    ] sys-libs/zlib-1.2.1-r2 
[ebuild  N    ] dev-python/python-fchksum-1.7.1 
[ebuild  N    ] app-shells/bash-3.0-r1 
[ebuild  N    ] sys-libs/readline-4.3-r5 
[ebuild  N    ] sys-devel/flex-2.5.4a-r5 
[ebuild  N    ] app-arch/bzip2-1.0.2-r3 
[ebuild  N    ] sys-devel/automake-1.8.5-r1 
[ebuild  N    ] dev-perl/Locale-gettext-1.01-r1 
[ebuild  N    ] sys-apps/help2man-1.33.1 
[ebuild  N    ] sys-devel/libtool-1.5.2-r5 
[ebuild  N    ] sys-devel/m4-1.4.1 
[ebuild  N    ] sys-apps/coreutils-5.2.1-r1 
[ebuild  N    ] sys-apps/debianutils-1.16.7-r4 
[ebuild  N    ] sys-apps/portage-2.0.50-r9 
*** Please update portage to the above version before proceeding.
    Failure to do so may result in failed or improper merges.
    A simple 'emerge -u portage' is sufficient.

[ebuild  N    ] sys-devel/bc-1.06-r5 
[ebuild  N    ] sys-apps/diffutils-2.8.7 
[ebuild  N    ] dev-libs/openssl-0.9.7d-r1 
[ebuild  N    ] sys-libs/db-1.85-r1 
[ebuild  N    ] sys-libs/gdbm-1.8.3 
[ebuild  N    ] dev-libs/expat-1.95.7 
[ebuild  N    ] dev-lang/python-2.3.4 
[ebuild  N    ] dev-java/java-config-1.2.10 
[ebuild  N    ] dev-java/blackdown-jdk-1.4.2_rc1-r1 
[ebuild  N    ] sys-libs/db-4.1.25_p1-r4 
[ebuild  N    ] sys-apps/groff-1.19 
[ebuild  N    ] sys-devel/libperl-5.8.4-r1 
[ebuild  N    ] dev-lang/perl-5.8.4-r1 
[ebuild  N    ] sys-devel/autoconf-2.59-r4 
[ebuild  N    ] sys-apps/cronbase-0.3.1 
[ebuild  N    ] sys-apps/man-1.5m-r1 
[ebuild  N    ] dev-libs/glib-1.2.10-r5 
[ebuild  N    ] sys-apps/miscfiles-1.3-r1 
[ebuild  N    ] sys-devel/gcc-config-1.3.6-r1 
[ebuild  N    ] sys-libs/cracklib-2.7-r9 
[ebuild  N    ] sys-libs/pam-0.77-r1 
[ebuild  N    ] sys-apps/shadow-4.0.4.1-r3 
[ebuild  N    ] sys-apps/pam-login-3.14 
[ebuild  N    ] sys-apps/util-linux-2.12-r4 
[ebuild  N    ] sys-apps/baselayout-1.10.1-r2 
[ebuild  N    ] sys-devel/binutils-2.14.90.0.8-r1 
[ebuild  N    ] sys-libs/glibc-2.3.4.20040619 
[ebuild  N    ] sys-libs/ncurses-5.4-r2 
[ebuild  N    ] sys-devel/bison-1.875 
[ebuild  N    ] sys-devel/gcc-3.3.4-r1 



That seems to cover all the bases.
_________________
Am I seriously still a n00b. What's up with that?
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Tue Aug 03, 2004 3:19 pm    Post subject: Reply with quote

Try 'USE="-java" emerge ..'. From the list that would give eliminate java recompile, but I think you need everything else recompiled.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum