Linux MintThis forum is for the discussion of Linux Mint.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 425
Rep:
Find out kernel source path?
Dual booting Win7 on a Gateway 4850 computer with Linux Mint 12. TRYING to install the latest nvidia driver(295.40) for my geForce 420 video card, and ran into a heck of a time preventing nouveau drivers from loading (went into /etc/default/grub and added nouveau.blacklist=1 to grub and that seemed to take care of nouveau, after many other attempts), but I now have a different error, specifically:
ERROR: Unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.
So, where and how can I find the kernel source path? Win7 takes up three or four partitions on the system (recovery partitions and all), and I installed Linux Mint 12 after Win7 with partitions for /boot / /home /usr /opt and swap. I assume that the kernel path is in root, but right now my brain is fried with how ridiculously hard this has all been.
Any suggestions as to where I should look and what to do once I get there? Keep in mind this is a family web site.
Did you buy the GeForce 420 because of the marijuana reference? Lol, just kidding.
I would know how to fix it if I knew how to access the kernel configurations on debian based systems, but I unfortunately don't. I'm sure there's a way. If you can access the config file used to compile the kernel on your system, then you can recompile your kernel with nouveau DISABLED, and that will get rid of it for good. Then you can remove all of the blacklisting nonsense, 'sudo apt-get purge xserver-xorg-video-nouveau (or something like that)', and just reinstall the NVIDIA driver. Everytime you recompile your kernel, you also have to reinstall NVIDIA drivers. If you end up finding the configuration file, then post again here, and I'll help you recompile your kernel, re-install nvidia drivers, etc.
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 425
Original Poster
Rep:
Quote:
Originally Posted by coolbeans777
Did you buy the GeForce 420 because of the marijuana reference? Lol, just kidding.
I would know how to fix it if I knew how to access the kernel configurations on debian based systems, but I unfortunately don't. I'm sure there's a way. If you can access the config file used to compile the kernel on your system, then you can recompile your kernel with nouveau DISABLED, and that will get rid of it for good. Then you can remove all of the blacklisting nonsense, 'sudo apt-get purge xserver-xorg-video-nouveau (or something like that)', and just reinstall the NVIDIA driver. Everytime you recompile your kernel, you also have to reinstall NVIDIA drivers. If you end up finding the configuration file, then post again here, and I'll help you recompile your kernel, re-install nvidia drivers, etc.
<Chuckle> No, the Gateway 4850 comes with the GeForce 420 chip. It's low end, but I don't do any demanding video, so it suits my purposes.
NVIDIA discovered a security hole in drivers prior to 295.40, so I'd like to patch this thing, in addition to getting audio over HDMI. The nouveau driver problem is just inane.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.