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.
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 Googled vanilla kernel and a wikipedia entry explains it as:
Quote:
Further developing his own code and integrating changes made by other programmers, Linus Torvalds keeps releasing new versions of the Linux kernel. These are called "vanilla" kernels, meaning they have not been further modified by anyone. Many Linux operating system vendors modify the kernels of their product, mainly in order to add support for drivers or features which have not officially been released as stable, while some distributions rely on vanilla kernels.
What does this mean? Does it mean that a vanilla kernel is Torvalds' custom built kernel?
The other links on Google are how-tos, rather than explain what a vanilla kernel is.
This is the "official" mainline version of the Linux kernel maintained by Linus Torvalds. It is the base for all distributions and for all kernel development activities. The vanilla kernel can be downloaded from http://www.kernel.org/.
As the other posters mention, the "vanilla" kernel is the official kernel.
Most distros add patches of different sorts to the kernels released with the distros. Some might contain certain experimental drivers or work arounds that haven't been merged yet (like maybe support for rieser4 or some new wireless card). So you can have a Debian stock kernel, or a Fedora stock kernel, etc. These may have slightly different patchsets, but they're all built from linux.org's "vanilla" kernel.
1) Does that mean that if I download the kernel sources and configure the kernel and build it that it is then a Vanilla kernel? What if I change the configuration, and rebuild it. The two kernels are different. Are they both Vanilla kernels then?
2) Do you get the source for the strawberry, chocolate, and other flavors that distributions add to the Vanilla kernel? Does someone know what they add to make it a "Strawberry" kernel? "Chocolate" kernel?
_____________________________________________
I gave Linux a try because of M$crosoft. My M$crosoft ME started to huff and puff and told me to get Vista. I tried to recompile my M$crosoft ME, but I did not know where to start. Now, I have been compiling Linux. It compiles. I just got to get it to boot.
1) Does that mean that if I download the kernel sources and configure the kernel and build it that it is then a Vanilla kernel? What if I change the configuration, and rebuild it. The two kernels are different. Are they both Vanilla kernels then?
From the perspective of the original kernel, your modified kernel will not be vanilla. However, from your standpoint, should you decide to build a few distros using the modified kernel as a base, then yes, your kernel will be vanilla for YOUR distros.
Quote:
Originally Posted by newtovanilla
2) Do you get the source for the strawberry, chocolate, and other flavors that distributions add to the Vanilla kernel? Does someone know what they add to make it a "Strawberry" kernel? "Chocolate" kernel?
This is getting tasty! Need to make a stop by TCBY at lunch!
1) Does that mean that if I download the kernel sources and configure the kernel and build it that it is then a Vanilla kernel? What if I change the configuration, and rebuild it. The two kernels are different. Are they both Vanilla kernels then?
If you apply patches to the kernel downloaded from kernel.org then it won't be called a "vanilla kernel". Changing the configuration and rebuilding doesn't involve changing the source code so you would still be running "vanilla kernel", however, if you change the underlying source code and build again, then you are not running "vanilla kernel".
BTW, Slackware uses kernels directly from kernel.org (without any patches) and hence you'll see lot of references to Slackware when you dig "vanilla kernel".
2) Do you get the source for the strawberry, chocolate, and other flavors that distributions add to the Vanilla kernel? Does someone know what they add to make it a "Strawberry" kernel? "Chocolate" kernel?
Yes, we know what the distributions add to make is strawberry. It is actually illegal as it would break the GPL if the distributors didn't tell you what they do to make it strawberry. So yes, how to make strawberry kernels is documented and the documentation available for free.
"If you apply patches to the kernel downloaded from kernel.org then it won't be called a "vanilla kernel". Changing the configuration and rebuilding doesn't involve changing the source code so you would still be running "vanilla kernel", however, if you change the underlying source code and build again, then you are not running "vanilla kernel"."
For one kernel such as the 2.6.25 latest kernel, there are hundreds of Vanilla Kernels for that kernel version? If I run make menuconfig and build a vanilla kernel, then run make menuconfig with different options and build another vanilla kernel that is different than the first one, and continue until I have hundreds of vanilla kernels, they are all different! They are all Vanilla Kernels of 2.6.25! This would put 31 Flavors out of business! Hundreds of Vanilla! Thank you for clearing this up for me. The other post was wrong then that said that if you change the configuration that you do not have a vanilla kernel?
The other post was wrong then that said that if you change the configuration that you do not have a vanilla kernel?
I don't see that post anywhere. But either way, it's very simple. Any kernel built from the official and unmodified sources from a kernel.org release is referred to as a vanilla kernel. It doesn't matter what kernel configuration options you choose when you build it - it's still vanilla-flavored. The vanilla flavor is only affected when you modify the source code, such as distros like Ubuntu, Debian, Red Hat, etc. do all the time. Some distros, such as Slackware, strive very hard to keep their kernels (and other software) vanilla-flavored.
"From the perspective of the original kernel, your modified kernel will not be vanilla. However, from your standpoint, should you decide to build a few distros using the modified kernel as a base, then yes, your kernel will be vanilla for YOUR distros."
Here the modified kernel is a vanilla kernel according to the next comment and the above comment is wrong. OR is it right? Then what is a vanilla kernel? This is all new to me.
Win32sux makes it clear that it is a VANILLA kernel.
Last edited by newtovanilla; 04-30-2008 at 09:55 PM.
Reason: add Win32
"From the perspective of the original kernel, your modified kernel will not be vanilla. However, from your standpoint, should you decide to build a few distros using the modified kernel as a base, then yes, your kernel will be vanilla for YOUR distros."
Here the modified kernel is a vanilla kernel according to the next comment and the above comment is wrong. OR is it right? Then what is a vanilla kernel? This is all new to me.
Honestly I'm not sure what he meant. But you've already got some pretty clear explanations from several others in this thread, and you should be able to get it by now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.