OVH Cloud OVH Cloud

Installation drivers NVidia

6 réponses
Avatar
noone
Bonjour,

j'ai une Mdk 10 Official Powerpack

j'ai mis à jour le kernel et je n'ai donc plus le support de la 3D.

Le kernel est :
# uname -r
2.6.3-16mdk

Les sources du kernel
# cd /usr/src/
# ls -l
total 8
lrwxrwxrwx 1 root root 17 sep 1 19:52 linux -> linux-2.6.3-16mdk/
drwxr-xr-x 20 root root 4096 sep 23 17:50 linux-2.6.3-16mdk/
drwxr-xr-x 7 root root 4096 jun 21 19:59 RPM/

J'ai tué X par
service dm stop
CTRL + ALT + BACKSPACE

Puis en console j'ai lancé :
sh NVIDIA...

J'ai eu un pb de conflit avec le module "rivafb"...
J'ai donc ajouté "alias rivafb off" au fichier /etc/modules.conf

J'ai relancé l'install du driver... je n'ai plus la même erreur...
Mais une autre...
Voici le contenu de /var/log/nvidia-installer.log


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Sep 23 18:29:00 2004

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /root/tmp
ftp site : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you
li
ke the installer to attempt to download a kernel interface for your
kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp
site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/lib/modules/2.6.3-16mdk/build'
-> Performing cc_version_check with CC="cc".
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the appropriate nvidia-installer command line option.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find
suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.



J'avoue que je ne vois pas d'où viens le problème...

Merci de m'aider

@+

PS : je ne suis un habitué de la compilation du kernel... histoire de
goût ;-)

6 réponses

Avatar
g2lx
La compilation du dernier NVIDIA pose pb avec le kernel 2.6.3-15mdk
(enfin les sources koa).

Velà la solution trouvée sur mandrakeuser.org par Lassie

------------------------------------------------------
Here's a tip for anyone that has trouble compiling the Nvidia 6111
IA32 driver for Linux with a modified/self-compiled MDK kernel. Before
we begin, though, I recommend you run Mandrake Update and grab the
latest XFree86 RPMs if you have not already done so.

If you run into a compilation error that asks you to run 'make
mrproper' in your kernel source tree DO NOT DO SO.

Simply rerun the driver installer with the '--add-this-kernel' option
(i.e. # ./NVIDIA-Linux-x86-1.0-6111-pkg1.run --add-this-kernel). This
will repackage the installer as a new file named
'NVIDIA-Linux-x86-1.0-6111-pkg1-custom.run'.

Then run the custom installer (i.e.
'./NVIDIA-Linux-x86-1.0-6111-pkg1-custom.run') and it will
successfully build and install the driver.

Note : idem pour la 2.6.3-16
Avatar
noone
g2lx wrote:

La compilation du dernier NVIDIA pose pb avec le kernel 2.6.3-15mdk
(enfin les sources koa).

Velà la solution trouvée sur mandrakeuser.org par Lassie

------------------------------------------------------
Here's a tip for anyone that has trouble compiling the Nvidia 6111
IA32 driver for Linux with a modified/self-compiled MDK kernel. Before
we begin, though, I recommend you run Mandrake Update and grab the
latest XFree86 RPMs if you have not already done so.

If you run into a compilation error that asks you to run 'make
mrproper' in your kernel source tree DO NOT DO SO.

Simply rerun the driver installer with the '--add-this-kernel' option
(i.e. # ./NVIDIA-Linux-x86-1.0-6111-pkg1.run --add-this-kernel). This
will repackage the installer as a new file named
'NVIDIA-Linux-x86-1.0-6111-pkg1-custom.run'.

Then run the custom installer (i.e.
'./NVIDIA-Linux-x86-1.0-6111-pkg1-custom.run') and it will
successfully build and install the driver.

Note : idem pour la 2.6.3-16



Merci pour l'info j'essaye ça !
Avatar
Nikoo
wrote:
Bonjour,

j'ai une Mdk 10 Official Powerpack

j'ai mis à jour le kernel et je n'ai donc plus le support de la 3D.

Le kernel est :
# uname -r
2.6.3-16mdk

Les sources du kernel
# cd /usr/src/
# ls -l
total 8
lrwxrwxrwx 1 root root 17 sep 1 19:52 linux -> linux-2.6.3-16mdk/
drwxr-xr-x 20 root root 4096 sep 23 17:50 linux-2.6.3-16mdk/
drwxr-xr-x 7 root root 4096 jun 21 19:59 RPM/

J'ai tué X par
service dm stop
CTRL + ALT + BACKSPACE

Puis en console j'ai lancé :
sh NVIDIA...

J'ai eu un pb de conflit avec le module "rivafb"...
J'ai donc ajouté "alias rivafb off" au fichier /etc/modules.conf

J'ai relancé l'install du driver... je n'ai plus la même erreur...
Mais une autre...
Voici le contenu de /var/log/nvidia-installer.log


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Sep 23 18:29:00 2004

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /root/tmp
ftp site : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you
li
ke the installer to attempt to download a kernel interface for your
kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp
site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/lib/modules/2.6.3-16mdk/build'
-> Performing cc_version_check with CC="cc".
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the appropriate nvidia-installer command line option.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find
suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.



J'avoue que je ne vois pas d'où viens le problème...

Merci de m'aider

@+

PS : je ne suis un habitué de la compilation du kernel... histoire de
goût ;-)






ENCORE UNE FOIS depuis les noyaux 2.6.x, les modif à faire sont dans
/etc/modprobe.conf et /etc/modprobe.preload à la place de
/etc/modules.conf et de /etc/modprobe.preload RESPECTIVEMENT.

Ensuite, vu l'erreur
----------------------------------
-> Kernel source path: '/lib/modules/2.6.3-16mdk/build'
> -> Performing cc_version_check with CC="cc".
> ERROR: If you are using a Linux 2.4 kernel, please make sure
> you either have configured kernel sources matching your
> kernel or the correct set of kernel headers installed
> on your system.
------------------------------------

Tu as peut-être les sources 2.6.3-16, mais tu n'as pas booté sur un
noyau 2.6 mais 2.4 , qui est le noyau par défaut vers lequel pointe
l'entree "linux" qui est par défaut dans lilo, au démarrage de ton ordi.

Quand tu fais une mise à jour de kernel, SEULES LES SOURCES SONT MISES A
JOUR. Tu dois installer le rpm du nouveau noyau TOI-MEME, en le
récupérant sur un site ftp de Mandrake (celui de mise à jour
/official/updates/10.0).

Ensuite, boot sur ton 2.6, et relance l'installation du driver NVIDIA.
Et fait les modif qu'il faut LA OU IL FAUT. (/etc/modprobe...... et
éventuellement /etc/X11/XF86Config~4 pour les noyaux 2.6.3-xmdk car à
partir du 2.6.8.1-10mdk, c dans /etc/X11/xorg.conf)

Bye.
Avatar
Nikoo
ah oui, j'oubliais aussi que l'option --add-this-kernel est requise avec
la commande d'installation pour les drivers 6106 et 6111.
Avatar
noone
Le Thu, 23 Sep 2004 20:28:20 +0200, Nikoo a écrit :

ah oui, j'oubliais aussi que l'option --add-this-kernel est requise avec
la commande d'installation pour les drivers 6106 et 6111.




Merci ça marche (mais la police est moche !)
Avatar
noone
Le Thu, 23 Sep 2004 20:14:00 +0200, a écrit :

g2lx wrote:

La compilation du dernier NVIDIA pose pb avec le kernel 2.6.3-15mdk
(enfin les sources koa).

Velà la solution trouvée sur mandrakeuser.org par Lassie

------------------------------------------------------
Here's a tip for anyone that has trouble compiling the Nvidia 6111
IA32 driver for Linux with a modified/self-compiled MDK kernel. Before
we begin, though, I recommend you run Mandrake Update and grab the
latest XFree86 RPMs if you have not already done so.

If you run into a compilation error that asks you to run 'make
mrproper' in your kernel source tree DO NOT DO SO.

Simply rerun the driver installer with the '--add-this-kernel' option
(i.e. # ./NVIDIA-Linux-x86-1.0-6111-pkg1.run --add-this-kernel). This
will repackage the installer as a new file named
'NVIDIA-Linux-x86-1.0-6111-pkg1-custom.run'.

Then run the custom installer (i.e.
'./NVIDIA-Linux-x86-1.0-6111-pkg1-custom.run') and it will
successfully build and install the driver.

Note : idem pour la 2.6.3-16



Merci pour l'info j'essaye ça !




Impec ça roule !
Mais la police est moche !