Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Seg faults
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
l0st
n00b
n00b


Joined: 06 Jun 2003
Posts: 8
Location: Lisboa - Portugal

PostPosted: Fri Jun 13, 2003 11:18 am    Post subject: Seg faults Reply with quote

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
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Fri Jun 13, 2003 12:15 pm    Post subject: Re: Seg faults Reply with quote

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.


_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
l0st
n00b
n00b


Joined: 06 Jun 2003
Posts: 8
Location: Lisboa - Portugal

PostPosted: Sat Jun 14, 2003 8:14 pm    Post subject: RAM problemática Reply with quote

O memtest86 ajudou :)

Afinal era uma DRAM que estava a dar erros
Back to top
View user's profile Send private message
MetalGod
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 816
Location: Portugal

PostPosted: Tue Jun 17, 2003 2:57 am    Post subject: re: Reply with quote

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"


:wink:
_________________
ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese 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