swift 11/09/04 14:46:59 Modified: kernel-upgrade.xml Log: Bug #380539 - Inform users about /etc/conf.d/modules. Also update the versions in the guide to more recent examples
Revision Changes Path 1.20 xml/htdocs/doc/en/kernel-upgrade.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml?rev=1.20&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml?rev=1.20&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml?r1=1.19&r2=1.20 Index: kernel-upgrade.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- kernel-upgrade.xml 29 May 2011 00:39:18 -0000 1.19 +++ kernel-upgrade.xml 4 Sep 2011 14:46:59 -0000 1.20 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml,v 1.19 2011/05/29 00:39:18 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml,v 1.20 2011/09/04 14:46:59 swift Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/kernel-upgrade.xml"> @@ -17,8 +17,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1</version> -<date>2011-05-28</date> +<version>2</version> +<date>2011-09-04</date> <chapter> <title>Introduction</title> @@ -86,7 +86,7 @@ <pre caption="New kernel sources appearing on update list"> # <i>emerge -Dup world</i> Calculating dependencies ...done! -[ebuild NS ] sys-kernel/gentoo-sources-2.6.9-r2 [2.6.8-r5] +[ebuild NS ] sys-kernel/gentoo-sources-2.6.39-r3 [2.6.38-r6] </pre> <note> @@ -106,7 +106,7 @@ <p> The kernel sources will then be installed into a subdirectory of <path>/usr/src</path>. In the above example, the new kernel sources will be -installed at <path>/usr/src/linux-2.6.9-gentoo-r2</path>. +installed at <path>/usr/src/linux-2.6.39-gentoo-r3</path>. </p> </body> @@ -144,24 +144,24 @@ <comment>(See the list of available kernels)</comment> # <i>eselect kernel list</i> Available kernel symlink targets: - [1] linux-2.6.9-gentoo-r1 - [2] linux-2.6.9-gentoo-r2 * + [1] linux-2.6.39-gentoo-r3 + [2] linux-2.6.38-gentoo-r6 * <comment>(Select the correct kernel)</comment> # <i>eselect kernel set 1</i> <comment>(Verify the kernel was symlinked)</comment> # <i>eselect kernel list</i> - [1] linux-2.6.9-gentoo-r1 * - [2] linux-2.6.9-gentoo-r2 + [1] linux-2.6.39-gentoo-r3 * + [2] linux-2.6.38-gentoo-r6 </pre> <p> If you really want to do it yourself, the following example shows you how to -make the link point to <path>linux-2.6.9-gentoo-r2</path>: +make the link point to <path>linux-2.6.39-gentoo-r3</path>: </p> <pre caption="Updating the /usr/src/linux softlink manually"> # <i>cd /usr/src</i> -# <i>ln -sfn linux-2.6.9-gentoo-r2 linux</i> +# <i>ln -sfn linux-2.6.39-gentoo-r3 linux</i> </pre> </body> @@ -251,7 +251,7 @@ <pre caption="Compiling and installing the new kernel"> # <i>make && make modules_install</i> # <i>mount /boot</i> -# <i>cp arch/i386/boot/bzImage /boot/bzImage-2.6.9-gentoo-r2</i> +# <i>cp arch/i386/boot/bzImage /boot/bzImage-2.6.39-gentoo-r3</i> </pre> <p> @@ -300,6 +300,29 @@ </chapter> <chapter> +<title>Updating your module configuration</title> +<section> +<body> + +<p> +If you have put specific module configuration entries in +<path>/etc/conf.d/modules</path>, then you might need to update the entries +accordingly. +</p> + +<pre caption="Sample /etc/conf.d/modules file"> +<comment># The following will only auto-load the ieee1394 module in 2.6.38-gentoo-r6 kernels</comment> +modules_2_6_38_gentoo_r6="ieee1394" + +<comment># To support auto-loading on all possible versions, drop any reference to versions:</comment> +modules="ohci1394" +</pre> + +</body> +</section> +</chapter> + +<chapter> <title>Rebooting into the new kernel</title> <section> <body>
