Error in compile the NVIDIA driver

Hi when i trying to install NVIDIA drivers i get compile error:

NVIDIA: calling KBUILD…
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
echo;
echo " ERROR: Kernel configuration is invalid.“;
echo " include/linux/autoconf.h or include/config/auto.conf are mis
sing.”;
echo " Run ‘make oldconfig && make prepare’ on kernel src to fix it
.";
echo;
/bin/false)

here is the full nvidia-installer.log

i installed make, gcc, kernel-source.
so what can be the problem?

Thank you!

Please post the exact output of typing in a terminal:

rpm -qa '*kernel*'
uname -a

rpm -qa ‘kernel’:

kernel-default-devel-2.6.31.12-0.2.1.x86_64
kernel-debug-devel-2.6.31.12-0.2.1.x86_64
linux-kernel-headers-2.6.31-3.4.noarch
kernel-syms-2.6.31.12-0.2.1.x86_64
kernel-firmware-20090821-4.1.noarch
kernel-desktop-devel-2.6.31.12-0.2.1.x86_64
kernel-source-2.6.31.12-0.2.1.noarch
kernel-desktop-2.6.31.5-0.1.1.x86_64
kernel-xen-devel-2.6.31.12-0.2.1.x86_64

uname -a:

Linux linux-rg0z 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 x86_64 x86_64 x86_64 GNU/Linux

I highlighted in red and blue the problem. You need to ensure your kernel-source and kernel-syms are the same version as your kernel-desktop (ie your kernel).

They are not the same version and that is the problem.

if i got you right,
i have on my system “kernel-syms-2.6.31.12-0.2.1.x86_64”
but i need kernel-syms-2.6.31.5-0.1.x86_64, am i right?
if so, how can i slove this issue because in tha “Software Manager” in Yast i see only “kernel-syms-2.6.31.12-0.2.1.x86_64”…

Hi
Have you rebooted your computer. It looks like you have updated the
kernel but not rebooted. You could also check your menu.lst to see what
kernel your booting from.


sudo cat /boot/grub/menu.lst

Oh and lst is a lower case L not a one (1)


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.13-0.4-default
up 1 day 19:21, 4 users, load average: 0.06, 0.05, 0.04
GPU GeForce 8600 GTS Silent - Driver Version: 256.35

Thank you,
i did a full update by YsST , reboot and now “uname -a” give me:
Linux linux-rg0z 2.6.31.12-0.2-desktop

after that i installed the nvidia driver but the monitor not working well,
in the “Display Preferences” the Monitor is Unknown and the Refresh rate at only: 50HZ.

only the YaST’s Hardware Information recognize my monitor…

furthermore, i dont find the Nvidia X server application…

Hi
You need to have a read here;
http://forums.opensuse.org/english/information-new-users/unreviewed-how-faq/430150-opensuse-graphic-card-practical-theory-guide-users.html
In the nvidia part.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.13-0.4-default
up 1:22, 2 users, load average: 0.21, 0.08, 0.06
GPU GeForce 8600 GTS Silent - Driver Version: 256.35

On 2010-07-03 16:36 GMT nkavkaz wrote:

>
> Hi when i trying to install NVIDIA drivers i get compile error:
> > NVIDIA: calling KBUILD…
> > test -e include/linux/autoconf.h -a -e include/config/auto.conf ||
> > (
> > echo;
> > \ echo " ERROR: Kernel configuration is invalid.";
> > echo " include/linux/autoconf.h or
> > include/config/auto.conf are mis
> > sing.";
> > echo " Run ‘make oldconfig && make prepare’ on
> > kernel src to fix it
> > .";
> > echo;
> > \ /bin/false)

It is suggesting you run “make oldconfig && make prepare” on the kernel
sources. Did you?

Better “cloneconfig” than “oldconfig”.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))