LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel compile keeps going south on slackware 12.2 (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-compile-keeps-going-south-on-slackware-12-2-a-726486/)

slack*****user 05-16-2009 07:04 PM

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

slack*****user 05-16-2009 07:07 PM

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

slack*****user 05-16-2009 08:30 PM

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

SqdnGuns 05-16-2009 09:29 PM

http://alien.slackbook.org/dokuwiki/...kernelbuilding

Works like a charm........

slack*****user 05-16-2009 10:09 PM

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

H_TeXMeX_H 05-17-2009 05:29 AM

Can you post the output of

Code:

cat /proc/cpuinfo
just to make sure you're compiling for the right processor.

slack*****user 05-18-2009 02:22 AM

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

H_TeXMeX_H 05-18-2009 05:26 AM

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 ?

slack*****user 05-19-2009 10:58 PM

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

slack*****user 05-20-2009 01:03 AM

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


All times are GMT -5. The time now is 11:16 PM.