Bug 60775 - Installing NVIDIA proprietary drivers on kernel 3.10.7-100.fc18.x86_64 errors out . . . can't find kernel source files
Summary: Installing NVIDIA proprietary drivers on kernel 3.10.7-100.fc18.x86_64 errors...
Status: CLOSED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: x86-64 Linux
: P1 high
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-20 21:11 UTC by Ryan Letourneau
Modified: 2013-11-12 13:44 UTC (History)
2 users (show)

See Also:
Kernel Version: Linux 3.10.7-100.fc18.x86_64 SMP
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Ryan Letourneau 2013-08-20 21:11:44 UTC
Trying to install NVIDIA-Linux-x86_64-319.32.run proprietary drivers on kernel 3.10.7-100.fc18.x86_64 does not work.  Error;

"The kernel header file '/usr/src/linux/include/linux/version.h' does not exist.
The most likely reason for this is that the kernel source files in '/usr/src/linux' have not been
configured."

All necessary source rpms are installed ;

kernel-headers-3.10.7-100.fc18.x86_64
kernel-devel-3.10.7-100.fc18.x86_64

and all dependencies.

Also downloaded kernel source rpm and installed but did not resolve issue;

yumdownloader --source kernel
rpm -ivh kernel-3.10.7-100.fc18.src.rpm

Tried solution here;
http://moldvan.com/blog/?p=824

Did not resolve issue when linking /usr/include/linux/version.h
to /usr/src/kernels/`uname -r`/include/linux/version.h

But once linked, this error pops up;

"If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the \”KBUILD_OUTPUT\” or
the \”O\” KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option."

The NVIDIA proprietary driver does successfully build on 
kernel 3.6.10-4.fc18.x86_64.

Tried uninstalling kernel-headers and kernel-devel rpms and re-installing, did not resolve issue.

Expected results would be, for the NVIDIA proprietary drivers to find correct
kernel sources, and successfully build and install driver module.
Comment 1 Ryan Letourneau 2013-08-20 21:40:27 UTC
Just tried solution here
http://ewaldertl.blogspot.ca/2013/02/update-fedora-18-to-kernel-376-let-fail.html

but did not resolve issue
Comment 2 Alan 2013-11-12 13:44:00 UTC
Nvidia proprietary bugs need to go to Nvidia

Note You need to log in before you can comment on or make changes to this bug.