View Single Post
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 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