/[gentoo]/xml/htdocs/doc/en/kernel-upgrade.xml
Gentoo

Diff of /xml/htdocs/doc/en/kernel-upgrade.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.13 Revision 1.14
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml,v 1.13 2006/01/08 15:16:15 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml,v 1.14 2006/02/22 20:30:20 nightmorph Exp $ -->
3 3
4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
5<guide link="/doc/en/kernel-upgrade.xml"> 5<guide link="/doc/en/kernel-upgrade.xml">
6<title>Gentoo Linux Kernel Upgrade Guide</title> 6<title>Gentoo Linux Kernel Upgrade Guide</title>
7<author title="Author"> 7<author title="Author">
15 15
16<!-- The content of this document is licensed under the CC-BY-SA license --> 16<!-- The content of this document is licensed under the CC-BY-SA license -->
17<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 17<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
18<license/> 18<license/>
19 19
20<version>0.2</version> 20<version>0.3</version>
21<date>2006-01-06</date> 21<date>2006-02-22</date>
22 22
23<chapter> 23<chapter>
24<title>Introduction</title> 24<title>Introduction</title>
25<section> 25<section>
26<body> 26<body>
260If you use any kernel modules that are not included in the kernel source tree 260If you use any kernel modules that are not included in the kernel source tree
261but are provided elsewhere in Portage (e.g. ALSA drivers and NVIDIA or ATI 261but are provided elsewhere in Portage (e.g. ALSA drivers and NVIDIA or ATI
262graphics drivers), then you must reinstall these after upgrading the kernel. 262graphics drivers), then you must reinstall these after upgrading the kernel.
263This is as simple as re-merging the packages involved. For more information, 263This is as simple as re-merging the packages involved. For more information,
264refer to the chapter on <e>Configuring the Kernel</e> in the <uri 264refer to the chapter on <e>Configuring the Kernel</e> in the <uri
265link="/doc/en/handbook/">Gentoo Handbook</uri>. To ensure these 265link="/doc/en/handbook/">Gentoo Handbook</uri>.
266packages will build against the source tree at <path>/usr/src/linux</path>,
267first uninstall the packages, then re-emerge them. If old sources for these
268packages are kept by portage, this uninstall/re-emerge procedure will make sure
269that they are rebuilt to work with the new kernel.
270</p> 266</p>
271 267
272<p> 268<p>
273We provide you with an easy tool (<c>sys-kernel/module-rebuild</c>) which 269We provide you with an easy tool (<c>sys-kernel/module-rebuild</c>) which
274rebuilds all the kernel modules you have installed using separate ebuilds (for 270rebuilds all the kernel modules you have installed using separate ebuilds for
275the <b>currently running</b> kernel, not necessarily the one in
276<path>/usr/src/linux</path>). Its use is straightforward. After emerging it, 271the kernel at <path>/usr/src/linux</path>. Its use is straightforward. After
277simply run <c>module-rebuild populate</c> to populate the database with a list 272emerging it, simply run <c>module-rebuild populate</c> to populate the
278of packages that will need to be rebuilt after upgrading the kernel. Once you 273database with a list of packages that will need to be rebuilt after upgrading
279have finished upgrading or recompiling your kernel, run <c>module-rebuild 274the kernel. Once you have finished upgrading or recompiling your kernel, run
280rebuild</c> to rebuild the drivers for your new kernel before you reboot. 275<c>module-rebuild rebuild</c> to rebuild the drivers for your new kernel.
281</p> 276</p>
282 277
283<p> 278<p>
284For more information, run <c>module-rebuild</c> without any options to see a 279For more information, run <c>module-rebuild</c> without any options to see a
285list of commands that can be passed to the utility. 280list of commands that can be passed to the utility.

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20