Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-04-2005, 04:31 AM   #1
Registered: Apr 2003
Location: 60.47'N lat
Distribution: fedora 15 x86_64
Posts: 156

Rep: Reputation: 18
another nvidia problem

I've compiled to 2.6.10 kernel, and so far got sound working, dialup, and hopefully the rpinter soon. I had to revert to "vesa" driver to get x going. I had nvidia working under the 2.4.29 kernel, but the nvidia driver doesn't want to compile to this kernel. It uninstalled just fine. The following installer log gives me this output:
Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.10/scripts/Makefile.modpost
/usr/src/linux-2.6.10/scripts/Makefile.modpost:38: .config: No such file or
make[4]: *** No rule to make target `.config'. Stop.
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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
My 2.4.29 kernel been clobbered, so I'd like to get the nvidia driver working. Any suggestions?
Old 08-04-2005, 05:12 AM   #2
Registered: Jul 2005
Distribution: LFS
Posts: 43

Rep: Reputation: 15

i had a driver going on a linux-2.6.10 before, so i assume that not the kernel itself will cause this problem.

Do You read the suggested README-file?

Can You please post the complete nvidia-log? There will be more important info's like the nvidia-driver version and others.
Old 08-04-2005, 05:52 AM   #3
LQ Newbie
Registered: Jan 2004
Location: Arizona
Distribution: Ubuntu 7.04
Posts: 24

Rep: Reputation: 15
This is what I did to solve the same problem.

Boot linux with 2.4x kernel (hope you still have it) then install nvidia drivers one more time.
Get back to 2.6x kernel and try installation again.
Old 08-04-2005, 06:11 AM   #4
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Where is your kernel .config file ?
As nvidia installer seems not find it, it may be the problem

or maybe try sh -k `uname -r`
Old 08-04-2005, 07:12 AM   #5
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
My best guess from the error would be that you haven't actually configured/built the kernel sources in /usr/src/linux-2.6.10/ .

* Copy your .config file from wherever it is now to /usr/src/linux-2.6.10/
* cd /usr/src/linux-2.6.10/ && make oldconfig && make

If it doesn't work, clean out the sources (make clean) and try again. Also, I suppose there's a risk of not meeting some pre-requisite that the nVidia installer needs to make the module ... what that could be, I wouldn't like to suggest without actually being at your machine =)

Good luck!
- Piete.
Old 08-04-2005, 12:53 PM   #6
Registered: Apr 2003
Location: 60.47'N lat
Distribution: fedora 15 x86_64
Posts: 156

Original Poster
Rep: Reputation: 18
Thanks guys, it now works. That little "." in front of config is sure important. Glxgears even works.


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
nvidia problem derobonson Linux - Games 6 10-05-2005 04:25 PM
Nvidia fx5500 mandrake 10.1 problem:Nvidia in /etc/modprobe.preload doesn't work eikeland Linux - Hardware 5 01-17-2005 03:09 PM
nvidia problem mm3000 Slackware 18 12-03-2004 10:14 AM
nvidia problem bjwbell Linux - General 4 01-02-2003 12:30 PM
Nvidia Problem Config Linux - Hardware 4 04-25-2002 08:49 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:27 PM.

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