LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   building older version of kernel on newer version machine (https://www.linuxquestions.org/questions/linux-newbie-8/building-older-version-of-kernel-on-newer-version-machine-857144/)

chakradhar.nannuri 01-18-2011 08:22 PM

building older version of kernel on newer version machine
 
hi,
i am linux-newbie

i have fedora12 installed in my machine (kernel 2.6.31), but i have a requirement to use kernel 2.6.18,as xilinx usb cable driver seems to install fine on 2.6.18 version of kernel.

can i build 2.6.18 on the machine that contains 2.6.31.

is it possible,kindly help me out.

thanks in advance,
chakradhar nannuri

andrewthomas 01-18-2011 08:33 PM

Sure. You could even use the centos sourceRPM if you wanted.

http://centos.mirrors.tds.net/pub/li...94.el5.src.rpm

or you could get the vanilla version from kernel.org

lazlow 01-18-2011 10:08 PM

You are probably going to run into issues of the system wanting things that an older kernel will not be able to provide. It would probably be easier to just use Centos 5(which uses a .18 kernel).

chakradhar.nannuri 01-19-2011 12:46 AM

i am confused,
i hav downloaded kernel-2.6.18-194.el5.src.rpm as u suggested
should i install this rpm in any specific path like /boot or something , and what can i expect after installing.
(or) else will it serve my purpose, if i can get kernel source(2.6.18) from kernel.org and change the root Makefile and try to make,make install it.so that as i reboot my machine,kernel 2.6.18 will be on my boot options along with 2.6.31 and from which I can choose one of them.Will this happen?

what is vanilla version?kindly brief me abt it and how to use it.

thanks in advance,
chakradhar nannuri.

andrewthomas 01-25-2011 09:46 PM

A vanilla kernel is an unpatch one (from kernel.org sources.)

Here is a link to build kernels in Fedora.

https://fedoraproject.org/wiki/Building_a_custom_kernel


All times are GMT -5. The time now is 09:36 AM.