LinuxQuestions.org
Visit Jeremy's Blog.
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 04-24-2004, 10:49 PM   #1
katabatic
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
Exclamation Randomly Segmentation Faults


I'm running Redhat 9 on a custom box, stats below, trying to compile the 2.6.5 kernel when I recieve a Segmentation Fault. Give this result once, I ran 'make clean' then 'make bzImage' again. This time it went farther than the last make, but stops at a completely different file and gives another segmentation error. This pattern continues for a bit before stabilizing and repeatedly causing a segmentation error within a second or so of initializing the make. I've copied this text below as well.

I looked up and read what a segmentation fault is.

It happens when memory that is not in use with the make is attempted to be written on (correct?). This can occur because of faulty programming (inproper pointer) or hardware issues.

Since the Fault occurs a vastly different locations each time until it results in the near instant Fault every time (which can be cleared by restarting as typically is necessary as various other things start crashing after this happens) I don't think it is a programming error.

Since I am dual booting windows and there everything works quite well for extended periods of time, I don't think the hardware is at fault either.

My own guess is that there is a configuration error somewhere that makes my system think it has more memory than actually exists. If this seems plausible, how would I check and how could it be remedied?

Okay, now for stats:

My Computer --------

AMD Athlon XP 2000+
Asus A7N8X Deluxe Mainboard
2 sticks of DDR 256mb RAM
Maxtor 40gb hard drive (formatted 20gb NTFS, 10 gb ext3, 1gb swap, 9 gb unallocated)
Western Digital 40gb hard drive (formatted 1 NTFS partition)
nVidia geForce4 Ti 4600
Floppy
Normal CD drive
R/W/RW CD drive
Creative Soundblaster Audigy



Copy of the error -------

[genet@resonance linux-2.6.5]$make bzImage
CHK include/linux/version.h
UPD include/linux/version.h
SYMLINK include/asm -> include/asm-i386
HOSTCC scripts/basic/fixdep
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <"A URL was here, but the forum doesn't let me post it"> for instructions.
make [2]: *** [scripts/basic/fixdep] Error 1
make [1]: *** [scripts_basic] Error 2
make: *** [include/linux/autoconf.h] Error 2
[genet@resonance linux-2.6.5]$

Thanks!
 
Old 04-25-2004, 04:00 PM   #2
katabatic
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Gotta love it when you solve your own problems, eh?

I did some hardware digging and, bleh, I had a bad fan. I guess my processor was overheating and the choking to prevent damage, which killed the compilation. Kernel compiled perfectly this time.
 
  


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 - Hardware

All times are GMT -5. The time now is 05:06 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