LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-02-2006, 10:28 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 820

Rep: Reputation: 30
Segmentation Fault, Should I try new memory


System crashed, just installed new HD and was compiling 2.6 kernel and got seg fault. I had been getting that alot before the crash. SHould I try new memory before buiding whole new system?

SLack 10.2 No X
 
Old 07-03-2006, 01:54 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 65
This may not be your problem but I ran into this once before. I had compiled in the wrong chipset for the IDE controller and it was erroring out during heavy drive usage. If you want to test this, you can use something like this:

Code:
hdparm -Tt /dev/<your drive here> && hdparm -Tt /dev/<your drive here> && hdparm -Tt /dev/<your drive here> && hdparm -Tt /dev/<your drive here> && hdparm -Tt /dev/<your drive here>
Again, that may not be what is happening to you but it is easy to test if you have hdparm installed. It may not fail until the forth or fifth set though. Mine would do three with no errors but usually fail on the forth and would always fail on the fifth.

Hope that helps.

 
Old 07-03-2006, 02:25 AM   #3
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 745

Rep: Reputation: 81
To find out whether you have bad memory, you should download MemTest86. The easiest way to get it up and running is by downloading and burning a copy of Knoppix. If, for some reason (slow connection, etc.) you don't want to download the Knoppix CD, you can get MemTest86 from here:

http://www.memtest86.com/#download0

Just boot the disk, tell it to test, and wait a few hours. If you get errors, you have either bad RAM, CPU or motherboard (but most likely bad RAM).

Good luck!

--Dane
 
Old 07-03-2006, 02:25 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Run memntest86 and see if there are problems (you might have to download it). If memtest86 does not reveal problems, your MB/RAM combination is OK.
 
Old 07-03-2006, 10:23 PM   #5
M$ISBS
Member
 
Registered: Aug 2003
Posts: 820

Original Poster
Rep: Reputation: 30
Thanks, I downloaded the iso, burned it as an image and its running now. Its already found errors. That sucks because this ram was pricey, Kingston hyperX for gaming. Its less than 1 1/2 old.
 
Old 07-04-2006, 12:29 AM   #6
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 745

Rep: Reputation: 81
Bummer that the memory's bad, but this might cheer you up (from http://www.kingston.com/hyperx/products/khx.asp):

Quote:
KHX:DDR - Kingston HyperX memory is designed based on the latest DDR specifications available, and is 100% tested at Kingston's flagship factories. Plus, these Kingston modules come with the standard Kingston lifetime warranty and toll-free Tech Support. Built with the best-quality components, Kingston HyperX is competitively priced and is the choice for the serious gamer. HyperX is available in single and dual channel memory kits.
Have a good one.

--Dane

Last edited by DaneM; 07-04-2006 at 12:31 AM.
 
Old 07-04-2006, 04:38 AM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
It is not said that memory is bad. It might be anything used during the test. As memtest is a program, it will use the CPU. The CPU reads/writes from/to memory via the motherboard. So the following might be components that can be faulty (in my opinion):
CPU
Motherboard
RAM
You have to eliminate the possible causes.

Further you can check the memory timings and try to relax them a bit and stop overclocking (if applicable).
 
Old 07-04-2006, 12:43 PM   #8
M$ISBS
Member
 
Registered: Aug 2003
Posts: 820

Original Poster
Rep: Reputation: 30
I ran memtest without changing the ram configuration, how they were installed. Then I removed one stick and ran it again and got no errrors, then I removed the second stick, replaced it with the first in the same slot and thats when I got massive errors right off the bat.
Would it be safe to remove all the simms and run memtest to check the cpu and caches?
 
Old 07-04-2006, 02:33 PM   #9
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 65
I'm not sure it will run with no memory. After all, the CD has to load to something. You can try it but I doubt it will boot.

 
Old 07-04-2006, 04:55 PM   #10
M$ISBS
Member
 
Registered: Aug 2003
Posts: 820

Original Poster
Rep: Reputation: 30
Oh,yea, I was wondering how I could check the L1 and L2 cache to see if the MB and CPU are ok. Memtest doesnt seem to show when it checks those.
 
Old 07-04-2006, 05:49 PM   #11
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 745

Rep: Reputation: 81
I think that since memtest only produces errors when you have a particular stick installed, it's safe to assume that it's a RAM problem and not a CPU/Motherboard problem. Also, the computer will not boot if no RAM is installed; it will just beep at you. As far as I know, memtest was not designed to test the CPU's onboard memory.

--Dane
 
  


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
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika Suse/Novell 2 12-02-2005 10:34 AM
segmentation fault lmvent Programming 2 10-20-2005 04:14 PM
Segmentation fault satimis Linux From Scratch 4 07-11-2005 09:01 PM
segmentation fault pippet Programming 4 01-24-2005 02:02 AM
Segmentation fault compjinx Linux - Newbie 4 11-09-2003 05:51 PM


All times are GMT -5. The time now is 03:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration