Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).
I am new at this, can someone tell me what to do once i download the driver for my video card from Nvidia and how to proceed so i can install it. I know how to quite xserver already, but when i go to install all i get is this same error.
Follow directions to a T, as soon as i reboot the error message doesn't pop up saying that Ubuntu cannot load Nvidia drivers, so i just don't log in and Ctrl+Alt +F1, then i log in as root and start the driver but the same error message comes up. That is the issue.
No need to shout (CAPS). Many people find it offensive when someone yells at them when they're trying to help you out and will just ignore you. You're probably talking about blacklisting the nouveau driver (I'm guessing here). To do this, open /etc/modprobe.d/blacklist with your favorite text editor and add the lines:
Code:
# Blacklist the nouveau driver (interferes with nvidia driver)
blacklist nouveau
The # sign is a comment, the OS ignores everything after it on that line. It is optional to comment, but I personally make a habit of documenting what I did (cuts down on the head scratching later).
EDIT: As an aside, you can use this procedure (same file) to block any driver from being loaded at boot.
Last edited by brucehinrichs; 05-17-2010 at 01:33 PM.
When running high end 3d Application those drivers don't work very well , im sure that my quadro fx 3800 driver from NVidia will operate alot better that the proprietary ones if i can get it installed.
added lines to /etc/modprobe.d/blacklist then recheck the and blacklisted again, still no dice. this is my list ,
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.
# evbug is a debug tool that should be loaded explicitly
blacklist evbug
# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd
# replaced by e100
blacklist eepro100
# replaced by tulip
blacklist de4x5
# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394
# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m
# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2
# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801
# replaced by p54pci
blacklist prism54
# replaced by b43 and ssb.
blacklist bcm43xx
# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps
# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi
# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp
# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr
# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
Right, well, is it the nouveau driver you want to blacklist?
Quote:
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).
Maybe you need to blacklist the rivafb or nvidiafb driver(s) as the error message suggests?
EDIT: I was typing this as you posted. I see you tried this.
Last edited by brucehinrichs; 05-17-2010 at 01:55 PM.
I personally use sgfxi to install nvidias drivers to my debian installs. It should work for ubuntu as well. You might try it. I'm out of other ideas for the moment...
------------------------------------------------------------------
Error No: (3) The Ubuntu derived distro is not supported by smxi, sorry.
smxi cannot continue. Exiting now.
------------------------------------------------------------------
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.