Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[emerge] Les drivers nvidia echoue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Mathieu_R1
n00b
n00b


Joined: 03 Sep 2006
Posts: 35

PostPosted: Sun Nov 26, 2006 11:02 am    Post subject: [emerge] Les drivers nvidia echoue Reply with quote

Bonjour,
J'ai un problème avec l'installation de nvidia, je ne comprend pas pourquoi il me fait ça.
Quote:
mat src # emerge nvidia-drivers
Calculating dependencies... done!

>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-1.0.8776 to /
* NVIDIA-Linux-x86-1.0-8776-pkg0.run MD5 ; -) ... [ ok ]
* NVIDIA-Linux-x86-1.0-8776-pkg0.run RMD160 ; -) ... [ ok ]
* NVIDIA-Linux-x86-1.0-8776-pkg0.run SHA1 ; -) ... [ ok ]
* NVIDIA-Linux-x86-1.0-8776-pkg0.run SHA256 ; -) ... [ ok ]
* NVIDIA-Linux-x86-1.0-8776-pkg0.run size ; -) ... [ ok ]
* checking ebuild checksums ; -) ... [ ok ]
* checking auxfile checksums ; -) ... [ ok ]
* checking miscfile checksums ; -) ... [ ok ]
* checking NVIDIA-Linux-x86-1.0-8776-pkg0.run ; -) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.

!!! ERROR: x11-drivers/nvidia-drivers-1.0.8776 failed.
Call stack:
ebuild.sh, line 1562: Called dyn_setup
ebuild.sh, line 665: Called pkg_setup
nvidia-drivers-1.0.8776.ebuild, line 106: Called linux-mod_pkg_setup
linux-mod.eclass, line 432: Called linux-info_pkg_setup
linux-info.eclass, line 554: Called die

!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, and the call stack if relevant.

mat src # modprobe nvidia
FATAL: Module nvidia not found.


Qqn aurait une solution a me proposé car la je n'en peux plus. Ma carte est une MSI GeForce Ti4200
_________________
Mon Siteweb | Mon blog | Mon projet : Mangakos
Mathieu Alexandre ROIZOT // Developpeur Web et Designeur, le tout Amateur.
Back to top
View user's profile Send private message
nost4r
Apprentice
Apprentice


Joined: 08 Oct 2006
Posts: 164
Location: Bordeaux

PostPosted: Sun Nov 26, 2006 11:08 am    Post subject: Reply with quote

Tu as le bon lien symbolique de ton noyau sur usr/src/linux ?
Back to top
View user's profile Send private message
Mathieu_R1
n00b
n00b


Joined: 03 Sep 2006
Posts: 35

PostPosted: Sun Nov 26, 2006 12:19 pm    Post subject: Reply with quote

Quote:
mat mathieu # cd /usr/src
mat src # ls -l
total 4
lrwxrwxrwx 1 root root 22 sep 16 19:24 linux -> linux-2.6.17-gentoo-r5
drwxr-xr-x 19 root root 4096 sep 16 19:24 linux-2.6.17-gentoo-r5

_________________
Mon Siteweb | Mon blog | Mon projet : Mangakos
Mathieu Alexandre ROIZOT // Developpeur Web et Designeur, le tout Amateur.
Back to top
View user's profile Send private message
galerkin
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2006
Posts: 115
Location: /dev/toulouse

PostPosted: Sun Nov 26, 2006 12:23 pm    Post subject: Reply with quote

Peux tu nous donner :

Code:

ls -l /usr/src/linux/.config


et emerge --info STP
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Sun Nov 26, 2006 12:45 pm    Post subject: Reply with quote

salut,

tes sources sont-elles configurées ?

Sinon, si tu as le /proc/config.gz support, tu peux faire :
Code:
zcat /proc/config.gz > /usr/src/linux/.config

_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
Mathieu_R1
n00b
n00b


Joined: 03 Sep 2006
Posts: 35

PostPosted: Tue Nov 28, 2006 9:12 pm    Post subject: Reply with quote

Désoler du retard, je n'est pas pus aller sur le PC depuis.

Alors voila :
Quote:
mat mathieu # zcat /proc/config.gz > /usr/src/linux/.config
mat mathieu # ls -l /usr/src/linux/.config
-rw-r--r-- 1 root root 46883 nov 28 22:19 /usr/src/linux/.config

_________________
Mon Siteweb | Mon blog | Mon projet : Mangakos
Mathieu Alexandre ROIZOT // Developpeur Web et Designeur, le tout Amateur.
Back to top
View user's profile Send private message
bivittatus
l33t
l33t


Joined: 31 Jan 2006
Posts: 687
Location: Roissy-en-Brie (France)

PostPosted: Tue Nov 28, 2006 9:24 pm    Post subject: Reply with quote

Et l'emerge des drivers nvidia te donne quoi maintenant?
_________________
Linus TORVALDS: "Je ne suis pas là pour détruire Microsoft. Ce sera juste un effet secondaire tout à fait involontaire."
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Tue Nov 28, 2006 9:28 pm    Post subject: Reply with quote

tente un
Code:
make modules_prepare
avant d'emerger les modules nvidia.
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
Mathieu_R1
n00b
n00b


Joined: 03 Sep 2006
Posts: 35

PostPosted: Tue Nov 28, 2006 10:04 pm    Post subject: Reply with quote

Quote:
* checking NVIDIA-Linux-x86-1.0-8776-pkg0.run ;-) ... [ ok ] * Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.17-gentoo-r5
* These sources have not yet been prepared.
* We cannot build against an unprepared tree.
* To resolve this, please type the following:
*
* # cd /usr/src/linux
* # make oldconfig
* # make modules_prepare
*
* Then please try merging this module again.

!!! ERROR: x11-drivers/nvidia-drivers-1.0.8776 failed.
Call stack:
ebuild.sh, line 1562: Called dyn_setup
ebuild.sh, line 665: Called pkg_setup
nvidia-drivers-1.0.8776.ebuild, line 106: Called linux-mod_pkg_setup
linux-mod.eclass, line 433: Called check_kernel_built
linux-info.eclass, line 368: Called die

!!! Kernel sources need compiling first
!!! If you need support, post the topmost build error, and the call stack if relevant.

Quote:
mat mathieu # make modules_prepare
make: *** Pas de règle pour fabriquer la cible « modules_prepare ». Arrêt.


Puis comme meme la meme erreur... :cry:
_________________
Mon Siteweb | Mon blog | Mon projet : Mangakos
Mathieu Alexandre ROIZOT // Developpeur Web et Designeur, le tout Amateur.
Back to top
View user's profile Send private message
nemo13
Veteran
Veteran


Joined: 08 Oct 2004
Posts: 1016
Location: France/Istres

PostPosted: Tue Nov 28, 2006 10:08 pm    Post subject: Reply with quote

Bonsoir,
t'es pas loin
Quote:
* # cd /usr/src/linux
* # make oldconfig
* # make modules_prepare
Quote:
!!! Kernel sources need compiling first
Back to top
View user's profile Send private message
titoucha
Advocate
Advocate


Joined: 21 Jul 2005
Posts: 2374
Location: Genève

PostPosted: Wed Nov 29, 2006 5:20 am    Post subject: Reply with quote

Je regarderais quand même la version du noyau que tu utilises avec
Code:
uname -a
car la dernière version stable du noyau est la 2.6.18-r3 et je crains qu'il y ait une confusion entre la version installée et celle que tu essayes de compiler.
Back to top
View user's profile Send private message
nemo13
Veteran
Veteran


Joined: 08 Oct 2004
Posts: 1016
Location: France/Istres

PostPosted: Wed Nov 29, 2006 1:50 pm    Post subject: Reply with quote

titoucha wrote:
Je regarderais quand même la version du noyau que tu utilises avec
Code:
uname -a
car la dernière version stable du noyau est la 2.6.18-r3 et je crains qu'il y ait une confusion entre la version installée et celle que tu essayes de compiler.

Bonjour,
sans aller à lui faire installer 2.6.18-r3 , il est fort probable que sont noyau "tournant " soit anterieur à
Quote:
mat mathieu # cd /usr/src
mat src # ls -l
total 4
lrwxrwxrwx 1 root root 22 sep 16 19:24 linux -> linux-2.6.17-gentoo-r5
drwxr-xr-x 19 root root 4096 sep 16 19:24 linux-2.6.17-gentoo-r5

d'où les messages d'erreurs ...et les conseils qui lui sont prodigués.
Il a à priori toutes les infos utiles. ( avec celle-ci si besoin )
A+
Back to top
View user's profile Send private message
Mathieu_R1
n00b
n00b


Joined: 03 Sep 2006
Posts: 35

PostPosted: Wed Nov 29, 2006 4:57 pm    Post subject: Reply with quote

Oui, c'était marqué, il n'y a juste la révision qui a changé entre temps...
Quote:
mathieu@mat:~$ uname -a
Linux mat 2.6.17-gentoo-r7 #1 SMP Tue Aug 29 01:48:00 UTC 2006 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz GNU/Linux

Je fait un
Quote:
emerge -Dup world
emerge -u gentoo-sources

Je vais essayer de voir ce que ca donne :oops:
_________________
Mon Siteweb | Mon blog | Mon projet : Mangakos
Mathieu Alexandre ROIZOT // Developpeur Web et Designeur, le tout Amateur.
Back to top
View user's profile Send private message
titoucha
Advocate
Advocate


Joined: 21 Jul 2005
Posts: 2374
Location: Genève

PostPosted: Wed Nov 29, 2006 5:44 pm    Post subject: Reply with quote

Ce que je voulais dire c'est qu'il faut que le noyau que tu as avec uname -a soit identique avec celui que tu pointes avec le lien /usr/src/linux
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Nov 29, 2006 6:02 pm    Post subject: Reply with quote

Code:

# ln -sfn /usr/src/linux-2.6.17-gentoo-r5 /usr/src/linux
Back to top
View user's profile Send private message
Mathieu_R1
n00b
n00b


Joined: 03 Sep 2006
Posts: 35

PostPosted: Wed Nov 29, 2006 6:05 pm    Post subject: Reply with quote

alors voila le résultat :
Quote:
* Updating module dependencies for 2.6.17-gentoo-r8 ... [ ok ]

Quote:
>>> Regenerating /etc/ld.so.cache...
>>> x11-drivers/nvidia-drivers-1.0.8776 merged.
>>> Recording x11-drivers/nvidia-drivers in "world" favorites file...

Le probleme c'est que :
Quote:
mathieu@mat:~$ uname -a
Linux mat 2.6.17-gentoo-r7 #1 SMP Tue Aug 29 01:48:00 UTC 2006 i686 Intel(R) Pen tium(R) 4 CPU 3.06GHz GNU/Linux

apparament :
Quote:
lrwxrwxrwx 1 root root 22 nov 29 18:19 linux -> linux-2.6.17-gentoo-r8
drwxr-xr-x 19 root root 4096 nov 28 22:19 linux-2.6.17-gentoo-r5
drwxr-xr-x 20 root root 4096 nov 29 18:53 linux-2.6.17-gentoo-r8

j'ai 3 révisions differente ? que fous le r7 dans le uname... 8O
Au moins maintenant j'ai les drivers nvidia...
_________________
Mon Siteweb | Mon blog | Mon projet : Mangakos
Mathieu Alexandre ROIZOT // Developpeur Web et Designeur, le tout Amateur.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum