Gentoo Archives: gentoo-doc-cvs

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: kernel-upgrade.xml
Date: Sun, 04 Sep 2011 14:47:10
Message-Id: 20110904144659.8DE6E20051@flycatcher.gentoo.org
1 swift 11/09/04 14:46:59
2
3 Modified: kernel-upgrade.xml
4 Log:
5 Bug #380539 - Inform users about /etc/conf.d/modules. Also update the versions in the guide to more recent examples
6
7 Revision Changes Path
8 1.20 xml/htdocs/doc/en/kernel-upgrade.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml?rev=1.20&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml?rev=1.20&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml?r1=1.19&r2=1.20
13
14 Index: kernel-upgrade.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml,v
17 retrieving revision 1.19
18 retrieving revision 1.20
19 diff -u -r1.19 -r1.20
20 --- kernel-upgrade.xml 29 May 2011 00:39:18 -0000 1.19
21 +++ kernel-upgrade.xml 4 Sep 2011 14:46:59 -0000 1.20
22 @@ -1,5 +1,5 @@
23 <?xml version="1.0" encoding="UTF-8"?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml,v 1.19 2011/05/29 00:39:18 nightmorph Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml,v 1.20 2011/09/04 14:46:59 swift Exp $ -->
26
27 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
28 <guide link="/doc/en/kernel-upgrade.xml">
29 @@ -17,8 +17,8 @@
30 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
31 <license/>
32
33 -<version>1</version>
34 -<date>2011-05-28</date>
35 +<version>2</version>
36 +<date>2011-09-04</date>
37
38 <chapter>
39 <title>Introduction</title>
40 @@ -86,7 +86,7 @@
41 <pre caption="New kernel sources appearing on update list">
42 # <i>emerge -Dup world</i>
43 Calculating dependencies ...done!
44 -[ebuild NS ] sys-kernel/gentoo-sources-2.6.9-r2 [2.6.8-r5]
45 +[ebuild NS ] sys-kernel/gentoo-sources-2.6.39-r3 [2.6.38-r6]
46 </pre>
47
48 <note>
49 @@ -106,7 +106,7 @@
50 <p>
51 The kernel sources will then be installed into a subdirectory of
52 <path>/usr/src</path>. In the above example, the new kernel sources will be
53 -installed at <path>/usr/src/linux-2.6.9-gentoo-r2</path>.
54 +installed at <path>/usr/src/linux-2.6.39-gentoo-r3</path>.
55 </p>
56
57 </body>
58 @@ -144,24 +144,24 @@
59 <comment>(See the list of available kernels)</comment>
60 # <i>eselect kernel list</i>
61 Available kernel symlink targets:
62 - [1] linux-2.6.9-gentoo-r1
63 - [2] linux-2.6.9-gentoo-r2 *
64 + [1] linux-2.6.39-gentoo-r3
65 + [2] linux-2.6.38-gentoo-r6 *
66 <comment>(Select the correct kernel)</comment>
67 # <i>eselect kernel set 1</i>
68 <comment>(Verify the kernel was symlinked)</comment>
69 # <i>eselect kernel list</i>
70 - [1] linux-2.6.9-gentoo-r1 *
71 - [2] linux-2.6.9-gentoo-r2
72 + [1] linux-2.6.39-gentoo-r3 *
73 + [2] linux-2.6.38-gentoo-r6
74 </pre>
75
76 <p>
77 If you really want to do it yourself, the following example shows you how to
78 -make the link point to <path>linux-2.6.9-gentoo-r2</path>:
79 +make the link point to <path>linux-2.6.39-gentoo-r3</path>:
80 </p>
81
82 <pre caption="Updating the /usr/src/linux softlink manually">
83 # <i>cd /usr/src</i>
84 -# <i>ln -sfn linux-2.6.9-gentoo-r2 linux</i>
85 +# <i>ln -sfn linux-2.6.39-gentoo-r3 linux</i>
86 </pre>
87
88 </body>
89 @@ -251,7 +251,7 @@
90 <pre caption="Compiling and installing the new kernel">
91 # <i>make &amp;&amp; make modules_install</i>
92 # <i>mount /boot</i>
93 -# <i>cp arch/i386/boot/bzImage /boot/bzImage-2.6.9-gentoo-r2</i>
94 +# <i>cp arch/i386/boot/bzImage /boot/bzImage-2.6.39-gentoo-r3</i>
95 </pre>
96
97 <p>
98 @@ -300,6 +300,29 @@
99 </chapter>
100
101 <chapter>
102 +<title>Updating your module configuration</title>
103 +<section>
104 +<body>
105 +
106 +<p>
107 +If you have put specific module configuration entries in
108 +<path>/etc/conf.d/modules</path>, then you might need to update the entries
109 +accordingly.
110 +</p>
111 +
112 +<pre caption="Sample /etc/conf.d/modules file">
113 +<comment># The following will only auto-load the ieee1394 module in 2.6.38-gentoo-r6 kernels</comment>
114 +modules_2_6_38_gentoo_r6="ieee1394"
115 +
116 +<comment># To support auto-loading on all possible versions, drop any reference to versions:</comment>
117 +modules="ohci1394"
118 +</pre>
119 +
120 +</body>
121 +</section>
122 +</chapter>
123 +
124 +<chapter>
125 <title>Rebooting into the new kernel</title>
126 <section>
127 <body>