View previous topic :: View next topic |
Author |
Message |
MGVB n00b
Joined: 25 Dec 2002 Posts: 5 Location: Germany
|
Posted: Wed Dec 25, 2002 11:26 pm Post subject: Illegal instruction after installation |
|
|
Hello,
if've tried to install the Gentoo-Linux 1.4 rc1 several times.
The installation process worked without any error.
But after rebooting, the starting of nano and top (the two where i found it) gives a "Illegal Instruction" . emerge, ls, df, joe i.e. are running.
I have a laptop with a mobile Athlon XP 1800+.
I used CFLAGS and CXXFLAGS="-march=athlon-xp -O2 -pipe", the kernel (vanilla-sources) was compiled with the "athlon"-flag.
Even emerged with CFLAGS="-march=pentium" or CFLAGS="" i always get this "Illegal instruction".
Knowing about the issues about to choose the right flags for the processor architecture i don't no what to do.
Does anyone know what i have to do to get this running?
Thanks! |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Dec 26, 2002 12:05 am Post subject: |
|
|
Which stage did you start with? If stage 3, is there a chance you got the wrong stage 3 tarball for your CPU? If stage 1/2, I don't see how this could happen. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
MGVB n00b
Joined: 25 Dec 2002 Posts: 5 Location: Germany
|
Posted: Thu Dec 26, 2002 8:27 am Post subject: |
|
|
The first attempt was with a stage3-tarball for the athlon-xp downloaded a week ago. The next tries were with the stage1 from the CD. Always the same. |
|
Back to top |
|
|
bdf_porket n00b
Joined: 02 Jan 2003 Posts: 2
|
Posted: Thu Jan 02, 2003 4:08 pm Post subject: |
|
|
Hi,
I've the same problem.
Athlon XP 1800+
Compiled from stage1 all workin untill rebooting. Then ilegal instruction at nano, top... even doesn't load nic module (intel e100 or eepro100).
I've tried two times, 2ond one rc2 I've had errors even at booting scripts. (mv)
Now, I'm trying rc2, boot from cd ok, download stage3-athlon-xp, emerge, going to edit make.conf... nano ilegal instruction.
Anyone else has this?
Sorry my bad english. |
|
Back to top |
|
|
MGVB n00b
Joined: 25 Dec 2002 Posts: 5 Location: Germany
|
Posted: Thu Jan 02, 2003 6:11 pm Post subject: |
|
|
Hello,
my last attempt on sunday was with CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer"
That solves the installing problem. No illegal instructions on nano, top and so on. Then i tried X, fluxbox, mozilla, kdevelop, quanta and so on and they are running.
The only thing that i found yet that didn't run is mplayer . Again "illegal instruction".
But i can't think using only -march=athlon is the only solution.
Is it possible that there is a (little but significant) difference between the Palomino-XPs and the newer Thoroughbred-XPs? Only an idea.... |
|
Back to top |
|
|
bdf_porket n00b
Joined: 02 Jan 2003 Posts: 2
|
Posted: Fri Jan 03, 2003 12:10 am Post subject: |
|
|
Hi,
It seems to be a 2.4.20 vanilla-sources problem (I will try one from kernel.org later)
You can try it:
-Boot from BootCD 1.4rc2 (2.4.20 kernel)
-Download and unpack stage3-athlon-xp
-chroot
-exec nano
You can see a beautiful "illegal instruction"
Or you can try:
-Boot from BootCD 1.4rc1 (2.4.19 kernel)
-Download and unpack stage3-athlon-xp
-chroot
-exec nano
It seems to work
-follow rc2 install instructions except kernel
-emerge vanilla sources-2.4.19, complile it with athlon flag
-reboot and it works (I hope not only to me)
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
I'll try from stage1 with more flags like 3dnow and a 2.4.20 kernel from kernel.org, but it sound strange.
Regards. |
|
Back to top |
|
|
|