LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-30-2017, 09:59 PM   #1
zvivered
Member
 
Registered: Sep 2007
Posts: 294

Rep: Reputation: 23
Fedora 25 kernel source


Hello,

I'm using Centos 7.2.1511
Under this distribution, is it possible to download the kernel source of Fedora 25 and inspect the default .config ?

Only with this distribution 2 HSUARTs are detected. With vanilla 4.9.23 (April 2017) those UARTS are not detected:

ttyS4 at MMIO ... is a 16550A
ttyS5 at MMIO ... is a 16550A

I wonder what changes were done in the kernel source or is it only configuration.

Thank you,
Zvika
 
Old 05-01-2017, 04:07 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
CentOS 7.2.1511 : When / if you can update (# yum update), you will have the latest = 7.3.1611 : $ cat /etc/redhat-release

You can download any package from any other 'Linux OS' / any package version, if you have a link.

Fedora 25 source packages, updates http://dl.fedoraproject.org/pub/fedo...ates/25/SRPMS/
Kernel source http://dl.fedoraproject.org/pub/fedo...0.fc25.src.rpm

Fedora 25 kernel config files :
Code:
config-4.9.14-200.fc25.x86_64
config-4.10.8-200.fc25.x86_64
config-4.10.11-200.fc25.x86_64
config-4.10.12-200.fc25.x86_64
→ → https://drive.google.com/file/d/0B7S...ew?usp=sharing


CentOS 7.3.1611 kernel config files :
Code:
config-3.10.0-327.18.2.el7.x86_64
config-3.10.0-327.22.2.el7.x86_64
config-3.10.0-327.28.2.el7.x86_64              
config-3.10.0-514.10.2.el7.x86_64              
config-3.10.0-514.16.1.el7.x86_64
→ →https://drive.google.com/file/d/0B7S...ew?usp=sharing


-

Last edited by knudfl; 05-01-2017 at 04:57 PM.
 
Old 05-15-2017, 03:50 PM   #3
zvivered
Member
 
Registered: Sep 2007
Posts: 294

Original Poster
Rep: Reputation: 23
Hello,

Thank you for your reply !

Under live fedora I ran: "yum install kernel-devel"

Will this download the kernel source used to compile the running kernel ?

Thank you,
Zvika
 
Old 05-15-2017, 05:23 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #3.
Quote:
"yum install kernel-devel"
Will this download the kernel source used to compile the running kernel ?
No. 'kernel-devel' is not the complete source.
'kernel-devel' is the headers required to compile a third party kernel module.
(Or e.g. a hello.ko module.)


EL7, example kernel source http://vault.centos.org/7.3.1611/os/Source/SPackages/
→ → kernel-3.10.0-514.el7.src.rpm
Old versions, EL7 http://ftp.scientificlinux.org/linux.../SRPMS/vendor/

* Fedora 25 release http://dl.fedoraproject.org/pub/fedo...ee/Packages/k/
→ kernel-4.8.6-300.fc25.src.rpm
* Fedora 25 update http://dl.fedoraproject.org/pub/fedo...es/25/SRPMS/k/
→ kernel-4.10.14-200.fc25.src.rpm

-

Last edited by knudfl; 05-15-2017 at 05:31 PM.
 
Old 05-15-2017, 06:21 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
If you have a liveCD of Fedora, simply look at /boot for the config file(s). Text file, just run grep or maybe diff against the CentOS .config
New functionality is added to the kernel constantly - Fedora is closer to the head of this change cycle. Less likely that it is patched by the Fedora devs.
 
  


Reply



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
how to install kernel-syms and kernel-source on fedora 6 aw_wolfe Linux - Newbie 5 03-24-2008 02:03 PM
Kernel-source for Fedora 7 lchisholm Linux - Kernel 8 06-03-2007 08:32 AM
Fedora 5 Kernel Source metallica1973 Fedora 4 08-04-2006 11:42 AM
fedora kernel source khh80 Fedora 17 05-31-2005 11:26 AM
fedora kernel source higooday Linux - Wireless Networking 1 10-07-2004 10:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:23 AM.

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