Missing modversions.h file when installed NV driver

Hello everyone:
I want to install NV driver for my Geforce MX 440 on opensuse 11.0,but i got a error means miss modversions.h file in kernel source directory(I have install kernel source,gcc)after that i searched this file in my disk,and did not find it.So i don’t know how to do,anyone can help me?Thinks

You don’t have to install the nv driver. It’s already included in Xorg. What you could install is the nvidia driver. I don’t know the MX 440. If it’s from the same family as the MX4000, it should be the legacy one x11-video-nvidia and can be installed from the nvidia repo. Is MX 440 it old or new? If it is old, go with x11-video-nvidia.

Think you for your help,but i am a new linux user,so i don’t know what different between nv driver and nvidia driver,but i know that i want to install a XXX.run file for my grahpic card.yes, GF4 mx 440 is a old card,and i have a driver named "NVIDIA-Linux-x86-96.43.16-pkg1.run ".so the problem is here ,i can’t install it,because miss a file modversions.h.

As please_try_again said, using this .run-file is not necessary, the NVidia-driver can be installed using the respective repository via YaST or zypper:


nv is the open source driver. It is installed by default and supports your graphic card.
nvidia is the proprietary driver. It supports your card as well and has some more features.

There are 3 methods to install the nvidia driver. You picked the hardest one. I prefer to install from the nvidia repository. For your model, that would be the package x11-video-nvidia.

Be warned that if you installed this driver successfully, no matter the method you applied, and reboot your computer, it won’t work (more likely). The reason is a conflict beetween the legacy nvidia driver and the vesa framebuffer. Sorry for the bad news, but it’s easy to fix. You have to edit the Grub menu file … Let’s do it with YaST : YaST > Boot Loader > Section Management, select the openSUSE entry and remove vga=xxx from the last line, where xxx is a value, either decimal or hexadecimal.

This doesn’t happen with the nv driver. And it doesn’t affect the G01 and G02 nvidia drivers (used by newer models). I does affect the X server shipped with Linux distros (at least Ubuntu, openSUSE and Mandriva in my case). I have a GeForce MX 4000 on this machine. This is not the same as yours but it uses the same driver.

Actually, I cannot be sure about that, since I always install from the repo.

Ooops ! You’re running openSUSE 11.0! Then please disregard my post. It will run fine with that Xorg version.

For a full description of the repository method, have a look at this post:
Nvidia driver issues - openSUSE Forums

juste replace opensuse/11.2/ with opensuse/11.0/ everywhere and x11-video-nvidiaG02 with x11-video-nvidia

Yes,thank you very much please_ty_again for your help,but the important point is there is not network connect to my computer.so i choose using .run file to install(the hardest way you said).So i think it will not work on my computer, but think you for your help too,i learned so much.I will try again until it works.

  • If you have a 32bit system, you need to download :


and, one of these two (depending on the kernel you’re using):


I’ve never done it this way but it’s worth a try, I guess.

I suppose this should work, since these packages do not need any dependencies not provided by a freshly installed SuSE.

I hope it doesn’t sound too picky, but I recommend using ‘-U’ instead of ‘-i’ as an option for rpm.

rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...

This upgrades or installs the package currently installed to a newer 
version.This is the same as install, except all other version(s) of 
the package are  removed  after the new package is installed.

So the command should look like this:

rpm -Uhv /path/to/someApp.rpm


rpm -iUvh /path/to/rpmpackage.rpm

This installs, updates when already installed.

Knurpht, read carefully, you will see that the extra ‘-i’ is needless:

rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...

This upgrades **or** installs the package currently installed to a newer 

Test it.

Using rpm package?I have not tried it ,yes i should have a try…think you one more time:p

And thinks gropiuskalle and Knurpht for how to use rpm command.