LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-18-2006, 06:34 AM   #1
micder
Member
 
Registered: Aug 2003
Location: Terneuzen Netherlands
Distribution: Slack current
Posts: 142

Rep: Reputation: 16
failure compiling NVidia module


Installed Slack-11.0 with 2.4 kernel.
Everything OK.
Installed the current 2.6.18 kernel + sources.
This kernel recognizes my on board NIC (sky2).
All hardware is recognized with udev.
Have now installed:
-rw-r--r-- 1 root root 948 2006-11-17 21:21 kernel-generic-2.6.18-i486-1
-rw-r--r-- 1 root root 25801 2006-11-17 22:02 kernel-headers-2.4.33.3-i386-1
-rw-r--r-- 1 root root 959 2006-11-17 22:01 kernel-ide-2.4.33.3-i486-1
-rw-r--r-- 1 root root 62385 2006-11-17 22:01 kernel-modules-2.4.33.3-i486-1
-rw-r--r-- 1 root root 102062 2006-11-17 21:21 kernel-modules-2.6.18-i486-1
-rw-r--r-- 1 root root 869931 2006-11-17 22:03 kernel-source-2.4.33.3-noarch-1
-rw-r--r-- 1 root root 1198639 2006-11-17 21:22 kernel-source-2.6.18-noarch-1

Tried to compile NVidia with NVIDIA-Linux-x86-1.0-8762-pkg1.run
Error: unable to determine the version of the kernel source located in /lib/modules/2.6.18/source

Then tried to compile with NVIDIA-Linux-x86-1.0-5336-pkg1.run
It starts building the kernel but ends with: Unable to build NVidia kernel module

Any idea what's wrong?
 
Old 11-18-2006, 06:50 AM   #2
J_W
Member
 
Registered: Apr 2004
Location: Yamagata, JAPAN
Distribution: Slackware64-current
Posts: 189

Rep: Reputation: 123Reputation: 123
Hi,

Try to run NVIDIA installer with option "--kernel-source-path=KERNEL-SOURCE-PATH".

example:
sh NVIDIA-Linux-x86-1.0-****-pkg1.run --kernel-source-path=/usr/src/linux-2.6.18

By the way, the latest stable driver version is 1.0-9629.
 
Old 11-18-2006, 07:11 AM   #3
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 215

Rep: Reputation: 45
I've just looked at my system and /lib/modules/2.6.17.13/source is a symlink to /usr/src/linux-2.6.17.13

I would start by confirming that this symlink is correctly set up on your machine.
 
Old 11-18-2006, 08:05 AM   #4
micder
Member
 
Registered: Aug 2003
Location: Terneuzen Netherlands
Distribution: Slack current
Posts: 142

Original Poster
Rep: Reputation: 16
Thank you

link was OK : linux -> linux-2.6.18/

Downloaded NVIDIA-Linux-x86-1.0-8776 and compiled without problems.
 
  


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 driver 8762 kernel module mismatch x module openfun Ubuntu 5 06-27-2006 10:02 PM
nvidia 6106, kernel 2.6.7, slackware 10, failure to load nvidia.ko Tarball_Phreak Linux - Hardware 3 08-04-2004 03:16 PM
Compiling NVidia kernel module under SuSE 9.1 ZX_SA Linux - Hardware 0 06-11-2004 10:24 AM
'nvidia' module doesn't persist for nVidia GeForce2 DDR card dude_a_b_c Mandriva 8 05-19-2004 02:50 PM
New kernel module failure khtse Slackware 5 02-07-2004 08:19 AM

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

All times are GMT -5. The time now is 12:25 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