Fedora Linux Support Community & Resources Center
  #1  
Old 3rd May 2008, 07:25 AM
netphilic Offline
Registered User
 
Join Date: May 2008
Posts: 18
HI, Where can I get fedora 8 kernel source code

I want to change few drivers.
I think I can't load the kernel.org's kernel ? I guess Fedora kernel is modified one.

Thanks
Netphilic
Reply With Quote
  #2  
Old 3rd May 2008, 08:05 AM
BlueC Offline
Registered User
 
Join Date: Aug 2007
Location: Liverpool, UK
Posts: 733
Code:
yumdownloader --source kernel
should do it, provided you have the source repositories somewhere in your repo configs.

oh, and yes, fedora kernel can be (is) quite heavily modified.
Reply With Quote
  #3  
Old 3rd May 2008, 09:06 AM
brebs Offline
Banned
 
Join Date: Apr 2008
Posts: 558
In Fedora 9:
Code:
yum install kernel-devel
Edit: Oops, this is wrong

Last edited by brebs; 3rd May 2008 at 09:32 AM.
Reply With Quote
  #4  
Old 3rd May 2008, 09:13 AM
BlueC Offline
Registered User
 
Join Date: Aug 2007
Location: Liverpool, UK
Posts: 733
Quote:
Originally Posted by brebs
In Fedora 9:
Code:
yum install kernel-devel
Hmmm, no. That won't download the kernel source. That will just install the kernel-devel package which is often required to build other packages against the current kernel, but it is not the kernel source.
Reply With Quote
  #5  
Old 3rd May 2008, 01:47 PM
majikthise Offline
Registered User
 
Join Date: Apr 2008
Location: everywhere & nowhere
Posts: 749
The F9 preview repo is here:
http://download.fedora.redhat.com/pu.../source/SRPMS/
__________________
HP dv5000 1.8GHz F9......Apple G4 500MHz F8 (dev-box)......ASRock 2x 1.8GHz CentOS 5.2
Reply With Quote
  #6  
Old 3rd May 2008, 01:49 PM
BlueC Offline
Registered User
 
Join Date: Aug 2007
Location: Liverpool, UK
Posts: 733
Quote:
Originally Posted by majikthise
What's that got to do with this thread and the OP's question?
Reply With Quote
  #7  
Old 3rd May 2008, 05:08 PM
Kobolt Offline
Registered User
 
Join Date: May 2008
Posts: 9
Quote:
Originally Posted by BlueC
Code:
yumdownloader --source kernel
should do it, provided you have the source repositories somewhere in your repo configs.

oh, and yes, fedora kernel can be (is) quite heavily modified.
yumdownloader is provided by the yum-utils package.

Code:
yum install yum-utils
Reply With Quote
  #8  
Old 3rd May 2008, 11:39 PM
netphilic Offline
Registered User
 
Join Date: May 2008
Posts: 18
Quote:
Originally Posted by Kobolt
yumdownloader is provided by the yum-utils package.

Code:
yum install yum-utils

Yumdownloader seems to be in mysystem.

After running "yumdownloader --source kernel", I got a src rpm file on the directory, where I run the command.

I did rpm install of that.

It created /usr/src/redhat/SOURCES directory
but here I see only .patch files no .c or .h files.
Reply With Quote
  #9  
Old 4th May 2008, 08:28 AM
Kobolt Offline
Registered User
 
Join Date: May 2008
Posts: 9
http://forums.fedoraforum.org/archiv.../t-101436.html

You can adapt that to the version of fedora you are using.
Reply With Quote
  #10  
Old 4th May 2008, 09:22 AM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,075
See the Fedora Custom Kernel document.
Reply With Quote
Reply

Tags
code, fedora, 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
Problem with kernel source code bman Programming & Packaging 2 23rd February 2007 11:53 PM
Where Is Kernel Source Code megadeth Installation, Upgrades and Live Media 4 25th February 2005 08:12 AM
Source code for kernel-2.6.6-1.427 egurski Installation, Upgrades and Live Media 2 13th June 2004 02:47 AM


Current GMT-time: 13:35 (Tuesday, 21-10-2014)

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
Partur Instagram Photos - Oraiokastro - Maiduguri Photos