Can anybody explain this in an easier way for a rookie?
Hello!I'm struggling with my Mandrake 10.1 and Nvidia Riva TNT graphiccard. At first the computer started to crash all the time after 5 minutes.
I found out that I should update to an other driver. So I downloaded and installed this driver:
NVIDIA-Linux-x86-1.0-6629-pkg1.run
During install it says that I needed an other kernel source. So I got hold of this one and installed it:
kernel-source-2.6-2.6.8.1-12mdk.i586.rpm
Now the installation of the driver worked. I also changed the XF86Config file.
But when I tried to start X the computer crashed again and said what is mentioned at this site that expalin this very situation that I got into:
http://wiki.x.org/wiki/NVIDIAProprietaryDriver
The solution seems to be found at this page but I'm just a rookie at Linux and do not undertstand how to manage some of it.
So perhaps some one can eplain what they mean:
1) They say:
First, you should verify that if you installed from rpm that the rpm was built specifically for the kernel you are using. You should also check that the module is loaded ('/sbin/lsmod');
How exactly do I check this? Is everything OK if there is a file called lsmod in /sbin, is that OK then?
2) They say:
if it is not loaded try loading it explicitly with 'insmod' or 'modprobe' (be sure to exit the X server before installing a new kernel module).
How exactly do I do this? I tried to write "insmod" at the command line but it looks like it would like some arguments? Further down they also write:
cd'ing into the directory with the new kernel module and doing 'insmod ./nvidia.o' may help
Is this what I should write, but in what folder should I stand when I write it?
3) They say:
If you receive errors about unresolved symbols, then the kernel module has most likely been built using header files for a different kernel revision than what you are running. You can explicitly control what kernel header files are used when building the NVIDIA kernel module with the --kernel-include-dir option (see sh NVIDIA-Linux-x86-1.0-4349.run --advanced-options for details).
Does this mean that I need an other kernel source, and should I just get that and instsll it and try all ovcer?
4) They say:
Another cause may be that the /dev/nvidia* device files may be missing. To recreate this files simply run this script (as root). It assumesyour users who have GUI access are in group "video"):
for i in 0 1 2 3 4 5 6 7; do
node="/dev/nvidia$i"
rm -f $node
mknod $node c 195 $i || echo "mknod \"$node\""
chmod 0660 $node || echo "chmod \"$node\""
chown :video $node || echo "chown \"$node\""
done
node="/dev/nvidiactl"
rm -f $node
mknod $node c 195 255 || echo "mknod \"$node\""
chmod 0666 $node || echo "chmod \"$node\""
chown :video $node || echo "chown \"$node\""
How do I create this script? Should I save it to a file with what extension? And how exactly do I run it?
So if an one could sort this out for me it would be great!
Best regards
Fredrik
