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

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-21-12, 09:34 AM   #1
igor012
Registered User
 
Join Date: Feb 2012
Posts: 8
Default Cannot install nvidia 256.53 drivers on 3.1.2 kernel

Hello,
I have been trying to install NVIDIA-Linux-x86_64-256.53 found here on a 12.1 opensuse with a 3.2.1 kernel.

In the nvidia-installer log file :
Code:
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 256.53.
-> Running distribution scripts
   executing: '/usr/lib/nvidia/pre-install'...
-> done.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Using the kernel source path '/usr/src/linux/source' as specified by the
   '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux/source'
-> Kernel output path: '/usr/src/linux/source'
ERROR: If you are using a Linux 2.4 kernel, please make sure
       you either have configured kernel sources matching your
       kernel or the correct set of kernel headers installed
       on your system.

       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.
I used this command "sh NVIDIA-Linux-x86_64-256.53.run --kernel-source-path="/usr/src/linux/source"

I have also tried to use a patch -> there.

Can somebody help me ?

Thank you
igor012 is offline   Reply With Quote
Old 02-21-12, 09:45 AM   #2
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: Cannot install nvidia 256.53 drivers on 3.1.2 kernel

Why are you trying to install an ancient driver on a recent kernel?
Any reason why you can't just use a newer driver?
Dragoran is offline   Reply With Quote
Old 02-21-12, 09:52 AM   #3
igor012
Registered User
 
Join Date: Feb 2012
Posts: 8
Default Re: Cannot install nvidia 256.53 drivers on 3.1.2 kernel

It is a certified autodesk driver. I can't use any other ones.
igor012 is offline   Reply With Quote
Old 02-22-12, 05:19 AM   #4
igor012
Registered User
 
Join Date: Feb 2012
Posts: 8
Default Re: Cannot install nvidia 256.53 drivers on 3.1.2 kernel

No one can help me ?
igor012 is offline   Reply With Quote
Old 02-22-12, 05:56 AM   #5
krokodil
Null Byte Bug Hunter
 
krokodil's Avatar
 
Join Date: Mar 2007
Location: N 49 52'19", E 8 38'17", Germany
Posts: 79
Default Re: Cannot install nvidia 256.53 drivers on 3.1.2 kernel

It's a mismatch of header files and installed kernel.
It works fine here (even with an older driver: 173.14) on an old AGP system (Quadro FX 3000).
You'll have to check that kernel running and kernel sources against you want to build the driver are the same. No one can do this check for you.
__________________

GA-EX38-DS5 | Core 2 Q9450 | AC Freezer 7 Pro | 2x KVR800D2E5/2G | ZOTAC GeForce 8800GT AMP!
4x HDP725032GLA360 RAID-10 | Enermax PRO82+ 525W | CoolerMaster RC-590

GA-EX58-UD5 | Core i 7-940 | CoolerMaster V8 | KHX12800D3LLK3/6GX | ZOTAC GeForce GTX 280
4x WD10EADS RAID-10 | Enermax REVOLUTION85+ 850W | CoolerMaster RC-600

ZOTAC GeForce 9300-ITX WiFi | Celeron E3200 | 2x KVR800D2E5/2G | SSDSA2MH160G2
WD10EADS | GGC-H20L | Enermax PRO82+ 385W | Lian Li PC-Q07B | Boy this box is cramped

Last edited by krokodil; 02-22-12 at 06:14 AM. Reason: Added uname line. Undone uname. Problem handling PNG files.
krokodil is offline   Reply With Quote
Old 02-22-12, 10:40 AM   #6
igor012
Registered User
 
Join Date: Feb 2012
Posts: 8
Default Re: Cannot install nvidia 256.53 drivers on 3.1.2 kernel

Ok, i'll check
i'll let you know

thanks
igor012 is offline   Reply With Quote
Old 02-23-12, 05:17 AM   #7
igor012
Registered User
 
Join Date: Feb 2012
Posts: 8
Default Re: Cannot install nvidia 256.53 drivers on 3.1.2 kernel

It seems to be using the correct ones. but it may be possible that the installer cannot find them.
They are located under /lib/modules/linux-3.1.2-1.4-desktop. I have also created a symbolic link between /usr/src/linux and /lib/modules/3.1.2-1.4-desktop.

Any ideas ?
igor012 is offline   Reply With Quote
Old 02-23-12, 06:57 AM   #8
krokodil
Null Byte Bug Hunter
 
krokodil's Avatar
 
Join Date: Mar 2007
Location: N 49 52'19", E 8 38'17", Germany
Posts: 79
Default Re: Cannot install nvidia 256.53 drivers on 3.1.2 kernel

Quote:
Originally Posted by igor012 View Post
It seems to be using the correct ones. but it may be possible that the installer cannot find them.
They are located under /lib/modules/linux-3.1.2-1.4-desktop. I have also created a symbolic link between /usr/src/linux and /lib/modules/3.1.2-1.4-desktop.

Any ideas ?
Header files under /lib? There must be something very strange on your system.
Headers here are under /usr/src/linux-3.1.4* and related subdirectories.

pc-aurora:/home/hmayer # cd /lib
pc-aurora:/lib # find . -name "*.h" -print
pc-aurora:/lib #
pc-aurora:/usr/src # find . -name "*.h" -print | more
./linux-3.1.9-1.4-obj/i386/desktop/include/config/dm/zero.h
./linux-3.1.9-1.4-obj/i386/desktop/include/config/dm/multipath/ql.h
./linux-3.1.9-1.4-obj/i386/desktop/include/config/dm/multipath/st.h
./linux-3.1.9-1.4-obj/i386/desktop/include/config/dm/delay.h
./linux-3.1.9-1.4-obj/i386/desktop/include/config/dm/raid.h
etc.
I would advise you make sure you really have system sources installed and installed into the correct places.
Sorry I can't be more specific but that would be my first guess: incomplete or not correctly installed sources.
__________________

GA-EX38-DS5 | Core 2 Q9450 | AC Freezer 7 Pro | 2x KVR800D2E5/2G | ZOTAC GeForce 8800GT AMP!
4x HDP725032GLA360 RAID-10 | Enermax PRO82+ 525W | CoolerMaster RC-590

GA-EX58-UD5 | Core i 7-940 | CoolerMaster V8 | KHX12800D3LLK3/6GX | ZOTAC GeForce GTX 280
4x WD10EADS RAID-10 | Enermax REVOLUTION85+ 850W | CoolerMaster RC-600

ZOTAC GeForce 9300-ITX WiFi | Celeron E3200 | 2x KVR800D2E5/2G | SSDSA2MH160G2
WD10EADS | GGC-H20L | Enermax PRO82+ 385W | Lian Li PC-Q07B | Boy this box is cramped
krokodil is offline   Reply With Quote

Old 02-23-12, 07:36 AM   #9
igor012
Registered User
 
Join Date: Feb 2012
Posts: 8
Default Re: Cannot install nvidia 256.53 drivers on 3.1.2 kernel

you are right my headers are missing.
Correct me if i am wrong but i need the headers related to my new kernel. if so, i have to copy them from somewhere, right ?
igor012 is offline   Reply With Quote
Old 02-23-12, 09:56 PM   #10
krokodil
Null Byte Bug Hunter
 
krokodil's Avatar
 
Join Date: Mar 2007
Location: N 49 52'19", E 8 38'17", Germany
Posts: 79
Default Re: Cannot install nvidia 256.53 drivers on 3.1.2 kernel

Quote:
Originally Posted by igor012 View Post
you are right my headers are missing.
Correct me if i am wrong but i need the headers related to my new kernel. if so, i have to copy them from somewhere, right ?
Yes. My first guess would be your distribution media (DVD) or you could try and install from the net.
In yast > software > repositories you could select community repositories and select sources.
__________________

GA-EX38-DS5 | Core 2 Q9450 | AC Freezer 7 Pro | 2x KVR800D2E5/2G | ZOTAC GeForce 8800GT AMP!
4x HDP725032GLA360 RAID-10 | Enermax PRO82+ 525W | CoolerMaster RC-590

GA-EX58-UD5 | Core i 7-940 | CoolerMaster V8 | KHX12800D3LLK3/6GX | ZOTAC GeForce GTX 280
4x WD10EADS RAID-10 | Enermax REVOLUTION85+ 850W | CoolerMaster RC-600

ZOTAC GeForce 9300-ITX WiFi | Celeron E3200 | 2x KVR800D2E5/2G | SSDSA2MH160G2
WD10EADS | GGC-H20L | Enermax PRO82+ 385W | Lian Li PC-Q07B | Boy this box is cramped
krokodil is offline   Reply With Quote
Old 02-24-12, 02:55 AM   #11
igor012
Registered User
 
Join Date: Feb 2012
Posts: 8
Default Re: Cannot install nvidia 256.53 drivers on 3.1.2 kernel

In /usr/include i have found many ".h" files.
So those are the headers i guess, but of which kernel ?
igor012 is offline   Reply With Quote
Old 02-24-12, 03:47 AM   #12
Gusar
Registered User
 
Join Date: Apr 2006
Posts: 277
Default Re: Cannot install nvidia 256.53 drivers on 3.1.2 kernel

Guessing won't bring you far. There must be a package with kernel headers that match your running kernel. I don't use Suse, so I don't know how the package is called. But the distro for sure has documentation about it.
Gusar is offline   Reply With Quote
Reply


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:03 PM.


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