PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > NVIDIA card & lenny
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

NVIDIA card & lenny

Réponse
 
LinkBack Outils de la discussion
Vieux 13/11/2007, 16h30   #1
Paul Cartwright
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut NVIDIA card & lenny

I just did the dist-upgrade to Lenny ( I love a challenge
when it came up after a reboot, of course it went to the text login prompt, no
KDM. I'm used to that, this is my 2nd DELL desktop running linux with NVIDIA
graphics cards..
it seems envy isn't supported yet in lenny, and I can't get the NVIDIA*.run to
work. it complained about GCC versions ( I don't remember the exact text).
I have this card:
"nVidia Corporation GeForce 7300 LE"

and this run file:
NVIDIA-Linux-x86-100.14.19-pkg1

and I'm running KDE and this:
k$ uname -a
Linux paulandcilla 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007 i686
GNU/Linux


I changed xorg.conf to "nv" from "nvidia" to get it working, but I'd like to
run the NVIDIA driver.
if there is a list for lenny or testing or another list I should be asking in,
please point me tuit, thanks.

--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 13/11/2007, 19h20   #2
Florian Kulzer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: NVIDIA card & lenny

On Tue, Nov 13, 2007 at 11:26:48 -0500, Paul Cartwright wrote:
> I just did the dist-upgrade to Lenny ( I love a challenge
> when it came up after a reboot, of course it went to the text login prompt, no
> KDM. I'm used to that, this is my 2nd DELL desktop running linux with NVIDIA
> graphics cards..
> it seems envy isn't supported yet in lenny, and I can't get the NVIDIA*.run to
> work. it complained about GCC versions ( I don't remember the exact text).


We need to see the exact text; there is no point in wasting our time
guessing. Just copy the relevant part of the installer log.

> I have this card:
> "nVidia Corporation GeForce 7300 LE"
>
> and this run file:
> NVIDIA-Linux-x86-100.14.19-pkg1
>
> and I'm running KDE and this:
> k$ uname -a
> Linux paulandcilla 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007 i686
> GNU/Linux


You won't have an nvidia module for this kernel until the installer
script runs without errors.

> I changed xorg.conf to "nv" from "nvidia" to get it working, but I'd like to
> run the NVIDIA driver.
> if there is a list for lenny or testing or another list I should be asking in,
> please point me tuit, thanks.


--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 13/11/2007, 19h50   #3
Paul Cartwright
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: NVIDIA card & lenny

On Tue November 13 2007, Florian Kulzer wrote:
> > it seems envy isn't supported yet in lenny, and I can't get the
> > NVIDIA*.run to work. it complained about GCC versions ( I don't remember
> > the exact text).

>
> We need to see the exact text; there is no point in wasting our time
> guessing. Just copy the relevant part of the installer log.
>
> > I have this card:
> > "nVidia Corporation GeForce 7300 LE"

-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> The CC version check failed:

The compiler used to compile the kernel (gcc 4.1) does not exactly match
the current compiler (gcc 4.2). The Linux 2.6 kernel module loader rejects
kernel modules built with a version of gcc that does not exactly match that
of the compiler used to build the running kernel.
If you know what you are doing and want to ignore the gcc version check,
select "No" to continue installation. Otherwise, select "Yes" to abort
install ation, set the CC environment variable to the name of the compiler
used to compile your kernel, and restart installation. Abort now? (Answer:
No)
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux
SUBDIRS=/tmp/selfgz4968/NVIDI
A-Linux-x86-100.14.19-pkg1/usr/src/nv modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
\
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf
are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to
fix it
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that
differs from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).
Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 Invalid module format
----------------------------------
is that enough info?





--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459
  Réponse avec citation
Vieux 13/11/2007, 20h50   #4
Florian Kulzer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: NVIDIA card & lenny

On Tue, Nov 13, 2007 at 14:44:33 -0500, Paul Cartwright wrote:

[...]

> > > it seems envy isn't supported yet in lenny, and I can't get the
> > > NVIDIA*.run to work. it complained about GCC versions ( I don't remember
> > > the exact text).


[...]

> > > I have this card:
> > > "nVidia Corporation GeForce 7300 LE"

> -> Performing CC sanity check with CC="cc".
> -> Performing CC version check with CC="cc".
> -> The CC version check failed:
>
> The compiler used to compile the kernel (gcc 4.1) does not exactly match
> the current compiler (gcc 4.2). The Linux 2.6 kernel module loader rejects
> kernel modules built with a version of gcc that does not exactly match that
> of the compiler used to build the running kernel.
> If you know what you are doing and want to ignore the gcc version check,
> select "No" to continue installation. Otherwise, select "Yes" to abort
> install ation, set the CC environment variable to the name of the compiler
> used to compile your kernel, and restart installation. Abort now? (Answer:
> No)
> NVIDIA: calling KBUILD...
> make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux
> SUBDIRS=/tmp/selfgz4968/NVIDI
> A-Linux-x86-100.14.19-pkg1/usr/src/nv modules
> test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
> \
> echo; \
> echo " ERROR: Kernel configuration is invalid."; \
> echo " include/linux/autoconf.h or include/config/auto.conf
> are missing."; \
> echo " Run 'make oldconfig && make prepare' on kernel srcto
> fix it
> -> Kernel module compilation complete.
> ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
> frequently when this kernel module was built against the wrong or
> improperly configured kernel sources, with a version of gcc that
> differs from the one used to build the target kernel, or if a driver suchas
> rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
> obtaining ownership of the NVIDIA graphics device(s).
> Please see the log entries 'Kernel module load error' and 'Kernel
> messages' at the end of the file '/var/log/nvidia-installer.log' for
> more information.
> -> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
> -1 Invalid module format
> ----------------------------------
> is that enough info?


Yes, it is. Install the gcc-4.1 package if it is not on your system
already. Then run

export CC=gcc-4.1

right before you try the installer again. That should allow it to
compile the module and insert it into the kernel. If there are other
difficulties post the new error messages. I think you might still be
missing the linux-headers-* package for your new kernel.

If the installer finishes without errors and nevertheless your X will
not start then we need to see the output of

egrep '^\((EE|WW)\)' /var/log/Xorg.0.log

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
  Réponse avec citation
Vieux 13/11/2007, 21h00   #5
Bogdan Marian
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: NVIDIA card & lenny

Florian Kulzer wrote:
> On Tue, Nov 13, 2007 at 14:44:33 -0500, Paul Cartwright wrote:
>
> [...]
>
>
>>>> it seems envy isn't supported yet in lenny, and I can't get the
>>>> NVIDIA*.run to work. it complained about GCC versions ( I don't remember
>>>> the exact text).
>>>>

>
> [...]
>
>
>>>> I have this card:
>>>> "nVidia Corporation GeForce 7300 LE"
>>>>

>> -> Performing CC sanity check with CC="cc".
>> -> Performing CC version check with CC="cc".
>> -> The CC version check failed:
>>
>> The compiler used to compile the kernel (gcc 4.1) does not exactly match
>> the current compiler (gcc 4.2). The Linux 2.6 kernel module loader rejects
>> kernel modules built with a version of gcc that does not exactly match that
>> of the compiler used to build the running kernel.
>> If you know what you are doing and want to ignore the gcc version check,
>> select "No" to continue installation. Otherwise, select "Yes" to abort
>> install ation, set the CC environment variable to the name of the compiler
>> used to compile your kernel, and restart installation. Abort now? (Answer:
>> No)
>> NVIDIA: calling KBUILD...
>> make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux
>> SUBDIRS=/tmp/selfgz4968/NVIDI
>> A-Linux-x86-100.14.19-pkg1/usr/src/nv modules
>> test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
>> \
>> echo; \
>> echo " ERROR: Kernel configuration is invalid."; \
>> echo " include/linux/autoconf.h or include/config/auto.conf
>> are missing."; \
>> echo " Run 'make oldconfig && make prepare' on kernel src to
>> fix it
>> -> Kernel module compilation complete.
>> ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
>> frequently when this kernel module was built against the wrong or
>> improperly configured kernel sources, with a version of gcc that
>> differs from the one used to build the target kernel, or if a driver such as
>> rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
>> obtaining ownership of the NVIDIA graphics device(s).
>> Please see the log entries 'Kernel module load error' and 'Kernel
>> messages' at the end of the file '/var/log/nvidia-installer.log' for
>> more information.
>> -> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
>> -1 Invalid module format
>> ----------------------------------
>> is that enough info?
>>

>
> Yes, it is. Install the gcc-4.1 package if it is not on your system
> already. Then run
>
> export CC=gcc-4.1
>
> right before you try the installer again. That should allow it to
> compile the module and insert it into the kernel. If there are other
> difficulties post the new error messages. I think you might still be
> missing the linux-headers-* package for your new kernel.
>
> If the installer finishes without errors and nevertheless your X will
> not start then we need to see the output of
>
> egrep '^\((EE|WW)\)' /var/log/Xorg.0.log
>
>

Hello,

I tried to do exactly what you are but with no luck ... The only
thing i did not try was to export the gcc 4.1. That might ...

Bogdan

  Réponse avec citation
Vieux 13/11/2007, 21h20   #6
Paul Cartwright
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: NVIDIA card & lenny

On Tue November 13 2007, Florian Kulzer wrote:
> > is that enough info?

>
> Yes, it is. Install the gcc-4.1 package if it is not on your system
> already. Then run
>
> export CC=gcc-4.1


well, it went further insto the process, but still bombed out at the
nvidia.ko :
-> Performing CC version check with CC="gcc-4.1".

NVIDIA: calling KBUILD...
make CC=gcc-4.1 KBUILD_VERBOSE=1 -C /usr/src/linux
SUBDIRS=/tmp/selfgz11601
/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
\
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf
are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to
fix it
."; \
echo; \
/bin/false)


-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that
differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).

Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 Invalid module format
-------------------
there is no /usr/src/nv...
ls /usr/src
linux
linux-2.6.18.4
linux-headers-2.6.18-4
linux-headers-2.6.18-4-686
linux-headers-2.6.18-5
linux-headers-2.6.18-5-686
linux-kbuild-2.6.18
linux-OLDVERSION.1191720673
modules
nvidia-kernel-2.6.18-5-686_100.14.20+2.6.18.dfsg.1-13etch3_i386.deb
nvidia-kernel-source.tar.gz
pbc@paulandcilla:/var/log$



--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 13/11/2007, 21h30   #7
Paul Cartwright
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: NVIDIA card & lenny

On Tue November 13 2007, Florian Kulzer wrote:
> If the installer finishes without errors and nevertheless your X will
> not start then we need to see the output of
>
> egrep '^\((EE|WW)\)' /var/log/Xorg.0.log


installing the headers got me to finish teh NVIDIA...run, but X still didn't
start.
$ egrep '^\((EE|WW)\)' /var/log/Xorg.0.log
(WW) The directory "/usr/X11R6/lib/X11/fonts/misc" does not exist.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi/" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/75dpi/" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/Type1" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/75dpi" does not exist.
(WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not
exist.
(WW) Including the default font
path /usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType.
(WW) NV(0): Failed to set up write-combining range (0xc0000000,0x8000000)
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
pbc@paulandcilla:~$
-------------
this may be part of my OTHER issue, where my .xsession-errors file grows so
big so fast, I think because of FONTS... ( anotehr thread..)



--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 14/11/2007, 13h50   #8
Florian Kulzer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: NVIDIA card & lenny

On Tue, Nov 13, 2007 at 16:23:29 -0500, Paul Cartwright wrote:
> On Tue November 13 2007, Florian Kulzer wrote:
> > If the installer finishes without errors and nevertheless your X will
> > not start then we need to see the output of
> >
> > egrep '^\((EE|WW)\)' /var/log/Xorg.0.log

>
> installing the headers got me to finish teh NVIDIA...run, but X still didn't
> start.
> $ egrep '^\((EE|WW)\)' /var/log/Xorg.0.log
> (WW) The directory "/usr/X11R6/lib/X11/fonts/misc" does not exist.


[ snip: similar warnings for the other depreciated font paths ]

> (WW) Including the default font path /usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType.


These are all harmless; you probably still have the old font paths in
your xorg.conf. The new ones start with "/usr/share/" instead of
"/usr/X11R6/lib/X11/". You can change them or comment them out
completely, since the new Xorg includes the default font paths
automatically (see the last message above).

> (WW) NV(0): Failed to set up write-combining range (0xc0000000,0x8000000)


Did you change all instances of "nv" to "nvidia" in your xorg.conf
before you restarted the X server (or restarted [kgx]dm if you use
graphical log-in)?

> (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)


It seems that Xorg is trying to use nvidia's glx module together with
the old nv driver. Make sure you changed "nv" to "nvidia" in xorg.conf
and restart the server.

If that does not then I would like to see the output of the
following commands:

grep -i glx /var/log/Xorg.0.log

ls -l /usr/lib/xorg/modules/extensions/

ls -l /usr/lib/libGL.*

file /usr/lib/xorg/modules/drivers/nvidia*

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 00h01.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,45871 seconds with 16 queries