LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-30-2007, 01:14 PM   #1
myrdos2
LQ Newbie
 
Registered: May 2007
Posts: 12

Rep: Reputation: 0
NVidia Module Not Found


I'm using Debian Lenny, and my NVidia driver was working well. Today I booted it up, and got a bunch of colourful garbage on my screen. Ctrl-Alt-F1 to a console was also filled with undecipherable garbage.

I logged in remotely, and reinstalled the NVidia drivers. Now when I run X, I get:
Quote:
(EE) Failed to load module "nvidia" (module does not exist, 0)
I took a peek inside of /usr/lib/xorg/modules/drivers, and found the file was named nvidia_drv.o All the other files end in .so. When I renamed it to .so (What the hey, why not?), X gave me:
Quote:
(EE) Failed to load /usr/lib/xorg/modules/drivers//nvidia_drv.so
(EE) Failed to load module "nvidia" (loader failed, 7)
(EE) No drivers available
It looks like nvidia is loaded:
Quote:
lsmod | grep nv
nvidia 4549812 0
agpgart 29896 1 nvidia
i2c_core 19680 2 nvidia,i2c_i801
And here's how I installed it:
Quote:
apt-get install module-assistant gcc nvidia-kernel-common
m-a update
m-a prepare
m-a auto-install nvidia
apt-get install nvidia-glx
dpkg-reconfigure xserver-xorg
One last thing: I notice there's no Module section in xorg.conf, and dpkg-reconfigure xserver-xorg doesn't have a screen for it either. (It's where you specify v4l, dri, record, dbe, etc.) Is this as it should be? Or should I try manually creating one?
 
Old 07-01-2007, 02:25 PM   #2
armanox
Member
 
Registered: Sep 2005
Location: Baltimore, MD, USA
Distribution: Fedora, Gentoo, Debian, Slackware, IRIX, OS X
Posts: 192

Rep: Reputation: 32
Try getting the package off of nVidia's site to reinstall your driver. Until then use either the vesa driver or nv driver. To manually add the "nvidia" driver find the following part of /etc/X11/xorg.conf*:

Section "Device"
Identifier "nVidia GeForce 3"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection

and modify the driver line. If it says "nvidia" and not "nv" or "vesa", then it's trying to use the nvidia driver and failing. Also, check to see if you have the right nVidia driver. You may need the legacy driver to get it to work right again. I know that that threw me off when I upgraded the driver on my desktop.

*This section is copied straight out of my xorg.conf file, which may not match yours exactly. It may say Identifier "Generic Video Card" or "nVidia GeForce XXXX" since I have an old card. Also, your BusID may differ, especially on a newer system.
 
Old 07-01-2007, 04:31 PM   #3
glidermike
Member
 
Registered: Nov 2005
Location: Toronto Canada
Distribution: Debian
Posts: 90

Rep: Reputation: 16
I don't know if this is much help but here's what I did to fix a similar problem after an upgrade to "lenny".
My system was borked right after a re-boot, no screens found and when I tried to re-install the drivers "the debian way" it failed with some crap about module assistant not available ( uninstallable )
So faced with either running with the "nv" driver ( and thus no 3D) or a reinstall back to "etch" I decided to try something , I un-installed all of xorg, everything related to nvidia and then set my sources to "etch-stable" I reinstalled xserver-xorg (and all related packages) and then :

apt-get install module-assistant nvidia-kernel-common
m-a prepare
m-a auto-install nvidia
apt-get install nvidia-glx
in xorg.conf. I renamed the driver from nv back to nvidia and voila my desktop was back!
 
Old 07-02-2007, 03:12 AM   #4
djcs
Member
 
Registered: Jun 2006
Posts: 43

Rep: Reputation: 15
Similar Problems

I have had similar problems in the past.
Check this post out http://www.linuxquestions.org/questi...d.php?t=556930

and it has a simple little script there that may help you fix your problem.

There is also a way to specify where the path is meant to be for the xorg drivers rather than the xserver drivers, but i have lost the little piece of paper so i use my script method now to fix it.

DJ
 
Old 07-02-2007, 01:08 PM   #5
myrdos2
LQ Newbie
 
Registered: May 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Well, the nv driver has quit on me also. Not only did it give me a corrupt / garbled picture, but the computer locked up after a few seconds. I didn't even have enough time to set up the networking so I could log in remotely.

So instead of fighting with it (could've edited xorg using Knoppix), I started a re-install. Hopefully all my nvidia problems will be wiped away. If I finish and still run into problems, I'll start trying your solutions.

One last thing: is there supposed to be a Module section in xorg.conf? Or has that been obsoleted? Because mine was missing one, and dpkg-reconfigure xserver-xorg didn't have a Module page.

Thanks for all the help.
 
Old 07-02-2007, 06:18 PM   #6
luis14
Member
 
Registered: Jun 2006
Location: Des Moines
Distribution: Debian Lenny
Posts: 59

Rep: Reputation: 15
Just ran dpkg-reconfigure xserver-xorg - does not offer me module check boxes either.
I use the driver from Nvidia site which offers an auto revision of xorg.conf after driver install.
the only module listed is glx
I notice there is still a "files" section on xorg.conf but no font paths are listed.
I think xorg has changed a bit since I upgraded to lenny
I use Nvidia GeForce 6800 with the Nvidia 100.14.11 driver. All working well here, except I get a little tearing when moving windows quickly. From my xorg-conf:

Code:
   Section "Module"
    Load           "glx"
EndSection
 
Old 07-02-2007, 07:56 PM   #7
311Sam
Member
 
Registered: Nov 2003
Location: waco, tx
Distribution: slackware & kubuntu
Posts: 108

Rep: Reputation: 15
FYI

The current outdated version of the nvidia driver does not work with the new updated xserver in testing:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420177

I am saddened that this bug has not been stickied somewhere...

Just sit back and wait for the new driver. Just a couple of more days hopefully: http://bjorn.haxx.se/debian/testing....age=nvidia-glx
 
Old 07-03-2007, 10:01 AM   #8
lycan
Member
 
Registered: Jul 2007
Location: Kolkata, INDIA
Distribution: Debian Lenny
Posts: 51

Rep: Reputation: 15
Quote:
Originally Posted by 311Sam
FYI

The current outdated version of the nvidia driver does not work with the new updated xserver in testing:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420177

I am saddened that this bug has not been stickied somewhere...

Just sit back and wait for the new driver. Just a couple of more days hopefully: http://bjorn.haxx.se/debian/testing....age=nvidia-glx
You can do it anoother way.

1. Open terminal

2. #su
Password:

3. # cd /usr/lib/xorg/modules/drivers

4. # gcc -shared -o nvidia_drv.so nvidia_drv.o


Now install nvidia binary driver for debian and restart xserver. It works.
 
Old 07-03-2007, 11:05 AM   #9
311Sam
Member
 
Registered: Nov 2003
Location: waco, tx
Distribution: slackware & kubuntu
Posts: 108

Rep: Reputation: 15
Quote:
Originally Posted by lycan
You can do it anoother way.

1. Open terminal

2. #su
Password:

3. # cd /usr/lib/xorg/modules/drivers

4. # gcc -shared -o nvidia_drv.so nvidia_drv.o


Now install nvidia binary driver for debian and restart xserver. It works.
Yea I might go ahead and try that. I was waiting for the new driver to come down from unstable but it looks like today they updated the driver again so it will be atleast another 10 days...grr. Oh well

edit:

Ok it seemed to work. I updated to the new x-server and did
Code:
 cd /usr/lib/xorg/modules/drivers
 gcc -shared -o nvidia_drv.so nvidia_drv.o
Upon restarting X I got this error:

Code:
 X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Linux Debian
Current Operating System: Linux user 2.6.18-4-k7 #1 SMP Mon Mar 26 17:57:15 UTC 2007 i686
Build Date: 01 June 2007
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul  3 12:52:57 2007
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 97 of section DRI in file /etc/X11/xorg.conf
	Unexpected EOF. Missing EndSection keyword?
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
I don't know why. SO I disabled "load "dri"" in xorg.conf and everything seems fine. dri is even working somehow. Hmm

Last edited by 311Sam; 07-08-2007 at 07:00 PM.
 
Old 07-03-2007, 10:15 PM   #10
armanox
Member
 
Registered: Sep 2005
Location: Baltimore, MD, USA
Distribution: Fedora, Gentoo, Debian, Slackware, IRIX, OS X
Posts: 192

Rep: Reputation: 32
DRI works b/c it's enabled by default with the nvidia driver. You do not need to explicitly specify it.
 
Old 07-07-2007, 01:34 PM   #11
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Rep: Reputation: 32
so the fact that the nvidia driver isn't working is a problem with testing and not my incompetence when it comes to installing it?

when do you think it will get fixed?
 
Old 07-08-2007, 03:55 PM   #12
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Rep: Reputation: 32
I used the installer off of nvidia's website and it worked like a charm. If anyone else is having this problem, I would suggest going that route.
 
Old 07-08-2007, 04:30 PM   #13
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
I'm on lenny/sid and the latest driver version from nvidia's site is working like a charm here as well (version 100.14.11). Just want to let you people know something: if you have previously installed the driver "the debian way" (installing the nvidia-glx package and stuff), you probably need to purge the nvidia-glx package because its scripts remain in the system and will automatically delete the nvidia driver upon reboot (at least this is the way it used behave on etch, don't know whether it has changed or not); here's the code:

Code:
apt-get remove --purge nvidia-glx
After that, install the official nvidia driver from nvidia's website, edit your xorg.conf (if the installation doesn't do it by itself) and change 'nv' for 'nvidia'... hopefully it will work.

Last edited by Hungry ghost; 07-08-2007 at 04:35 PM.
 
Old 07-09-2007, 12:39 AM   #14
TheSmilingBandit
LQ Newbie
 
Registered: Jan 2007
Location: Frankfurt aM. Germany
Distribution: Debian Lenny
Posts: 22

Rep: Reputation: 15
I tried installing this driver the debian way first (using Lenny/Sid since Etch went stable), so I tried to purge the nvidia-glx package first, like odiseo77 recommended. All I got was this error message:

Code:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
Paket nvidia-glx ist nicht installiert, wird also auch nicht entfernt
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 209 nicht aktualisiert.
8 nicht vollständig installiert oder entfernt.
Es müssen 0B Archive geholt werden.
Nach dem Auspacken werden 0B Plattenplatz zusätzlich benutzt.
Richte texlive-common ein (2005.dfsg.3-1) ...
/var/lib/dpkg/info/texlive-common.postinst: line 118: /usr/share/tex-common/tetex-bin-upgrade: Datei oder Verzeichnis nicht gefunden
dpkg: Fehler beim Bearbeiten von texlive-common (--configure):
 Unterprozess post-installation script gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von texlive-base-bin:
 texlive-base-bin hängt ab von texlive-common (>= 2005.dfsg.2-1); aber:
  Paket texlive-common ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von texlive-base-bin (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von dvipdfmx:
 dvipdfmx hängt ab von tetex-bin | texlive-base-bin; aber:
  Paket tetex-bin ist nicht installiert.
  Paket texlive-base-bin ist noch nicht konfiguriert.
 dvipdfmx hängt ab von tetex-base | texlive-base-bin; aber:
  Paket tetex-base ist nicht installiert.
  Paket texlive-base-bin ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von dvipdfmx (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von texlive-doc-base:
 texlive-doc-base hängt ab von texlive-common (>= 2005.dfsg.2-1); aber:
  Paket texlive-common ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von texlive-doc-base (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von texlive-base:
 texlive-base hängt ab von texlive-doc-base; aber:
  Paket texlive-doc-base ist noch nicht konfiguriert.
 texlive-base hängt ab von texlive-base-bin; aber:
  Paket texlive-base-bin ist noch nicht konfiguriert.
 texlive-base hängt ab von texlive-common (>= 2005.dfsg.2-1); aber:
  Paket texlive-common ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von texlive-base (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von texlive-pdfetex:
 texlive-pdfetex hängt ab von texlive-base; aber:
  Paket texlive-base ist noch nicht konfiguriert.
 texlive-pdfetex hängt ab von texlive-common (>= 2005.dfsg.2-1); aber:
  Paket texlive-common ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von texlive-pdfetex (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von texlive-latex-base:
 texlive-latex-base hängt ab von texlive-pdfetex; aber:
  Paket texlive-pdfetex ist noch nicht konfiguriert.
 texlive-latex-base hängt ab von texlive-common (>= 2005.dfsg.2-1); aber:
  Paket texlive-common ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von texlive-latex-base (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von kile:
 kile hängt ab von texlive-latex-base; aber:
  Paket texlive-latex-base ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von kile (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
Fehler traten auf beim Bearbeiten von:
 texlive-common
 texlive-base-bin
 dvipdfmx
 texlive-doc-base
 texlive-base
 texlive-pdfetex
 texlive-latex-base
 kile
E: Sub-process /usr/bin/dpkg returned an error code (1)
I hope you guys can read this, as it is written in german. Basically apt refuses to purge the package for not being able to edit/configure the packages listed. I don't really understand what texlive-packages have to do with nvidia-glx, anyway... however, shall I purge these packages first? I don't really erquire them at the moment anyway.
Then I tried to to install the NVIDIA driver (after I shut down X using Strg+Alt+Backspace) as suggested by the README on www.nvidia.com, resulting in an error concerning the kernel module (the driver wasn't able to compile one).
Here is the end of my /var/log/nvidia-installer.log:

Code:
       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 No such device
-> Kernel messages:
   device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised:
   dm-devel@redhat.com
   kjournald starting.  Commit interval 5 seconds
   EXT3 FS on sda4, internal journal
   EXT3-fs: mounted filesystem with ordered data mode.
   eth0:  setting full-duplex.
   NET: Registered protocol family 10
   lo: Disabled Privacy Extensions
   IPv6 over IPv4 tunneling driver
   ACPI: Power Button (FF) [PWRF]
   ACPI: Power Button (CM) [PWRB]
   ACPI: Sleep Button (CM) [SLPB]
   lp0: using parport0 (interrupt-driven).
   ppdev: user-space parallel port driver
   NET: Registered protocol family 5
   eth0: no IPv6 routers present
   Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
   NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
   NFSD: starting 90-second grace period
   nvidia: module license 'NVIDIA' taints kernel.
   NVRM: The NVIDIA GeForce4 Ti 4200 with AGP8X GPU installed in this system is
   NVRM:  supported through the NVIDIA 1.0-96xx Legacy drivers. Please
   NVRM:  visit http://www.nvidia.com/object/unix.html for more
   NVRM:  information.  The 1.0-9755 NVIDIA driver will ignore
   NVRM:  this GPU.  Continuing probe...
   NVRM: No NVIDIA graphics adapter found!
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.
Same problems here, seems like the driver is trying to purge the packages texlive* himself, hell knows why and then fails to compile the kernel-interface...
Any suggestions for me?

Last edited by TheSmilingBandit; 07-09-2007 at 12:48 AM.
 
Old 07-09-2007, 10:09 AM   #15
UK MAdMaN
Member
 
Registered: Jul 2004
Location: Manchester, England
Distribution: Gentoo
Posts: 211

Rep: Reputation: 30
Quote:
Originally Posted by war1025
so the fact that the nvidia driver isn't working is a problem with testing and not my incompetence when it comes to installing it?

when do you think it will get fixed?
The problem is that X.org 7.2 changed something that makes the current drivers in Stable and Testing not work any more. The latest drivers in Unstable are supposed to work, so you could just wait until those trickle down to Testing if you don't want to install the Nvidia way.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
After NVIDIA driver installation, wireless module not found? beserkjay Fedora 12 09-18-2006 08:22 PM
FATAL: Module nvidia not found Mandrake 10.1 Official Perps Mandriva 7 04-12-2006 07:23 AM
"Module nvidia not found" after update jaychamp Fedora 11 01-28-2006 09:36 AM
nvidia module not found shamgar03 Linux - Hardware 9 07-16-2005 10:42 PM
After updating kernel, Nvidia module cannot be found. ccin1492 SUSE / openSUSE 8 12-05-2004 09:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration