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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-04-2006, 04:43 PM
|
#1
|
Member
Registered: May 2006
Posts: 39
Rep:
|
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?
|
|
|
06-04-2006, 06:17 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
07-03-2006, 10:14 PM
|
#3
|
Member
Registered: Aug 2003
Posts: 834
Rep:
|
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.
|
|
|
07-03-2006, 10:22 PM
|
#4
|
Member
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 09:45 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|