LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Fedora 25 kernel source (https://www.linuxquestions.org/questions/fedora-35/fedora-25-kernel-source-4175604987/)

zvivered 04-30-2017 09:59 PM

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

knudfl 05-01-2017 04:07 PM

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


-

zvivered 05-15-2017 03:50 PM

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

knudfl 05-15-2017 05:23 PM

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

-

syg00 05-15-2017 06:21 PM

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.


All times are GMT -5. The time now is 02:10 PM.