LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-04-2005, 03:31 AM   #1
north49er
Member
 
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
directory
make[4]: *** No rule to make target `.config'. Stop.
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
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 www.nvidia.com.
My 2.4.29 kernel been clobbered, so I'd like to get the nvidia driver working. Any suggestions?
 
Old 08-04-2005, 04:12 AM   #2
[|RoA|]RoadRunner
Member
 
Registered: Jul 2005
Distribution: LFS
Posts: 43

Rep: Reputation: 15
Hi,

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, 04:52 AM   #3
borgware
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, 05:11 AM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,209

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

or maybe try sh NVidia.xxx.pkg.run -k `uname -r`
 
Old 08-04-2005, 06:12 AM   #5
piete
Member
 
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/ .


Advice:
* 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, 11:53 AM   #6
north49er
Member
 
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.
 
  


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

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

All times are GMT -5. The time now is 07:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration