View previous topic :: View next topic |
Author |
Message |
vitec n00b
Joined: 19 Jan 2004 Posts: 15
|
Posted: Tue Feb 10, 2004 7:39 am Post subject: Installation on Athlon Xp 2000 Emerge problems |
|
|
I have been browsing the forum for quite some time now, and haven't found no help on this matter.
This is the catch, I've installed gentoo on my laptop last moth and I wish to install it on my desktop now. My laptop is an Asus A2500H (if you wan't the specs) and my desktop has the following setup:
ECS motherboard
AMD Athlon XP 2000
512 MB DDR 333
LEADTECH GeForce 4 Ti 4200
Matrox Mystique 8Mb
SB live!
and a realteck nic
(I guess the rest has nothing to do with the problem)
I'm tried to perform a stage3 instalation the same way I did in my laptop but I had a problem. So I figured that stage2 could solve this problem but It happened again.
I followed the install.html manual on /mnt/cdrom and when it reaches the emerge system all hell breaks loose. I get the following message (but only after a few packages, so my guess is that the compiler works some times)
!!! ERROR: sys-libs/ncurses-5.3-r5 failed.
!!! Function: src_compile, Line 58, Exitcode 2
!!! make failed
now, this has happened in stage3 also but it was some other package that I don't remember.
My make.conf has not been modified and if you wonder:
CHOST="i686-pc-linux-gnu"
CFLAGS="-02 -march=athlon-xp -pipe"
I guess this is the relevant part of the problem, and hope that someone has had the same problem and solved it! I really need my desktop to work since I have no 3d Accel in my laptop.
Cheers _________________ vitec |
|
Back to top |
|
|
Senso Apprentice
Joined: 17 Jun 2003 Posts: 250 Location: Montreal, Quebec
|
Posted: Tue Feb 10, 2004 12:08 pm Post subject: |
|
|
I had similar problems with my Athlon 2000. I fixed it by changing the arch supported in the kernel config. If you're using 2.4.*, go to Processor type and features -> Processor family - be sure it's "Athlon-XP" or something similar. |
|
Back to top |
|
|
bssteph l33t
Joined: 26 Feb 2003 Posts: 652 Location: Wisconsin
|
Posted: Tue Feb 10, 2004 4:57 pm Post subject: |
|
|
More lines (say, 10 or so above what you posted) from the error message would be nice. The generic "make failed" is hard to diagnose. |
|
Back to top |
|
|
dj_goku Tux's lil' helper
Joined: 29 Mar 2003 Posts: 78 Location: Earth
|
Posted: Wed Feb 11, 2004 8:51 pm Post subject: |
|
|
Having the same problems. ATM I can't post the error. give me about 20 minutes and I will post the error. Oh yeah my problem is coming up when I am bootstraping with a 1.4 Livecd.
cd ../obj_g; gcc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -D_GNU_SOURCE -I. - I../include -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -g -DTRACE -c .. /ncurses/./tinfo/lib_tgoto.c
cc1: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://bugs.gentoo.org/> for instructions.
make[1]: *** [../obj_g/lib_tgoto.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.3-r5/work/ncurses-5.3/ncu rses'
make: *** [all] Error 2
!!! ERROR: sys-libs/ncurses-5.3-r5 failed.
!!! Function src_compile, Line 58, Exitcode 2
!!! make failed
PC Specs:
AMD Athlon(tm) processor 1.2Ghz
256MB RAM
ECS MOBOCHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo" _________________ dj_goku | www.tektronic.org |
|
Back to top |
|
|
bssteph l33t
Joined: 26 Feb 2003 Posts: 652 Location: Wisconsin
|
Posted: Wed Feb 11, 2004 10:31 pm Post subject: |
|
|
dj_goku wrote: | /ncurses/./tinfo/lib_tgoto.c
cc1: internal error: Segmentation fault
|
That's never a good sign. Initially:
- Don't overclock.
- Make sure your FSB and RAM speeds match[1]
- Check your RAM
[1] Motherboards that allow multiple FSB speeds can have problems if the RAM isn't up to speed. For example, if the FSB is 333 MHz and the RAM only clocked at 266 MHz, Bad Things happen and are an easy cause of a segfault such as this. |
|
Back to top |
|
|
Senso Apprentice
Joined: 17 Jun 2003 Posts: 250 Location: Montreal, Quebec
|
Posted: Thu Feb 12, 2004 12:00 am Post subject: |
|
|
I say it again, this might be an architecture problem. I've never tried it myself, but why are you using
Code: | -march=athlon-tbird |
Shouldn't it be better to use -march=athlon-xp, like I do? Segfaults during compile time is often because either you are using the sources prepared for another arch or because your kernel config/gcc flags are wrong. |
|
Back to top |
|
|
dj_goku Tux's lil' helper
Joined: 29 Mar 2003 Posts: 78 Location: Earth
|
Posted: Thu Feb 12, 2004 3:45 pm Post subject: |
|
|
Nope, because I'm using a 1.2 AMD T-Bird, that is why I am using -march=athlon-tbird.
I'm not overclocking. RAM settings are at optimized defaults.
The actually problem was the cpu was heating up, clean the heatsink and problem fixed...I hope, I restarted bootstrap.sh and work fine now just need to finish the build.
There is a bug that tells about this seg fault when I find it I will post it. _________________ dj_goku | www.tektronic.org |
|
Back to top |
|
|
vitec n00b
Joined: 19 Jan 2004 Posts: 15
|
Posted: Mon Feb 16, 2004 1:56 pm Post subject: I knew it! |
|
|
I'm sorry I didn't hat time to update thist thread! I knew the probleme couldn't be overclocking in all cases! Here it goes... all I had to do was a BIOS update.
First of all I have a MS8137C motherboard and Not a ECS like I posted previously.
Second I noticed on boot time that it said something like unknown processor, since a friend of mine that has the same CPU told me that in is house it showed Athlon XP 2000+ Processor I thought it was time to do a BIOS upgrade and voilá... solved 100% of my gentoo problems.
It's not allways the users fault! Remember that! _________________ vitec |
|
Back to top |
|
|
|