LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-27-2005, 08:42 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Debain kernel source or Linux kernel source?


Hi,

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.

Thanks
 
Old 11-27-2005, 10:17 PM   #2
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382

Rep: Reputation: 37
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?

 
Old 11-27-2005, 10:22 PM   #3
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
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.
 
Old 11-28-2005, 12:33 PM   #4
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Smile

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.
 
Old 11-28-2005, 01:56 PM   #5
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382

Rep: Reputation: 37
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.

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to integrate driver source into kernel source tree zhchang Linux - Software 5 11-23-2005 12:34 AM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
difference between "pure" kernel source, and .deb packaged kernel source microsoft/linux Debian 1 06-19-2005 10:28 PM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 08:37 PM
linux kernel source whall3372 Debian 3 10-05-2003 10:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration