DebianThis forum is for the discussion of Debian Linux.
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 was trying to get a certain piece of hardware to get working on my debain system which I was not able to using the default 2.6.8-2-386 kernel from debain sarge. Then I found out that the latest release was 2.6.13(at that time) on kernel.org so I downloaded the source,configured it and compiled it and my piece of hardware worked fine. Then later on I found that even debian's kernel source 2.6.13 was available in the experimental repository and I even tried that too and my hardware was again working fine just as with the original kernel source from kernel.org
So now the question is what kernel source should I keep using? The Original one from kernel.org(2.6.13) or from the debian experimental repository(2.6.13)....which one is better from stability point of view.
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Rep:
I personally believe that you should be using the kernel from Debian. The difference between the two is the Debian kernel is the stock kernel with Debian patches installed in them. The patches allow the kernel to work in Debian smoother than a stock kernel. Anyone else?
The Debian kernel does have patches to the original kernel source. The most significant was (and still is I think) the cramfs patch. If you use an initrd, the default Debian initrd uses the cramfs filesystem. If you don't have the proper patch for it, the kernel may fail to boot. However, you can change the initrd manually or manually configure your kernel so that you do not need the initrd. My guess is that if you have both the original kernel and debian patched kernel, either one will work.
hmm. that was good to know. you mentioned that the debain kernel has cramfs patches. But when I used the original kernel source I did not had any problems? I just compiled the kernel the Debian way(make-kpkg) and it was able to boot. Does it mean that the new kernels on kernel.org have those patches installed. I am asking out of curiosity.
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Rep:
No. The kernels from kernel.org are distribution independent. The kernels from Debian.org have the Debian patches, and the other distributions maintain patched kernels on their respective Web sites.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.