neysx 05/06/04 11:01:24 Modified: xml/htdocs/doc/en nvidia-guide.xml Log: #94957 Be more explicit about the need to re-emerge nvida-kernel
Revision Changes Path 1.13 +55 -6 xml/htdocs/doc/en/nvidia-guide.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/nvidia-guide.xml?rev=1.13&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/nvidia-guide.xml?rev=1.13&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/nvidia-guide.xml.diff?r1=1.12&r2=1.13&cvsroot=gentoo Index: nvidia-guide.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/nvidia-guide.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- nvidia-guide.xml 9 Apr 2005 10:16:24 -0000 1.12 +++ nvidia-guide.xml 4 Jun 2005 11:01:24 -0000 1.13 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nvidia-guide.xml,v 1.12 2005/04/09 10:16:24 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nvidia-guide.xml,v 1.13 2005/06/04 11:01:24 neysx Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/nvidia-guide.xml"> @@ -8,6 +8,9 @@ <author title="Author"> <mail link="[EMAIL PROTECTED]">Sven Vermeulen</mail> </author> +<author title="Editor"> + <mail link="[EMAIL PROTECTED]">M Curtis Napier</mail> +</author> <abstract> Many Gentooists have an nVidia chipset on their system. nVidia provides specific @@ -17,8 +20,8 @@ <license/> -<version>1.9</version> -<date>2005-04-09</date> +<version>1.10</version> +<date>2005-06-04</date> <chapter> <title>Configuring your Card</title> @@ -51,14 +54,60 @@ <p> nVidia's modules and libraries are combined in two packages: <c>nvidia-glx</c> and <c>nvidia-kernel</c>. The former are the X11 GLX libraries while the latter -are the kernel modules. Since <c>nvidia-glx</c> depends on <c>nvidia-kernel</c>, -installing <c>nvidia-glx</c> is sufficient: +are the kernel modules. +</p> + +<p> +The nvidia-kernel ebuild auto discovers your kernel version based on the +<path>/usr/src/linux</path> symlink. Please ensure that you have this symlink +pointing to the correct sources and that your kernel is correctly configured. +Please refer to the Configuring the Kernel section of the <uri +link="/doc/en/handbook/">Installation Handbook</uri> for details on configuring +your kernel. +</p> + +<p> +If you are using gentoo-sources-2.6.11-r6, your symlink should look like this: +</p> + +<pre caption="Check your /usr/src/linux symlink"> +# <i>cd /usr/src</i> +# <i>ls -l</i> +<comment>(Check that linux point to the right directory)</comment> +lrwxrwxrwx 1 root root 22 Apr 23 18:33 linux -> linux-2.6.11-gentoo-r6 +drwxr-xr-x 4 root root 120 Apr 8 18:56 linux-2.4.26-gentoo-r4 +drwxr-xr-x 18 root root 664 Dec 31 16:09 linux-2.6.10 +drwxr-xr-x 18 root root 632 Mar 3 12:27 linux-2.6.11 +drwxr-xr-x 19 root root 4096 Mar 16 22:00 linux-2.6.11-gentoo-r6 +</pre> + +<p> +If the symlink is not pointing to the correct sources, you may create the link +like this: +</p> + +<pre caption="Create /usr/src/linux symlink"> +# <i>cd /usr/src</i> +# <i>ln -snf linux-2.6.11-gentoo-r6 linux</i> +</pre> + +<p> +Now it's time to install <c>nvidia-kernel</c> and <c>nvidia-glx</c>. Since +<c>nvidia-glx</c> depends on <c>nvidia-kernel</c>, installing <c>nvidia-glx</c> +is sufficient: </p> <pre caption="Installing the nVidia modules"> # <i>emerge nvidia-glx</i> </pre> +<impo> +Every time you <uri link="/doc/en/kernel-upgrade.xml">compile a new +kernel</uri> or recompile the current one, you have to run <c>emerge +nvidia-kernel</c> to reinstall the nVidia modules. nvidia-glx is unaffected by +a kernel change. +</impo> + <p> Once the installation has finished, run <c>modprobe nvidia</c> to load the kernel module into memory. @@ -71,7 +120,7 @@ <p> You probably want to have this done each time you boot your system, so edit <path>/etc/modules.autoload.d/kernel-2.6</path> (or <path>kernel-2.4</path>) and -add <c>nvidia</c> to it. Don't forget to run <c>modules-update</c> afterwards! +add <c>nvidia</c> to it. Don't forget to run <c>modules-update</c> afterwards. </p> <pre caption="Running modules-update"> -- [email protected] mailing list
