Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
having finally struggled until I was able to compile a proper and working kernel I now find myself with a new problem. Every time I try desperately hard to install the nvidia driver I always find myself with an error that goes somewhat like " Unable to determine the version of the kernel sources located in /lib/modules/188.8.131.52 try installing the necessary packages for instance in Red Hat Systems try to install the kernel sources RPM or if you know where the sources are located try using the --kernel-sources-path command " and each time I try to use this command I am given this very same error I have even tried using all the other list of options that are available for use with the Nvidia kernel But absolutely nothing works.can someone please tell me how to istall this driver so it can determine the kernel version a I am using or perharps how to compile the kernel so that it's version ca be easily determined by the nvidia driver.
NVidia geforce FX 5200
Zenwalk linux 6.2
The reason it is not building is you distribution has the nouveau driver it is the open source driver. it is loaded at boot. you will have to blacklist the driver. if that does not work you will have to rebuild the kernel and disable the nouveau driver
edit your /etc/modprobe.ed/blacklist.conf to blacklist nouveau
in there you will see blacklist nvidiafb edit it to this.
As long as the naveau driver is loaded you will be unable to build the Nvidia driver.
this was done this way so you would not break your xorg.
the out put will always read unable to find kernel source or something like that.
It is in the default kernel and you must black list it. zenwalk uses a vanilla kernel.
look at the kernel he is using it was when the module was put in and this was the kernel when we started trouble shouting it.
I would rather guess, that the "build" link in /lib/modules/Žuname -rŽ/
You can do that for ever go back and look at all the post from everyone.
go look at zenwalk change log it was pulled on May 25 2010 but in april it was blacklist just like Slackware.
-----< Apr 29 2010 >----- IMAKE... -------
[x] Updated imake-1.0.3-i486-1.txz (Upgraded.)
[x] Updated libdrm-2.4.20-i486-1.txz (Upgraded.)
[x] Updated libxcb-1.6-i486-1.txz (Upgraded.)
[x] Updated mesa-7.8.1-i486-1.txz (Upgraded.)
[x] Updated util-macros-1.7.0-noarch-1.txz (Upgraded.)
[x] Updated xdm-1.1.10-i486-1.txz (Upgraded.)
[x] Updated xf86-input-evdev-2.3.3-i486-1.txz (Upgraded.)
[x] Updated xf86-input-vmmouse-12.6.9-i486-1.txz (Upgraded.)
[x] Updated xf86-input-wacom-0.10.5-i486-1.txz (Upgraded.)
[x] Updated xf86-video-ati-6.13.0-i486-1.txz (Upgraded.)
[x] Updated xf86-video-geode-2.11.8-i486-1.txz (Upgraded.)
[x] Updated xf86-video-intel-2.11.0-i486-1.txz (Upgraded.)
[x] Removed xf86-video-newport-0.2.3-i486-1.txz (Removed. This driver supports a video chipset used only on MIPS hardware.)
[x] Updated xf86-video-nouveau-blacklist-noarch-1.txz (Added. This is NOT the nouveau driver! It installs a file in /etc/modprobe.d/ to prevent the kernel module from autoloading. We don't want the nouveau loaded since we do not ship the nouveau driver (yet), and having the module loaded prevents the nv and binary nVidia drivers from working.)
which means the nouveau gallium driver for 3d is not stable enough for most linux systems and is very limited. this is the driver they are refering to.
This has been documented in nouveau wiki. and In LQ If the nouveau driver for this is loaded the out put on bulding the kernel is what you been looking at. no headers no kernel source. It will not let you build it.http://www.linuxquestions.org/questi...6-33-a-792515/
say somehow the build link is after all pointing to the wrong Linux version. what do I do then because even when I try to use the command --kernel-source=/lib/modules/184.108.40.206 it still gives me the very same error message. how do I then treat this problem is there an option I am suppose to select when compiling the kernel or am I suppose to do something else completely.
Drakeo is right - Nouveau & nVidia do not necessarily play nice together - as you can see in some other LQ threads from the past few months where he and I (mostly him) and others have fiddled with this on and off..
Another thing that may at some point have a bearing on this situation, is whether the particular version of the nvidia driver the OP is working with, is one of those that needed to be patched in order to work with certain kernel versions. I did not see above, what particular nvidia driver the OP is trying to use, but I believe that problem was fixed after maybe two driver versions, and is now gone. FWIW I just yesterday installed the freshest 64bit nVidia binary driver on my 220.127.116.11 kernel, and it was simple as pie.
At this moment, I cannot remember exactly which kernel version & driver version were affected, but the result was as the OP indicated: "Cannot determine kernel version; build fails". It happened even if the kernel source was right where it should be, and even with the --kernel-source= flag.
Making sure Nouveau is not involved (or un-involving it) would be a prudent first step. Then, if necessary due to continuing troubles, consider upgrading either the kernel, or the nVidia driver version you're working with, or both.
What version of Nvidia are you trying to install? At one point, I don't recall which version, the linux kernel moved some headers to a different location causing the Nvidia installer to fail. Nvidia eventually caught up but, if you are using an older version of the installer, it will fail because it is still looking in the old location for headers which determine the kernel version. I suggest you make sure you are using the latest version of the Nvidia installer.
If you are using the latest driver is the latest 173.14.25 this should build for your kernel and the 18.104.22.168 kernel
but has not been updated for the FC13 xorg yet. If you feel you want to try there beta go to the nvidia beta and archives.http://www.nvidia.com/Download/Find.aspx?lang=en-us