LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-01-2004, 10:27 PM   #1
kleptophobiac
Member
 
Registered: Jun 2003
Distribution: Arch
Posts: 315

Rep: Reputation: 30
Can't compile the kernel - segfaults randomly


I am trying to compile the kernel on an arch machine. Specs are as follows

Gigabyte GA-7VTX
256MB PC2700
Thunderbird 1400 (stock speed)
Thermoengine w/ delta screamer
ati 8500lele
pinnacle pctv pro
netgear fa311

anyway, whenever I try to compile the kernel, I get segfaults on random files. The machine passes memtest with flying colors (0 errors after 80 passes [took two days])

I'm reset the cmos, made sure everything was on seriously conservative settings, did a clean install of arch, and I'm still getting segfaults on the files (gcc errors).

Does anybody know what I should do?

tia!
 
Old 07-02-2004, 12:13 AM   #2
frelihm
Member
 
Registered: Jan 2003
Location: Ljubljana, Slovenia, Europe
Distribution: debian
Posts: 72

Rep: Reputation: 15
try replacing RAM chip
 
Old 07-02-2004, 01:38 AM   #3
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
According to his post, it passed the memtest.

It could be a problem with the kernel though. I had strange problems when I had the wrong IDE chipset picked in my kernel. Are you doing this from a bootable CD or from the OS itself? What version of kernel are you trying to compile?

Later

 
Old 07-02-2004, 11:21 AM   #4
frelihm
Member
 
Registered: Jan 2003
Location: Ljubljana, Slovenia, Europe
Distribution: debian
Posts: 72

Rep: Reputation: 15
Hmm can you send us a config listing of kernel?
 
Old 07-02-2004, 11:40 AM   #5
kleptophobiac
Member
 
Registered: Jun 2003
Distribution: Arch
Posts: 315

Original Poster
Rep: Reputation: 30
Which kernel do you want? The one I'm running or the one I'm compiling?

I'm running 2.6.7, off the hard drive. This is arch .6 (ftp current)
 
Old 07-02-2004, 11:41 AM   #6
rdj
LQ Newbie
 
Registered: Jan 2004
Location: Sweden
Distribution: Debian GNU/Linux
Posts: 9

Rep: Reputation: 0
I had the same problem with my PC. It segfaulted randomly when I compiled a new kernel or installed new programs with APT. I found out that it was my moderbord that was broken. I bought a new one and now everything works perfectly. I even ran memtest with the old moderboard and it gave me no errors.
I wouldn't be surprised if it was a hardware error. :/
 
Old 07-02-2004, 01:05 PM   #7
kleptophobiac
Member
 
Registered: Jun 2003
Distribution: Arch
Posts: 315

Original Poster
Rep: Reputation: 30
I'm quite certain it is a hardware problem, but I'm having a hard time narrowing it down to which piece of gear. This is all crap that I had laying in the basement, and I'm performing an HTPC experiment with it. There are only two known good pieces of gear in there.
 
Old 07-02-2004, 02:13 PM   #8
Jimbo99
Member
 
Registered: Nov 2003
Distribution: Ubuntu 7.04
Posts: 241

Rep: Reputation: 31
To start I am not an linux expert and I don't normally go and recompile the kernel. I think that has no place in the realm of the desktop user. I am though competent in managing linux boxes and I have nearly 20 years of experience in computer software and hardware going way back to the early days of DoS.

The memtest86 program will test ram quite sufficiently although if there are errors it may not always report them. If memtest86 does report errors you can count on them unless the problem is with some other component on your motherboard and/or your processor.

I've had many cases where no matter how many times you swapped ram out and ran memtest86 it came up with errors consistently at certain addresses. I'd then taken those ram sticks out and tested them in other boards and they passed.

In those cases the issue was with the processor itself. In all but one case they were intel processors that had failed but didn't appear to fully fail. In the one case where it was an AMD processor the processor seems to be fine, except it doesn't like certain motherboards.

How does this apply to his problem? Recently when working on a new linux box to be setup as a series of dedicated gaming servers for a LAN, I had a problem where no matter how many times I tried to resolve some segment faults they wouldn't disappear until I swapped the processor. In this case I swapped a 2600+ for a 2500+.

Try switching out your processor. The cost of today's processors are very cheap, indeed. You can get a 2600+ for under $90.00. Other processors are cheaper. Your mobo/bios will dictate which processors you are permitted to install. You may want to look for a bios update for your mobo to see if they have added any additional processor support.
 
  


Reply



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
C++ pthread compile errors and segfaults spaaarky21 Programming 6 11-29-2005 11:53 PM
ps segfaults, kernel oopses wapcaplet Linux - Software 2 02-01-2004 04:04 PM
Make Segfaults Or Spews Random Errors When Compiling 2.6 kernel johnleemk Linux - Software 3 01-04-2004 03:24 PM
Make Segfaults Or Spews Random Errors When Compiling 2.6 kernel johnleemk Linux - General 0 12-28-2003 09:50 AM
gcc 3.3.2 segfaults when compiling 2.4.23 kernel Azmeen Slackware 5 11-29-2003 07:53 PM

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

All times are GMT -5. The time now is 10:58 AM.

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