Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using Debian (etch) system with kernel 2.6.18. I would like to upgrade to kernel 2.6.20. The problem is that I cannot find Debian Kernel source file (.deb file) for 2.6.20. All I can find is 2.6.21 and onwards right now at packages.debian.org.
I know I can use the plain vanilla kernel but I would prefer to use the Kernel with debian patches. Any ideas from where I can get the source file?
I am using Debian (etch) system with kernel 2.6.18. I would like to upgrade to kernel 2.6.20. The problem is that I cannot find Debian Kernel source file (.deb file) for 2.6.20. All I can find is 2.6.21 and onwards right now at packages.debian.org.
I know I can use the plain vanilla kernel but I would prefer to use the Kernel with debian patches. Any ideas from where I can get the source file?
That is the newest version of the kernel that you will get for etch from official Debian sources. If you want a kernel that will install properly on your Etch system then try seeing what they have at http://www.backports.org they have newer packages that are built for Etch.
That is the newest version of the kernel that you will get for etch from official Debian sources. If you want a kernel that will install properly on your Etch system then try seeing what they have at http://www.backports.org they have newer packages that are built for Etch.
THanks Happy Tux. I checked the backports and this is what I found for 2.6.20:
How do I proceed from here? I know the kernel compilation steps. What I need is how to incorporate the changes made by debian kernel people into the linux-2.6_2.6.20.orig.tar.gz.
How do I proceed from here? I know the kernel compilation steps. What I need is how to incorporate the changes made by debian kernel people into the linux-2.6_2.6.20.orig.tar.gz.
How do I proceed from here? I know the kernel compilation steps. What I need is how to incorporate the changes made by debian kernel people into the linux-2.6_2.6.20.orig.tar.gz.
Thanks a lot for your reply.
Those are the file you would get if you used the apt-get source linux-2.6_2.6.20 command to build the kernel .deb you need to put a line in your sources.list like below then apt-get update and install the linux-image file that matches it.
Code:
## Etch backports
deb http://www.backports.org/debian etch-backports main contrib non-free
Those are the file you would get if you used the apt-get source linux-2.6_2.6.20 command to build the kernel .deb you need to put a line in your sources.list like below then apt-get update and install the linux-image file that matches it.
Code:
## Etch backports
deb http://www.backports.org/debian etch-backports main contrib non-free
I already have the sources in my sources.lst file. I am just wondering what command to give to download the patched kernel sources.
So for example, if I do:
Code:
apt-get source -t etch-backports linux-2.6_2.6.20
Will it give me a .deb package (or a tar ball) of patched 2.6.20 Kernel sources?
Thanks a lot for all your help HappyTux. I think I am almost there. just waiting for your next reply..
I already have the sources in my sources.lst file. I am just wondering what command to give to download the patched kernel sources.
So for example, if I do:
Code:
apt-get source -t etch-backports linux-2.6_2.6.20
Will it give me a .deb package (or a tar ball) of patched 2.6.20 Kernel sources?
Thanks a lot for all your help HappyTux. I think I am almost there. just waiting for your next reply..
Using the apt-get source command will download those three files into the current directory then unpack it to its own directory and apply the patches to that source directory it created. You would then need to change into the directory that was created then build the linux-image-???.deb file with a command like fakeroot debian/rules binary or dpkg-buildpackage -rfakeroot -us -uc your probably just better off using apt-get install linux-image-2.6_2.6.20 or whatever it is called from there. In order to be able to use the apt-get source command your line you have in the sources.list must start with deb-src instead of the deb line I posted above.
Using the apt-get source command will download those three files into the current directory then unpack it to its own directory and apply the patches to that source directory it created. You would then need to change into the directory that was created then build the linux-image-???.deb file with a command like fakeroot debian/rules binary or dpkg-buildpackage -rfakeroot -us -uc your probably just better off using apt-get install linux-image-2.6_2.6.20 or whatever it is called from there. In order to be able to use the apt-get source command your line you have in the sources.list must start with deb-src instead of the deb line I posted above.
Hmmm..I tried the following command after adding etch backports to my sources.lst file:
Code:
bian:/usr/src# apt-get -t etch-backports source linux-2.6_2.6.20
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source package for linux-2.6_2.6.20
debian:/usr/src#
Why it is not able to get the package. I tried quite a few combinations like:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.