<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<?xml-stylesheet href="http://www.informatik.fh-wiesbaden.de/~werntges/home_t/proj/dbkcss102/wysiwygdocbook1.02/driver.css" type="text/css"?>

 <book>
  <article lang="en">
    <articleinfo>
      <title>Docs/Beats/Kernel</title>
    </articleinfo><section>
      <title>Docs/Beats/Kernel</title>
      <section>
        <title>Linux Kernel</title>
        <para>This section covers changes and important information regarding the 2.6.25 based kernel in Fedora 9.  The 2.6.25 kernel includes: </para>
        <para />
        <itemizedlist>
          <listitem>
            <para> Tickless support for x86 64bit systems (32 bit was added previously), which greatly improves power management.</para>
          </listitem><listitem>
            <para> Some elements of the realtime kernel project.</para>
          </listitem><listitem>
            <para> The kernel has a new version naming scheme to more closely match the upstream version naming scheme.</para>
          </listitem><listitem>
            <para> The kernel spec file is now named <programlisting format="linespecific">kernel.spec</programlisting> rather than <programlisting format="linespecific">kernel-2.6.spec</programlisting>.</para>
          </listitem><listitem>
            <para> The kernel spec file has new macros that ease the kernel building process. Refer to <ulink url="http://fedoraproject.org/wiki/Docs/CustomKernel">http://fedoraproject.org/wiki/Docs/CustomKernel</ulink> for further information.</para>
          </listitem><listitem>
            <para> The kernel in Fedora 9 no longer loads modules by default for ISA sound cards.  Load the module by hand using the command <programlisting format="linespecific">modprobe module-name</programlisting>, or put an entry in <programlisting format="linespecific">/etc/modprobe.conf</programlisting>.  For example, for the Creative SoundBlaster AWE64, add the following entry:</para>
          </listitem>
        </itemizedlist><para />
        <programlisting>install snd-sbawe
</programlisting>
        <para />
        <itemizedlist>
          <listitem>
            <para> The Fedora kernel offers <programlisting format="linespecific">paravirt_ops</programlisting> support in <programlisting format="linespecific">domU</programlisting>, as part of the kernel team's efforts to reduce the work required to produce current Xen kernels.</para>
          </listitem><listitem>
            <para> Xen fully virtualized guests can directly boot a kernel and <programlisting format="linespecific">initrd</programlisting> image and pass kernel boot args.  For more details refer to <ulink url="http://fedoraproject.org/wiki/Features/XenFullvirtKernelBoot.">http://fedoraproject.org/wiki/Features/XenFullvirtKernelBoot.</ulink>
            </para>
          </listitem>
        </itemizedlist><para />
        <section>
          <title>Version </title>
          <para>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 <emphasis>vanilla kernel</emphasis> from the kernel.org web site:</para><para>
            <ulink url="http://www.kernel.org/">http://www.kernel.org/</ulink>
          </para><para>To obtain a list of these patches, download the source RPM package and run the following command against it:</para>
          <para />
          <programlisting>rpm -qpl kernel-&lt;version&gt;.src.rpm</programlisting>
          <para />
        </section><section>
          <title>Changelog </title>
          <para>To retrieve a log of changes to the package, run the following command:</para>
          <para />
          <programlisting>rpm -q --changelog kernel-&lt;version&gt;</programlisting>
          <para />
          <para>If you need a user friendly version of the changelog, refer to <ulink url="http://wiki.kernelnewbies.org/LinuxChanges.">http://wiki.kernelnewbies.org/LinuxChanges.</ulink> A short and full diff of the kernel is available from <ulink url="http://kernel.org/git.">http://kernel.org/git.</ulink> The Fedora version kernel is based on the Linus tree.</para><para>Customizations made for the Fedora version are available from <ulink url="http://cvs.fedoraproject.org.">http://cvs.fedoraproject.org.</ulink>
          </para>
        </section><section>
          <title>Kernel Flavors </title>
          <para>Fedora 9 includes the following kernel builds: </para>
          <itemizedlist>
            <listitem>
              <para> Native kernel, for use in most systems.  Configured sources are available in the <programlisting format="linespecific">kernel-devel</programlisting> package.</para>
            </listitem>
          </itemizedlist><itemizedlist>
            <listitem>
              <para> 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 <programlisting format="linespecific">kernel-PAE-devel</programlisting> package.</para>
            </listitem>
          </itemizedlist><itemizedlist>
            <listitem>
              <para> Virtualization kernel for use with the Xen emulator package. Configured sources are available in the <programlisting format="linespecific">kernel-xen-devel</programlisting> package.</para>
            </listitem>
          </itemizedlist><para>You may install kernel headers for all four kernel flavors at the same time. The files are installed in the <programlisting format="linespecific">/usr/src/kernels/&lt;version&gt;[-PAE|-xen|-kdump] -&lt;arch&gt;/</programlisting> tree. Use the following command:</para><para />
          <programlisting>su -c 'yum install kernel{,-PAE,-xen,-kdump}-devel'</programlisting>
          <para />
          <para>Select one or more of these flavors, separated by commas and no spaces, as appropriate.  Enter the root password when prompted.</para>
          <para>
            <para>
              <para>
                <inlinemediaobject>
                  <imageobject>
                    <imagedata fileref="http://fedoraproject.org/w/uploads/c/cc/Note.png" width="35px" />
                  </imageobject><caption>
                    <para>Note.png</para>
                  </caption>
                </inlinemediaobject>
              </para><para>
                <emphasis>x86 Kernel Includes Kdump</emphasis>Both the x86_64 and the i686 kernels are relocatable, so they no longer require a separate kernel for kdump capability. PPC64 still requires a separate kdump kernel.</para>
            </para>
          </para><para>
            <para>
              <para>
                <inlinemediaobject>
                  <imageobject>
                    <imagedata fileref="http://fedoraproject.org/w/uploads/c/cc/Note.png" width="35px" />
                  </imageobject><caption>
                    <para>Note.png</para>
                  </caption>
                </inlinemediaobject>
              </para><para>
                <emphasis>Default Kernel Provides SMP</emphasis>There is no separate SMP kernel available for Fedora on i386, x86_64, and ppc64.  Multiprocessor support is provided by the native kernel.</para>
            </para>
          </para><para>
            <para>
              <para>
                <inlinemediaobject>
                  <imageobject>
                    <imagedata fileref="http://fedoraproject.org/w/uploads/c/cc/Note.png" width="35px" />
                  </imageobject><caption>
                    <para>Note.png</para>
                  </caption>
                </inlinemediaobject>
              </para><para>
                <emphasis>PowerPC Kernel Support</emphasis>There is no support for Xen or kdump for the PowerPC architecture in Fedora. 32-bit PowerPC does still have a separate SMP kernel.</para>
            </para>
          </para>
        </section><section>
          <title>Preparing for Kernel Development </title>
          <para>Fedora 9 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 [#Kernel_Flavors above]. </para>
          <para>
            <para>
              <para>
                <inlinemediaobject>
                  <imageobject>
                    <imagedata fileref="http://fedoraproject.org/w/uploads/f/ff/Important.png" width="35px" />
                  </imageobject><caption>
                    <para>Important.png</para>
                  </caption>
                </inlinemediaobject>
              </para><para>
                <emphasis>Custom Kernel Building</emphasis>For information on kernel development and working with custom kernels, refer to <ulink url="http://fedoraproject.org/wiki/Docs/CustomKernel.">http://fedoraproject.org/wiki/Docs/CustomKernel.</ulink>
              </para>
            </para>
          </para>
        </section><section>
          <title>Reporting Bugs </title>
          <para>Refer to <ulink url="http://kernel.org/pub/linux/docs/lkml/reporting-bugs.html">http://kernel.org/pub/linux/docs/lkml/reporting-bugs.html</ulink> for information on reporting bugs in the Linux kernel.  You may also use <ulink url="http://bugzilla.redhat.com">http://bugzilla.redhat.com</ulink> for reporting bugs that are specific to Fedora.</para>
        </section>
      </section>
    </section>
  </article>
</book>