I would like to build/install latest kernel for mandrake.
Linux - NewbieThis 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
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.
I would like to build/install latest kernel for mandrake.
Where do I get the file(s) I need to do this. I had some readme that gave me an ftp site to get the latest source release from mandrake or whatever, but I lost it and now I can't find whatever it was talking about. I am growing more and more frustrated googling on the web to try and find something useful. Could someone please direct me to where I could download the latest kernel source for mandrake. Any other tips or heads up on compiling and making the kernel bootable is apreciated.
BTW, I installed mandrake 9.0 and in the /usr/src/ directory there is nothing. Why isnt the current kernel source there? I selected all packages. I think this is stupid that it is not there. Am I wrong?
Thanks David. One more question. All these rmp's say 'i586.' Is this what I want? I am running a Athlon not a Pentium. All I seem to be able to find is i586 stuff, yet on the net I see mention of i586 being the old pentiums and i686 being the new pentiums and athlon being the athlons. Does this mean the kernel is optimized for the old pentiums? Since I can't find an athlon or i686 one does it mean mandrake does not make a kernel optimized for athlons or new pentiums?
AAhh!, your signature :wq rrrrrr brings back chilling memories of my first encounters with vi
i586 means that it is optimized for pentium 3 and celerons where i686 is for pentium 4 i believe that athlon xp processors are also i686 but i dont know about the rest of the athlon processors (btw pentium2=i486 pentium=i386) something compiled for 386 will work on that and anything above but if its 686 it will only work on p4 also you can simply use a kernel from source and then configure it for optimization on your processor
OK, to set some things straight: Mandrake is set up standard optimized for i586. On any official mandrake packages you will see that. i586 means pentium, and that means the first pentiums! (pente is greek for 5, there's the connection). Anything from PentiumPro up is i686. And anything compatible with pentiumpro or higher also falls into the general category of i686, including AMD Athlon.
So any i586 or i686 package should have no problem to run on your Athlon.
Now it is possible to get packages optimized for athlon or athlon-xp (gcc-3.2 allows that), but that probably means building it yourself. So far I have only seen athlon-optimized packages at Gentoo (and then they offer only the basic system and some additions pre-built, as the idea with Gentoo is that all packages are built on your system, with your optimizations).
But if you are building a new kernel from sources (either the patched mandrake sources or the original from kernel.org), you have an option to have it built for your processor during configuration.
There is a kernel-source rpm on your mandrake install disk (1 or 2 )
With a basic install the source will not appear in /usr/src , just go the the mandrake control center, select software management, installing software, and you will find the sources for the 2.4.19-16 kernel right there. Click install and you will see that in /usr/src the sources are there !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.