View previous topic :: View next topic |
Author |
Message |
l0st n00b


Joined: 06 Jun 2003 Posts: 8 Location: Lisboa - Portugal
|
Posted: Fri Jun 13, 2003 11:18 am Post subject: Seg faults |
|
|
Finalmente o meu 133 já instalou
Agora é o meu amd duron que me está dar problemas
Instalei o sistema de stage 3 e até agora tudo tinho corrido bem
De repende começam a vir os seg faults
Seg fault a compilar
Code: |
sh.hist.c: In function `dohist1':
sh.hist.c:312: internal error: Segmentation fault
|
Seg fault do kernel...
já nem consigo recompilar o kernel com novas flags....
Será das flags com que compilei o sistema??
estava a usar march=k6 -O3 -pipe -fomit-pointer
estou a tentar sacar o gcc de novo para o compilar com as flags :
CFLAGS="-mcpu=k6 -O3"
Já alguem aqui teve um problema semelhante???
[/code] |
|
Back to top |
|
 |
To Veteran


Joined: 12 Apr 2003 Posts: 1145 Location: Coimbra, Portugal
|
Posted: Fri Jun 13, 2003 12:15 pm Post subject: Re: Seg faults |
|
|
l0st wrote: | Agora é o meu amd duron que me está dar problemas
Instalei o sistema de stage 3 e até agora tudo tinho corrido bem
...
Seg fault do kernel...
já nem consigo recompilar o kernel com novas flags....
Será das flags com que compilei o sistema??
estava a usar march=k6 -O3 -pipe -fomit-pointer |
Já agora qual é modelo do duron? Existem durons baseados em 2 ( ou até 3 core's se bem me lembro ), e a utilização da opção errada resulta em problemas como o teu.
Quote: | -mcpu=cpu-type
Tune to cpu-type everything applicable about the generated code, except for the ABI and the set of available instructions. The choices for cpu-type are i386, i486, i586, i686, pentium, pentium-mmx, pentiumpro, pentium2, pentium3, pentium4, k6, k6-2, k6-3, athlon, athlon-tbird, athlon-4, athlon-xp, athlon-mp, winchip-c6, winchip2 and c3.
While picking a specific cpu-type will schedule things appropriately for that particular chip, the compiler will not generate any code that does not run on the i386 without the -march=cpu-type option being used. i586 is equivalent to pentium and i686 is equivalent to pentiumpro. k6 and athlon are the AMD chips as opposed to the Intel ones.
-march=cpu-type
Generate instructions for the machine type cpu-type. The choices for cpu-type are the same as for -mcpu. Moreover, specifying -march=cpu-type implies -mcpu=cpu-type. |
Espero que isto ajude em alguma coisa, aconcelho-te a ver o topico das https://forums.gentoo.org/viewtopic.php?t=56951 e vê o post do RoadRunner.
Tó _________________
------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------ |
|
Back to top |
|
 |
l0st n00b


Joined: 06 Jun 2003 Posts: 8 Location: Lisboa - Portugal
|
Posted: Sat Jun 14, 2003 8:14 pm Post subject: RAM problemática |
|
|
O memtest86 ajudou
Afinal era uma DRAM que estava a dar erros |
|
Back to top |
|
 |
MetalGod Bodhisattva


Joined: 10 Mar 2003 Posts: 816 Location: Portugal
|
Posted: Tue Jun 17, 2003 2:57 am Post subject: re: |
|
|
já tive problemas de memoria aconselho a usar na tua configuraçao do kernel
Code: |
Machine Check Exception OFF (disable)
|
para n teres kernel panics
e em caso de compilar mal conselho a usar nas CFLAGS
Code: |
CFLAGS="march=xxx ou mcpu=xxx -O2 -pipe"
|
 _________________ ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice |
|
Back to top |
|
 |
|
|
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
|
|