LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-16-2009, 07:04 PM   #1
slack*****user
LQ Newbie
 
Registered: Feb 2008
Location: bumphuck iowa (sigh)
Distribution: hello? SLACKWARE, darwin, slackintosh
Posts: 20

Rep: Reputation: 0
kernel compile keeps going south on slackware 12.2


yeah i was really good at getting a tight fast kernel in 2.4. and i was hesitant to try the the 2.6 series. ok so i decided to grow a pair and then install 12.2 on my smp box. this has been nothing but a nightmare all week long i keep getting and error that says i should have pciked 686 instead of k7(i have a pair of athlon mp 1800?)and it wont let me redo the kernel or recompile i am ending up witht the same result each time anyone got any ideas or a way to get my kernel back to functional again. i am out of my head man.

also anyone that can provide a real compile guide for kernel 2.6. would be awesome it seems as though all the ones i find are disappearing, and they lead me up to what is happening now please get back to me
 
Old 05-16-2009, 07:07 PM   #2
slack*****user
LQ Newbie
 
Registered: Feb 2008
Location: bumphuck iowa (sigh)
Distribution: hello? SLACKWARE, darwin, slackintosh
Posts: 20

Original Poster
Rep: Reputation: 0
re up addendum

also i have absolutely no funtionality either cant get any modules to load, no sound nothing its crap if you need anymore information jsut ask
 
Old 05-16-2009, 08:30 PM   #3
slack*****user
LQ Newbie
 
Registered: Feb 2008
Location: bumphuck iowa (sigh)
Distribution: hello? SLACKWARE, darwin, slackintosh
Posts: 20

Original Poster
Rep: Reputation: 0
ok re: for anybody reading this

ok i got it somewhat back to normal again i still dont know how to compile a 2.6 kernel correctly

so could someone give me a rundown that is really like basic like this then you so this than you do this i cant seem to find anyone that syncs witha nother one around here

help me please
 
Old 05-16-2009, 09:29 PM   #4
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64 14.0
Posts: 981

Rep: Reputation: 88
http://alien.slackbook.org/dokuwiki/...kernelbuilding

Works like a charm........
 
Old 05-16-2009, 10:09 PM   #5
slack*****user
LQ Newbie
 
Registered: Feb 2008
Location: bumphuck iowa (sigh)
Distribution: hello? SLACKWARE, darwin, slackintosh
Posts: 20

Original Poster
Rep: Reputation: 0
hmmm still behind

ok i checked out that webpage seems to be pretty straightforward but...now i am recieving errors that i cant run the make scripts in my directory(/usr/src/linux) what to do i will post the errors if can get another one
 
Old 05-17-2009, 05:29 AM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Can you post the output of

Code:
cat /proc/cpuinfo
just to make sure you're compiling for the right processor.
 
Old 05-18-2009, 02:22 AM   #7
slack*****user
LQ Newbie
 
Registered: Feb 2008
Location: bumphuck iowa (sigh)
Distribution: hello? SLACKWARE, darwin, slackintosh
Posts: 20

Original Poster
Rep: Reputation: 0
here is the results of the cat /proc/cpuinfo

i know i am compiling for the right processor, but so no one questions me, i bought these processors PIB brand new, a few years back so i dont know. im sure it is something stupid that is tripping me up but here ya go, and yes i have compiled an smp kernel before it took me wo tries but i got it i am at try number umpteen with this, so help me out


root@evilbox:~# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 6
model name : AMD Athlon(tm) MP 1800+
stepping : 2
cpu MHz : 1533.368
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow
bogomips : 3066.73
clflush size : 32
power management: ts

processor : 1
vendor_id : AuthenticAMD
cpu family : 6
model : 6
model name : AMD Athlon(tm) Processor
stepping : 2
cpu MHz : 1533.368
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow
bogomips : 3067.08
clflush size : 32
power management: ts

and here for your viewing pleasure is the errors i get trying make a new config and all that:

HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:145,
from /usr/lib/gcc/i486-slackware-linux/4.2.4/include/limits.h:122,
from /usr/lib/gcc/i486-slackware-linux/4.2.4/include/syslimits.h:7,
from /usr/lib/gcc/i486-slackware-linux/4.2.4/include/limits.h:11,
from scripts/basic/fixdep.c:115:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/sys/socket.h:36,
from /usr/include/netinet/in.h:25,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/bits/socket.h:320:24: error: asm/socket.h: No such file or directory
scripts/basic/fixdep.c: In function 'use_config':
scripts/basic/fixdep.c:206: error: 'PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:206: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:206: error: for each function it appears in.)
scripts/basic/fixdep.c:206: warning: unused variable 's'
scripts/basic/fixdep.c: In function 'parse_dep_file':
scripts/basic/fixdep.c:306: error: 'PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:306: warning: unused variable 's'
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2


idk
 
Old 05-18-2009, 05:26 AM   #8
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
What processor options does it give you when you compile the kernel ? You should probably choose Athlon XP.

What kernel version are you trying to compile ? And this is on slackware 12.2, right ?
 
Old 05-19-2009, 10:58 PM   #9
slack*****user
LQ Newbie
 
Registered: Feb 2008
Location: bumphuck iowa (sigh)
Distribution: hello? SLACKWARE, darwin, slackintosh
Posts: 20

Original Poster
Rep: Reputation: 0
reply

yes it is for 12.2, just the stock torrent version. i was also having other problems as well(which was cleared up when i changed a cable, how flippin simple) everytime i recompile it was just getting worse, so do i have to make dep between the make config and make bzImage? ok just wondering about that. i have compiled on slack 12 and 12.1 and had no problems, none at all. i was letting it ride on compiling a kernel until i had some time to set up my crap in a normal enviroment like ya know having my own desk and monitor but i said what the hell and this started happening. ehh
 
Old 05-20-2009, 01:03 AM   #10
slack*****user
LQ Newbie
 
Registered: Feb 2008
Location: bumphuck iowa (sigh)
Distribution: hello? SLACKWARE, darwin, slackintosh
Posts: 20

Original Poster
Rep: Reputation: 0
a little clarification

alright i have two(2) amd athlon MP palomino 1800+, a tyan tiger mpx(yest it is an mpx motherboard with the 4MB rom and working onboard usb)

well i did some digging, and found that when i boot the kernel and install slackware(12.2)smp goes thru just fine, my memory is all seen, but when i read my config : which is what i get when i do this

#zcat /proc/config.gz > currentconfig(i am doing this so i ahve it to look at in the root directory)

i get something very interesting it says that it is using i686 for processor specification

now when i do the recompile it gave me an error in regards to how i am supposed to use i686

fine whatever i have been searching this whole site and googling and come up null, also i am not trying to get more than four gigs of ram either...

any help ? is it impossible to compile athlon for smp? just checking
 
  


Reply

Tags
compile, errors, help, kernel


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
kernel compile for slackware 11 Dalip Sharma Linux - General 1 02-06-2008 05:19 AM
My kernel compile guide for Slackware 11 ericfx Slackware 12 04-01-2007 09:47 PM
slackware 10.2 not responding after compile kernel 2.6.13 d_d Slackware 18 02-22-2006 03:59 PM


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