LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   another nvidia problem (https://www.linuxquestions.org/questions/slackware-14/another-nvidia-problem-349843/)

north49er 08-04-2005 03:31 AM

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?

[|RoA|]RoadRunner 08-04-2005 04:12 AM

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.

borgware 08-04-2005 04:52 AM

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.

keefaz 08-04-2005 05:11 AM

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`

piete 08-04-2005 06:12 AM

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.

north49er 08-04-2005 11:53 AM

Thanks guys, it now works. That little "." in front of config is sure important. Glxgears even works.


All times are GMT -5. The time now is 01:16 AM.