Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to install the Nvidia proprietary driver (Geforce 525M) but I'm getting this error:

ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely because the kernel module was built using the wrong kernel source files. Please make sure you have installed the kernel source files for your kernel; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' rpm installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' commandline option

share|improve this question

migrated from stackoverflow.com Feb 6 '13 at 20:18

This question came from our site for professional and enthusiast programmers.

2  
not a programming questions. try superuser. –  Marc B Feb 6 '13 at 19:47
    
@MarcB sorry i will move it. –  Chlebta Feb 6 '13 at 20:01

1 Answer 1

up vote 0 down vote accepted

You need to tell the nvidia-installer where to find the kernel source you just downloaded is. You can do this by doing exactly what the error is telling you.

  1. Locate where the yum installed the kernel source. It's normally somwhere like /usr/src/linux-2.6.33
  2. ./nvidia-installer --kernel-source-path=/usr/src/linux-2.6.33

Post your results. Good luck.

share|improve this answer
    
when I excute this commande because When I excute this commande at shell I got ./nvidia-installer: No such file or folder with this name –  Chlebta Feb 6 '13 at 20:06
    
You're in the wrong directory. Go back to the directory you were in, and then re-execute the command. –  Tyler Jandreau Feb 6 '13 at 20:07
    
I'm in the directory where I have puted the NVIDIA-Linux-x86_64-310.32 install File. exactly in usr\lib\modules. –  Chlebta Feb 6 '13 at 20:09
    
I have updated the post please check it. –  Chlebta Feb 6 '13 at 21:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.