Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



ERROR: Unable to determine the version of the kernel sources located in '/lib/

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 08-04-2010
Member
 
Join Date: Mar 2010
Posts: 47
ERROR: Unable to determine the version of the kernel sources located in '/lib/
  

Hello everyone,

I am trying to get a 2.6.33 kernel up an running and running with some problems - it occurs that it can't find the proper version and/or sources - even though they are there.

Whole source code is available, I am running with a custom 2.6.31.5 kernel right now. I have tried NVIDIA-Linux-x86_64-190.42-pkg2.run --kernel-name=2.6.33 -K -a --kernel-source-path=/usr/src/linux-2.6.33.

Thanks

Reply With Quote
  #2  
Old 08-04-2010
Member
 
Join Date: Jan 2008
Posts: 3,382
ERROR: Unable to determine the version of the kernel sources located in '/lib/

There are some of the components in 2.6.33 like linux/autoconf.h and linux/utsrelease.h played a most role causing this very error. They were moved to generated/autoconf.h and generated/utsrelease.h but I am not aware about that if it is associated to your issues.

I was having the same issues much before compiling some things so I symlinked those in linux/ and now everything is working well.
Reply With Quote
  #3  
Old 08-04-2010
Member
 
Join Date: May 2008
Posts: 4,085
ERROR: Unable to determine the version of the kernel sources located in '/lib/

I got your issue and I think the suggestion that I will give you on this problem
is close to your problem and I hope it would work for you because I am also suffering with the same problem. I got the solution for it is either the conftest.sh script or a test function in the nvidia-installer binary file which is not able to parse the version information in order to decide which makefile to use. assumed as a installer bug to me.
Reply With Quote
  #4  
Old 08-04-2010
Member
 
Join Date: Apr 2008
Posts: 3,267
ERROR: Unable to determine the version of the kernel sources located in '/lib/

ERROR: Unable to determine the version of the kernel sources specifies in '/lib/modules/2.6.33/source'.

Please just be sure that you have installed the kernel source files for your kernel and that they are completely configured: As a example, on Red Hat Linux system, Make sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you are aware about the correct kernel source files are installed, you may locate the kernel source path whit the '--kernel-source-path' command line option.
Reply With Quote
  #5  
Old 08-04-2010
Member
 
Join Date: Apr 2008
Posts: 3,516
ERROR: Unable to determine the version of the kernel sources located in '/lib/

Well ,I have a solution for you and may be much helpful for you. You have to issue some commands but before that just put your driver in "Maximum Performance" mode but (hopefully) will stop the blinking.

Then issue the following command with proper option and specifications :

Code:
echo 'options nvidia NVreg_RegistryDwords="PerfLevelSrc=0x2222" ' | sudo tee /etc/modprobe.d/otions.conf
The code suggested above will create the file located /etc/modprobe.d/otions.conf with some bonded commands which triggers "Maximum Performance" mode.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "ERROR: Unable to determine the version of the kernel sources located in '/lib/"
Thread Thread Starter Forum Replies Last Post
Error: Unable to determine volume version and state. CHKDSK aborted. Casher Window 2000 Help 3 17-01-2014 09:36 AM
Unable to install Nvida driver getting ‘Unable to find the kernel source tree‘ error message Dajbog Windows Software 5 09-07-2011 10:41 AM
backtrack 5 error: unable to boot - please use a kernel appropriate for your CPU OverCover Operating Systems 1 02-06-2011 04:13 AM
Unable to install Avira: Error message ‘ordinal 6929 could not be located in the dynamic link library mfc90u.dll’ Angee Networking & Security 5 31-05-2011 10:40 AM
In VB.NET, Error: Unable to determine decimal hatred Software Development 4 21-01-2010 07:48 PM


All times are GMT +5.5. The time now is 11:05 PM.