kernel compile keeps going south on slackware 12.2
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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
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
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
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
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.