Documentation Kernel Beat
From FedoraProject
(→Linux Kernel) |
m (Docs/Beats/Kernel moved to Documentation Kernel Beat: Natural language name change.) |
Revision as of 03:48, 23 January 2009
Contents |
Linux Kernel
This section covers changes and important information regarding the 2.6.27 based kernel in Fedora 19. The 2.6.27 kernel includes:
Version
Fedora may include additional patches to the kernel for improvements, bug fixes, or additional features. For this reason, the Fedora kernel may not be line-for-line equivalent to the so-called vanilla kernel from the kernel.org web site:
To obtain a list of these patches, download the source RPM package and run the following command against it:
rpm -qpl kernel-<version>.src.rpm
Changelog
To retrieve a log of changes to the package, run the following command:
rpm -q --changelog kernel-<version>
If you need a user friendly version of the changelog, refer to http://wiki.kernelnewbies.org/LinuxChanges. A short and full diff of the kernel is available from http://kernel.org/git. The Fedora version kernel is based on the Linus tree.
Customizations made for the Fedora version are available from http://cvs.fedoraproject.org.
Kernel Flavors
Fedora 19 includes the following kernel builds:
- Native kernel, for use in most systems. Configured sources are available in the
kernel-develpackage.
- The kernel-PAE, for use in 32-bit x86 systems with more than 4GB of RAM, or with CPUs that have a NX (No eXecute) feature. This kernel support both uniprocessor and multi-processor systems. Configured sources are available in the
kernel-PAE-develpackage.
- Debugging kernel, for use in debugging some kernel issues. Configured sources are available in the
kernel-debug-develpackage.
You may install kernel headers for all four kernel flavors at the same time. The files are installed in the /usr/src/kernels/<version>[-PAE|-xen|-kdump] -<arch>/ tree. Use the following command:
su -c 'yum install kernel{,-PAE,-xen,-kdump}-devel'
Select one or more of these flavors, separated by commas and no spaces, as appropriate. Enter the root password when prompted.
Preparing for Kernel Development
Fedora 19 does not include the kernel-source package provided by older versions since only the kernel-devel package is required now to build external modules. Configured sources are available, as described above.
Reporting Bugs
Refer to http://kernel.org/pub/linux/docs/lkml/reporting-bugs.html for information on reporting bugs in the Linux kernel. You may also use http://bugzilla.redhat.com for reporting bugs that are specific to Fedora.