LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-04-2006, 04:43 PM   #1
crash88
Member
 
Registered: May 2006
Posts: 39

Rep: Reputation: 15
segmentation faults


I keep getting these. Even once when I tried to list the directory with "ls". "ls" worked directly after that with hardly any pause. I've been trying to compile a 2.6 kernel using gcc-3.4.6 and get segmentation faults at different parts of the build each time.

I finally got drunk and asked someone with more experience than me and he said it could be bad memory. What are the chances of a stick of RAM being bad at certain parts? Is there any way of testing the memory?
 
Old 06-04-2006, 06:17 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
It is bad memory.

If gcc craps out at different stages of the kernel build the
chances of bad ram are > 99% (even though there's a remote chance
of it being DMA related as the stuff gets paged out). I've had
a very nasty case on one athlon machine, where the RAM sticks
were fine in other machines but didn't like this one board for
the heck of it. With memtest they only failed ONE out of all the
subtests, but that was enough to upset Linux (winDOHs ME which
the original owner had been using for yonks never had any problems).

As for the testing: memtest86
It's part of many live CDs.


Cheers,
Tink
 
Old 07-03-2006, 10:14 PM   #3
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
I am getting the same seg faults while trying to upgrade kernel and I am in the process of testing with memtest 3.2 and got several errors with memory, but not sure if its the cpu cache or the ram. The program is kinda confusing but at lest I know some memory is bad.
 
Old 07-03-2006, 10:22 PM   #4
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
Very true that it could be bad memory, but my machine also likes to segfault if I overclock too far, so if you are OC'd, try taking it down and see if the segfaults continue. If they cease, you've gone too far.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation faults winterhunter Linux - Software 5 10-14-2005 03:06 AM
Some help with segmentation faults? captainslushie Linux - Software 5 06-23-2005 02:59 PM
Segmentation Faults. Terroth Linux - Hardware 1 06-19-2005 05:16 AM
Segmentation Faults ryankask Mandriva 2 06-13-2005 07:10 PM
Segmentation Faults? DoomsdayChef Linux - Newbie 2 10-18-2003 08:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration