neysx 05/05/12 20:26:56 Modified: xml/htdocs/doc/en/handbook/2005.0 hb-install-x86-kernel.xml Log: #91242 /etc/modules.autoload.d/kernel-x.z MIA in 2005.0/x86 guide
Revision Changes Path 1.8 +45 -4 xml/htdocs/doc/en/handbook/2005.0/hb-install-x86-kernel.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.0/hb-install-x86-kernel.xml?rev=1.8&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.0/hb-install-x86-kernel.xml?rev=1.8&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.0/hb-install-x86-kernel.xml.diff?r1=1.7&r2=1.8&cvsroot=gentoo Index: hb-install-x86-kernel.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.0/hb-install-x86-kernel.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- hb-install-x86-kernel.xml 7 Apr 2005 18:20:45 -0000 1.7 +++ hb-install-x86-kernel.xml 12 May 2005 20:26:56 -0000 1.8 @@ -4,12 +4,12 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.0/hb-install-x86-kernel.xml,v 1.7 2005/04/07 18:20:45 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.0/hb-install-x86-kernel.xml,v 1.8 2005/05/12 20:26:56 neysx Exp $ --> <sections> -<version>4.4</version> -<date>2005-03-29</date> +<version>4.5</version> +<date>2005-05-12</date> <section> <title>Timezone</title> @@ -305,7 +305,8 @@ </pre> <p> -Now continue with <uri link="?part=1&chap=8">Configuring your System</uri>. +Now continue with <uri link="#kernel_modules">Configuring Kernel +Modules</uri>. </p> </body> @@ -405,10 +406,50 @@ # <i>rc-update add hotplug default</i> </pre> +</body> +</section> +<section id="kernel_modules"> +<title>Configuring Kernel Modules</title> +<subsection> +<title>Configuring the Modules</title> +<body> + +<p> +You should list the modules you want automatically loaded in +<path>/etc/modules.autoload.d/kernel-2.6</path> (or <path>kernel-2.4</path>). +You can add extra options to the modules too if you want. +</p> + +<p> +To view all available modules, run the following <c>find</c> command. Don't +forget to substitute "<kernel version>" with the version of the kernel you +just compiled: +</p> + +<pre caption="Viewing all available modules"> +# <i>find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko'</i> +</pre> + +<p> +For instance, to automatically load the <c>3c59x.o</c> module, edit the +<path>kernel-2.6</path> (or <path>kernel-2.4</path>) file and enter the module +name in it. +</p> + +<pre caption="Editing /etc/modules.autoload.d/kernel-2.6"> +<comment>(Example for 2.6 kernels)</comment> +# <i>nano -w /etc/modules.autoload.d/kernel-2.6</i> +</pre> + +<pre caption="/etc/modules.autoload.d/kernel-2.6"> +3c59x +</pre> + <p> Now continue with <uri link="?part=1&chap=8">Configuring your System</uri>. </p> </body> +</subsection> </section> </sections> -- [email protected] mailing list
