Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 09-23-2004, 06:02 AM   #1
LQ Newbie
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
kernel source update - howto?

my system runs fedora 2 on AMD64 (x86_64). I recently updated the kernel to version 2.6.8-1.521 from the original version 2.6.5-1.358 without problems.

I needed the kernel source for some customizations, so I download and installed kernel-2.6.8-1.521.src.rpm

I expected it to create a source tree under /usr/src/linux-2.6.8-1.521 but it does not.

the rpm creates several .config and .patches files under /usr/src/redhat/SOURCES

it seems that it comes in form of paches. How can update the kernel sources?

Last edited by uji; 09-23-2004 at 06:04 AM.
Old 09-23-2004, 06:56 AM   #2
LQ Newbie
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
Ah, this is a common misperception

A .src.rpm file is not what you want. The When you downloaded and instsalled kernel-2.6.8-1.521.src.rpm file is intended for folks who want to build the shipped kernel (with all the included configuration files) on their system using rpmbuild.

What you want is the 2.6.8 version of the kernel-source-2.6.8 package. It won't be a .src.rpm package, just a pure .rpm package.

You can do this via apt or yum (if you have them configured) or up2date, or just download it from the fedora site.

Once installed, cd to /usr/src and you'll see a linux-2.6.8-1.521 (or something similar) directory. cd into that directory, run make menuconfig (or make gconfig or make xconfig -- a gtk or qt based version of menuconfig) and select your options. Once you've run that gauntlet, type make && make install && make modules_install and yer good --- just read the README ....

good luck!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
update to patch kernel source lmmix Linux - General 5 02-24-2005 04:33 PM
How to update 2.4.20-8 kernel source to 2.4.20-31.9? michael.rice Red Hat 2 02-13-2005 05:40 AM
Kernel source update edgefield Linux - Newbie 15 09-03-2004 04:02 PM
Redhat 9.0 Kernel Source HOWto :S Mega Man X Linux - General 9 05-02-2004 12:20 PM
Kernel Source Update SappyToke Linux - Software 0 09-16-2003 12:25 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:01 AM.

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