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 am new to Linux and I need a help in compling the kernel source code.
I need to compile the kernel because I want to use the modem whose driver is not included in the default kernel. I clean-installed Fedora Core 2 on my IBM Thinkpad T22.
The current kernel installed is "2.6.7-1.494.2.2"
I read several online documents about the kernel compilation, but since I am new to Linux, I am not clear about what to do.
For example, all the documentation do not tell me what the numbers next "-". When I checked the kernel_dot_org Web site, I didn't find any source that ends with "1.494.2.2" so that I had no idea what source to download from it.
My questions are:
1. With the kernel (2.6.7-1.494.2.2) installed, what kernel source should I download.
2. What is the meaning of "-1.494.2.2"?
3. Are there very easy-to-follow tutorial for kernel compilation?
The numbers after the dash are the specific Fedora version of the kernel. This is a dirty little secret that many different distros have, namely that they don't use the mainstream Linux kernel at all, but one with their own special modifications, backports, etc. You have two choices -- you can stick with your distro's kernel, or go with a vanilla kernel.org kernel. The later is the easier course, probably, and you should just install the kernel-source packages from your install CDs or over the Internet, then you'll be good to go. Alternatively, just download the latest stable kernel.org kernel, configure it carefully to make sure all necessary hardware support is built in directly or as a module, and rebuild.
u should download the latest source from kernel.org
say 2.6.7
then from ur preseent kernel u have a config file of the kernel installed in uyr system at /boot directory
so load that config file in ur 2.6.7 kernel configuration
so now u have the working configuration and so
remove the modules u want to remove and add the one s required
Then, I have one more question.
If I choose to use the latest kernel from the kernel.org, then from that point, I guess the fedora up2date cannot update my kernel. Please correct me if I am wrong.
I believe you can edit /etc/yum.conf file to exclude kernel update. If you exclude kernel update, you can still get regular updates minus the kernel update.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.