release-notes/devel/en_US Kernel.xml,1.8,1.9
Paul W. Frields (pfrields)
fedora-docs-commits at redhat.com
Tue Aug 29 00:20:31 UTC 2006
Author: pfrields
Update of /cvs/docs/release-notes/devel/en_US
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2783
Modified Files:
Kernel.xml
Log Message:
Get newest content from wiki
Index: Kernel.xml
===================================================================
RCS file: /cvs/docs/release-notes/devel/en_US/Kernel.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Kernel.xml 13 Aug 2006 16:59:58 -0000 1.8
+++ Kernel.xml 29 Aug 2006 00:20:29 -0000 1.9
@@ -121,11 +121,11 @@
<para>
<note>
- <title>x86_64 Default Kernel Provides SMP</title>
+ <title>Default Kernel Provides SMP</title>
<para>
- There is no separate SMP kernel available for the x86_64
- architecture in Fedora Core 6 test2.
+ There is no separate SMP kernel available for &FC; 6.
+ Multiprocessor support is provided by the native kernel.
</para>
</note>
@@ -134,7 +134,7 @@
<para>
There is no support for Xen or kdump for the PowerPC
- architecture in Fedora Core 6 test2.
+ architecture in &FC; 6.
</para>
</note>
</para>
@@ -165,7 +165,7 @@
run the following command:
</para>
-<screen>su -c 'ln -s /usr/src/kernels/kernel-<replaceable>all-the-rest</replaceable> /usr/src/linux'</screen>
+ <screen>su -c 'ln -s /usr/src/kernels/<replaceable><version></replaceable>.<replaceable><release></replaceable>-<replaceable><arch></replaceable> /usr/src/linux'</screen>
<para>
Enter the <systemitem class="username">root</systemitem> password when
@@ -177,7 +177,7 @@
<title>Preparing for Kernel Development</title>
<para>
- Fedora Core 6 test2 does not include the
+ Fedora Core 6 does not include the
<filename>kernel-source</filename> package provided by older
versions since only the <filename>kernel-devel</filename> package
is required now to build external modules. Configured sources are
@@ -213,7 +213,7 @@
class="directory">/usr/src/linux</filename> in their kernel
instructions. If you use these instructions, simply substitute
<filename
- class="directory">~/rpmbuild/BUILD/kernel-<replaceable><version></replaceable>/linux-<replaceable><version></replaceable></filename>.
+ class="directory">~/rpmbuild/BUILD/kernel-<replaceable><version></replaceable>/linux-<replaceable><version></replaceable>.<replaceable><arch></replaceable></filename>.
</para>
</note>
<procedure>
@@ -223,8 +223,8 @@
directory. Run the following commands:
</para>
-<screen><![CDATA[su -c 'yum install fedora-rpmdevtools yum-utils'
-fedora-buildrpmtree ]]></screen>
+<screen><![CDATA[su -c 'yum install rpmdevtools yum-utils'
+rpmdev-setuptree ]]></screen>
<para>
Enter the <systemitem class="username">root</systemitem>
@@ -233,25 +233,12 @@
</step>
<step>
<para>
- Enable the appropriate <option>source</option> repository
- definition. In the case of the kernel released with Fedora
- Core 6, enable <option>core-source</option> by editing the
- file <filename>/etc/yum.repos.d/fedora-core.repo</filename>,
- setting the option <option>enabled=1</option>. In the case of
- update or testing kernels, enable the <option>source</option>
- definitions in
- <filename>/etc/yum.repos.d/fedora-updates.repo</filename> or
- <filename>/etc/yum.repos.d/fedora-updates-testing.repo</filename>
- as appropriate.
- </para>
- </step>
- <step>
- <para>
Download the
<filename>kernel-<replaceable><version></replaceable>.src.rpm</filename>
- file:
+ file. Enable any appropriate source repositories, such as
+ Core, Updates, or Testing, with the <option>-e</option> switch:
</para>
- <screen><![CDATA[yumdownloader --source kernel ]]></screen>
+ <screen><![CDATA[yumdownloader -e core-source -e updates-source --source kernel ]]></screen>
<para>
Enter the <systemitem class="username">root</systemitem>
password when prompted.
@@ -287,27 +274,21 @@
rpmbuild -bp --target $(uname -m) kernel-2.6.spec ]]></screen>
<para>
The kernel source tree is located in the <filename
- class="directory">${HOME}/rpmbuild/BUILD/kernel-<replaceable><version></replaceable>/</filename>
+ class="directory">${HOME}/rpmbuild/BUILD/kernel-<replaceable><version></replaceable>/linux-<replaceable><version></replaceable>.<replaceable><arch></replaceable></filename>
directory.
</para>
</step>
<step>
<para>
The configurations for the specific kernels shipped in Fedora
- Core 6 test2 are in the <filename
- class="directory">configs/</filename> directory. For
+ Core 6 are in the <filename
+ class="directory">~/rpmbuild/BUILD/kernel-<replaceable><version></replaceable>/linux-<replaceable><version></replaceable>.<replaceable><arch></replaceable>/configs/</filename> directory. For
example, the i686 configuration file is named
- <filename>configs/kernel-<replaceable><version></replaceable>-i686.config</filename>.
+ <filename class="directory">~/rpmbuild/BUILD/kernel-<replaceable><version></replaceable>/linux-<replaceable><version></replaceable>.<replaceable><arch></replaceable>/configs/kernel-<replaceable><version></replaceable>-i686.config</filename>.
Issue the following command to place the desired configuration
file in the proper place for building:
</para>
<screen>cp configs/<replaceable><desired-config-file></replaceable> .config</screen>
- <para>
- You can also find the <filename>.config</filename> file that
- matches your current kernel configuration in the
- <filename>/lib/modules/<replaceable><version></replaceable>/build/.config</filename>
- file.
- </para>
</step>
<step>
<para>
@@ -374,10 +355,12 @@
</para>
<screen><![CDATA[obj-m := foo.o
+
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
-default: $(MAKE) -C $(KDIR) M=$(PWD) modules ]]></screen>
+default:
+ $(MAKE) -C $(KDIR) M=$(PWD) modules ]]></screen>
<para>
Issue the <command>make</command> command to build the
@@ -385,20 +368,6 @@
</para>
</section>
- <section>
- <title>User Space Dependencies on the Kernel</title>
-
- <para>
- Fedora Core 6 test2 has support for clustered storage through the
- Global File System (GFS). GFS requires special kernel modules that
- work in conjunction with some user-space utilities, such as
- management daemons. To remove such a kernel, perhaps after an
- update, use the <command>su -c 'yum remove
- kernel-<replaceable><version></replaceable>'</command>
- command instead. The <command>yum</command> command automatically
- removes dependent packages, if necessary.
- </para>
- </section>
</section>
<!--
More information about the Fedora-docs-commits
mailing list