LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-14-2007, 07:30 AM   #1
rob33n
Member
 
Registered: May 2007
Location: Turkey
Distribution: Debian, Windows
Posts: 134

Rep: Reputation: 16
nvidia problem on etch


hi, I got a problem with my nvidia driver.
I did all of things to install but it never installed.
my graphic card is geForce go7400 and using debian 'etch' rc1
I'm laptop user. sony vaio vgn-fe41m

Code:
Failed to start X Server.
Failed to load module Nvidia
no drivers available


Code:
rob33n@debian:~$ sudo dpkg -l | grep nvidia
ii  nvidia-glx                           1.0.8776-4                       NVIDIA binary XFree86 4.x driver
ii  nvidia-kernel-2.6.18-5-686           1.0.8776-4+2.6.18.dfsg.1-13etch4 NVIDIA binary kernel module for Linux 2.6.18
ii  nvidia-kernel-common                 20051028+1-0.1                   NVIDIA binary kernel module common files
ii  nvidia-kernel-source                 1.0.8776-4                       NVIDIA binary kernel module source
ii  nvidia-settings                      1.0+20060516-3                   Tool of configuring the NVIDIA graphics driv
ii  nvidia-xconfig                       1.0+20070502-1                   The NVIDIA X Configuration Tool
 
Old 10-14-2007, 07:52 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
I did all of things to install but it never installed.
Well, you must have done something wrong, or it would be working!
Quote:
Failed to load module Nvidia
This is a suspicious error message. There should not be a capital N in nvidia. Check the module name in your xorg.conf file. Is there a capital "N"? Otherwise, here's a mini-howto:

You'll need to install the following:
build-essentials libc6-dev and the kernel headers that match your running kernel ( find that out with uname -a ).

Make sure the files /etc/init.d/nvidia-glx and /etc/init.d/nvidia-kernel do not exist (delete them if they do).
If the (hidden) file /lib/linux-restricted-modules/.nvidia_new_installed exists, delete it.

Edit /etc/default/linux-restricted-modules-common so it contains this line:
DISABLED_MODULES=”nv nvidia_new”

Press <CTL><ALT><F1> to get a terminal login
Login as yourself
Start a root terminal:
sudo -i
Give your password.
Stop X:
/etc/init.d/kdm stop (if you are using kde)
/etc/init.d/gdm stop (if you are using gnome)
[ At this point you may have to get back to your login terminal with a <CTL><ALT><F1> ]
Now run the nvidia installer:
sh /path/to/NVIDIA-whatever.run
Accept the licence
Pay attention to any error messages. If none, then you can now edit your /etc/X11/xorg.conf as per the NVIDIA howto on their site.

Now restart the display manager:
/etc/init.d/kdm start (if you are using kde)
/etc/init.d/gdm start (if you are using gnome)

You are done.
And welcome to LQ!
 
Old 10-14-2007, 09:32 AM   #3
rob33n
Member
 
Registered: May 2007
Location: Turkey
Distribution: Debian, Windows
Posts: 134

Original Poster
Rep: Reputation: 16
First, thanks for helping tredegar

I deleted /etc/init.d/nvidia-glx and /etc/init.d/nvidia-kernel. but I got two problem:

there is no file /lib/linux-restricted-modules/.nvidia_new_installed
there is no /etc/default/linux-restricted-modules-common, so I couldnt edit it.
 
Old 10-14-2007, 09:42 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
there is no file /lib/linux-restricted-modules/.nvidia_new_installed
there is no /etc/default/linux-restricted-modules-common, so I couldnt edit it.
OK, I am running Kubuntu, which is derived from Debian, but, obviously, is not identical.
Perhaps it doesn't matter that you do not have those files.

Just go ahead and try instaling the nvidia driver, as from "Press <CTL><ALT><F1> to get a terminal login" in my post above. What happens?
 
Old 10-14-2007, 09:46 AM   #5
rob33n
Member
 
Registered: May 2007
Location: Turkey
Distribution: Debian, Windows
Posts: 134

Original Poster
Rep: Reputation: 16
I got error again.
here is the xorg log http://rafb.net/p/5u2XFL36.html
here is the nvidia installer log http://rafb.net/p/KqbSOU90.html
 
Old 10-14-2007, 09:52 AM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Thanks for the logs . I am looking at them.
Meanwhile,
Quote:
my graphic card is geForce go7400
For this I think you need this driver, from nvidia: http://www.nvidia.com/object/linux_d..._1.0-8756.html
Not the one you are trying (100-something?)
Please download 1.0-8756, and try that one.
 
Old 10-14-2007, 10:03 AM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
From the nvidia installer log:
Quote:
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 kern
el modules built with a version of gcc that does not exactly match that of
the compiler used to build the running kernel.
Thereafter, there are many errors.
So, where / how did you get your gcc from? It looks as though you may have fetched the wrong one somehow. Nvidia is expecting to use version 4.1.
Is your /etc/apt/sources.list correct for your distro version?

I realise you probably do not have a gui at the moment, if this upsets you, a lot, you can probably get one if you set your driver to "vesa" in xorg.conf. You'll need to set it to "nvidia" after you have installed the nvidia module, of course.
One other thing - when the nvidia module has been compiled, it'll offer to fix up xorg.conf for you. Resist this temptation, and make the required changes manually.
 
Old 10-14-2007, 03:10 PM   #8
rob33n
Member
 
Registered: May 2007
Location: Turkey
Distribution: Debian, Windows
Posts: 134

Original Poster
Rep: Reputation: 16
Finally I fix the problem.
it's about the nvidia-kernel-source and as you told the source lists.
thanks for your helping tredegar
 
Old 10-14-2007, 03:46 PM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Finally I fix the problem.
it's about the nvidia-kernel-source and as you told the source lists.
Thank you for the good news.
I am pleased my suggestions have helped you fix your problem. I am especially pleased that you have helped yourself (you have done some research, and tried some different things both before, and after, you came to LQ).

But you too could help other people, if you just explained, simply, what was wrong, and why:
- I did this ... , and that ..., and something else ..., but I did not work because ....
- I fixed it by doing this and that and then something else, and now it works perfectly .

Then, other people coming to LQ can [search] (there's a button for this, on this page) and find the answer they need. So we can all learn, and help others [I am still not sure where exactly your problem was, perhaps I gave you too many things to check, but you managed] and I would be interested to learn exactly what your solution was.
Easy & fun

Last edited by tredegar; 10-14-2007 at 03:47 PM.
 
Old 10-15-2007, 12:26 PM   #10
rob33n
Member
 
Registered: May 2007
Location: Turkey
Distribution: Debian, Windows
Posts: 134

Original Poster
Rep: Reputation: 16
it all about mesa-utils ..
 
Old 10-15-2007, 01:39 PM   #11
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
it all about mesa-utils ..
Did you accidentally mis-post? I ask because your post is not at all informative or helpful to anyone else with a similar problem!

Many of us here on LQ (myself included) use this board not only to help solve our problems but also to learn about linux: we often read questions we cannot answer because we hope to find what the answer might be.

In doing so we not only learn more about how linux works (so we can fix our own problems faster), and what it is capable of, but also become able to help answer other people's questions - like I did yours.

So, a little more explanation would be welcome
 
  


Reply



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
nvidia and etch unisol Debian 4 09-14-2007 12:47 PM
DEbian etch, problem with new nvidia driver isuck@linux Debian 18 09-12-2007 12:53 PM
Nvidia/XOrg problem - Debian Etch knappster Linux - Software 6 03-02-2007 08:52 PM
Nvidia & Etch GuTe Debian 5 10-11-2006 02:40 PM
2.6.16 and nvidia in etch kmoffat Debian 1 06-18-2006 03:16 AM

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

All times are GMT -5. The time now is 08:42 PM.

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