LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-05-2005, 03:25 PM   #1
Baix
Member
 
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203

Rep: Reputation: 30
Segmentation fault when compiling kernel (edit...when compiling lots of things..:( )


Hey guys,
First, just to warn you: I'm cursed and cannot, or ever will be, be able to compile a kernel, but I try anyway lol :-D

So on try number 15 on compiling 2.6.10 I run into this error when running make bzImage:

Code:
drivers/input/mouse/synaptics.c: In function `synaptics_process_packet':
drivers/input/mouse/synaptics.c:418: internal compiler error: Segmentation faultPlease submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [drivers/input/mouse/synaptics.o] Error 1
make[2]: *** [drivers/input/mouse] Error 2
make[1]: *** [drivers/input] Error 2
make: *** [drivers] Error 2
And I have absolutly no clue where to go from there. Thanks in advance all Also, it happens at random spots, not just synaptics.

Edit: Its worse than I thought...segmentation faults when compiling stuff for the Gentoo install.... whats going on!?

Last edited by Baix; 02-06-2005 at 09:49 AM.
 
Old 02-05-2005, 03:32 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Do you have a laptop?
 
Old 02-05-2005, 04:13 PM   #3
jawkins
LQ Newbie
 
Registered: Jan 2005
Location: London
Distribution: Slackware
Posts: 20

Rep: Reputation: 0
Re: Segmentation fault when compiling kernel

Quote:
Originally posted by Baix
And I have absolutly no clue where to go from there. Thanks in advance all
What version of gcc are you using? I vaguely remember having the default gcc with slack 10.0 dying on a kernel compile. I upgraded to a later version of gcc and then it worked fine.

Jim
 
Old 02-05-2005, 04:46 PM   #4
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Are you using Highmem? (as in 1Gig) ?
 
Old 02-05-2005, 06:46 PM   #5
Baix
Member
 
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203

Original Poster
Rep: Reputation: 30
Quote:
Do you have a laptop?
Nope

Quote:
What version of gcc are you using?
Code:
bash-2.05b$ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared --enable-threads=posix
 --enable-__cxa_atexit --disable-checking
--with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.3.4
Quote:
Are you using Highmem? (as in 1Gig) ?
As far as I know, nope.

Edit: (Sorry for the side scrolling, fixed it)

Last edited by Baix; 02-06-2005 at 09:45 AM.
 
Old 02-05-2005, 08:45 PM   #6
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
You don't need synaptics,thats for touchpad,try without it.
 
Old 02-05-2005, 11:21 PM   #7
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
does it segfault when you compile other things?

I had this problem not too long ago, it didn't matter what I was compiling I got seg faults and illegal instruction errors about every 1 or 2 min. of compiling. Mine ended up being heat related (cpu was overheating).
 
Old 02-06-2005, 04:22 AM   #8
d00msweek
Member
 
Registered: Jan 2004
Location: Cebu City, Philippines
Distribution: Slackware 10,Gentoo 2005.1,LFS
Posts: 92

Rep: Reputation: 15
Hardware issues? Bad mem, Overheating CPU and etc.
 
Old 02-06-2005, 09:44 AM   #9
Baix
Member
 
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203

Original Poster
Rep: Reputation: 30
Yeah, it looks like its worse than I thought...trying to install Gentoo for the first time...keep getting segmentation faults randomly throughout the compiles and can't get the thing to install. :-/ I've been running memtest86 from the gentoo cd for about 9 hours now but it hasn't reported any errors.
 
Old 02-19-2005, 02:37 PM   #10
Baix
Member
 
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203

Original Poster
Rep: Reputation: 30
bump
 
Old 02-19-2005, 03:01 PM   #11
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
bash-2.05b$ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared --enable-threads=posix
--enable-__cxa_atexit --disable-checking
--with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.3.4
are you trying to install it from slackware,sounds like a kernel mismatch,try the live cd.
 
Old 02-19-2005, 03:32 PM   #12
Baix
Member
 
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203

Original Poster
Rep: Reputation: 30
If your talking about installing Gentoo, I'm using the minimal live CD.

If your talking about the kernel I just downloaded it lol.

I really hope this isn't a hardware problem...I mean memtest gave no errors overnight and I've never really had the computer crash on me, but the fact that I'm getting segmentation errors both on the compiles for gentoo and when compiling the kernel in slackware doesn't sound like good news.
 
Old 02-19-2005, 05:22 PM   #13
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
what processor is it and what temp are you runnin at? I had pretty much the same thing, running memtest for hours and never getting any errors.
 
Old 02-19-2005, 06:03 PM   #14
Baix
Member
 
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203

Original Poster
Rep: Reputation: 30
I just succesfully compiled the kernel (twice to make sure) and got no errors. It seems that a wierd crash i had about a month ago (couldn't even hold down power to make it turn off, had to flip the switch) had come up with and error the first time i tried to boot up again...something about CPU temp might be wrong, it freaked me out so i just reset and didn't get the error again. I just reset the bios to the defaults and now everything seems A OK...now the big test, gentoo, it'll take a while (trying to bootstrap the whole thing) but i'll get back and post the results.

(Oh by the way just so you all know the kernel didn't boot /me is cursed) lol

Edit: Oh and to answer your question its an AMD Athlon xp 3000+ on an Asus A7N8X-E mobo

Last edited by Baix; 02-19-2005 at 06:05 PM.
 
Old 02-19-2005, 09:20 PM   #15
Baix
Member
 
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203

Original Poster
Rep: Reputation: 30
*Curses repeatadly...and loudly
Gah Gentoo failed to install, segmentation fault. What is going on here!
 
  


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
compiling in gcc goes well, gives segmentation fault jshine Programming 6 12-19-2004 01:08 AM
Segmentation Fault - Busted Kernel?? ClericPreston Linux - Newbie 1 10-23-2004 07:58 PM
Segmentation Fault when compiling ZSNES downinthemine Linux - Software 27 07-19-2004 03:47 AM
Slackwaer 9.1 GCC Compiling Segmentation Fault kdepa Slackware 2 03-15-2004 06:31 PM
Kernel segmentation fault during installation praveenk Slackware 0 10-21-2003 01:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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