Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th September 2012, 09:07 AM
dissk Offline
Registered User
 
Join Date: Sep 2012
Location: Europe
Posts: 3
windows_7firefox
Question Installing fedora kernel source

Hi!

I am running a fresh FC17 install and need to patch and recompile my kernel for RT functionality. The RT patches only comes for some versions (patch-3.4.10-rt18.patch.gz being the latest one).

I tried to follow this guide

http://fedoraproject.org/wiki/Buildi...Get_the_Source

to get the Fedora kernel source, but it does not explain how to get a specific kernel version. The command used in the guide (yumdownloader --source kernel) will download kernel 3.5.something for me, which cannot be used with the RT patch. How do I specify the command to download the source for kernel version 3.4.10?

Any help is greatly appreciated!
Reply With Quote
  #2  
Old 5th September 2012, 11:34 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: Installing fedora kernel source

Try http://docs.fedoraproject.org/en-US/...in_Fedora.html which is also available for Fedora 17.
Reply With Quote
  #3  
Old 5th September 2012, 01:41 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: Installing fedora kernel source

well, if you wish to download the source for a specific kernel version (assuming it is still in the repos) you just put the entire package name (along with version) instead of just kernel.

For example, to download the source for 3.5.0-4 for Fedora 17,

Code:
yumdownloader --source kernel-3.5.0-4.fc17.src.rpm
Or you can just go over to koji and select whichever you want, just drill down for what version. then source is in the src directory, the kernels are in either the i386 or x86_64 directory depending upon which you want.

http://kojipkgs.fedoraproject.org/packages/kernel/
Reply With Quote
  #4  
Old 5th September 2012, 02:23 PM
dissk Offline
Registered User
 
Join Date: Sep 2012
Location: Europe
Posts: 3
windows_7firefox
Re: Installing fedora kernel source

Quote:
Originally Posted by george_toolan View Post
Try http://docs.fedoraproject.org/en-US/...in_Fedora.html which is also available for Fedora 17.
Thank you. I got this one running as a temporary solution, because I will still need to compile my own kernel at some point.
Reply With Quote
  #5  
Old 5th September 2012, 02:24 PM
dissk Offline
Registered User
 
Join Date: Sep 2012
Location: Europe
Posts: 3
windows_7firefox
Re: Installing fedora kernel source

Quote:
Originally Posted by DBelton View Post
well, if you wish to download the source for a specific kernel version (assuming it is still in the repos) you just put the entire package name (along with version) instead of just kernel.

For example, to download the source for 3.5.0-4 for Fedora 17,

Code:
yumdownloader --source kernel-3.5.0-4.fc17.src.rpm
Or you can just go over to koji and select whichever you want, just drill down for what version. then source is in the src directory, the kernels are in either the i386 or x86_64 directory depending upon which you want.

http://kojipkgs.fedoraproject.org/packages/kernel/
Thank you, this is exactly what I needed
Reply With Quote
Reply

Tags
fedora, installing, kernel, source

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 8 | nV8600GS | Not Installing... "Unable to find the kernel source tree" Calad Hardware & Laptops 2 14th November 2007 04:00 AM
Installing Kernel Source gj15987 Using Fedora 1 31st March 2007 01:43 PM
need help installing kernel source bodiby Using Fedora 9 5th August 2005 07:17 PM
Fedora Core 3 Installing Kernel Source from RPM sdrinkwater Using Fedora 2 10th December 2004 04:55 PM
FC3 - Installing Kernel Source - ERROR plsclickme Installation and Live Media 1 9th November 2004 06:47 PM


Current GMT-time: 01:09 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat