Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 09-24-10, 07:49 PM   #1
Registered User
Join Date: Aug 2008
Posts: 10
Default Problem compiling kernel module

I am running a non-standard kernel (2.6.33-29-realtime-pae), and I'm having trouble installing any NVIDIA driver (185, 190, 195, 256), apparently because it's looking for source files in a different location. At first I tried installing the driver through the package manager, then through two of the Ubuntu PPAs, and finally using the binary from nvidia.com. This is the error reported when running the binary installer:

-> Building kernel module:
executing: 'cd ./kernel; make module SYSSRC=/lib/modules/2.6.33-29-realtime-
pae/build SYSOUT=/lib/modules/2.6.33-29-realtime-pae/build'...
NVIDIA: calling KBUILD...
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \

Both autoconf.h and auto.conf are in the directories mentioned above. I saw several posts recommending commenting out any reference to ".owner = THIS_MODULE" but that didn't make a difference.
duffrecords is offline   Reply With Quote
Old 09-25-10, 11:22 AM   #2
NVIDIA Corporation
AaronP's Avatar
Join Date: Mar 2005
Posts: 2,487
Default Re: Problem compiling kernel module

This is a quirk of KBUILD: when compiling with verbose output enabled, it prints the code that would print that error if those files were missing. It's not actually an error unless you see the "ERROR: Kernel configuration is invalid" message being printed out later without the "echo" command in front of them.
AaronP is offline   Reply With Quote

Thread Tools

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 On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 09:04 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.