LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-21-2017, 09:56 PM   #1
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Updated -current, cannot install NVidia driver (nvidia-modeset.ko)


Am I the only one having this problem? I updated -current, saw that there was a 32-bit mesa updated, switched inittab to runlevel 3, and then rebooted to run the NVidia installer (384.98).

Although I'd successfully run the installer with the 4.14.0 kernel just a couple of days ago, it didn't succeed this time. It failed with:

Quote:
ERROR: Unable to load the kernel module `nvidia-modeset.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, or nouveau is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or no NVIDIA GPU installed in this system is supported by this NVIDIA Linux graphics driver releases.
(I'm retyping, not pasting).

I'm using a multilib+ktown setup, and I think that the kernel-headers update might have come in between the time that it was working and the time it broke. Nouveau is, of course, blacklisted.

Last edited by dugan; 11-21-2017 at 10:00 PM.
 
Old 11-21-2017, 11:16 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Original Poster
Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Fixed.

Renamed /lib/modules/4.4.10, reinstalled the kernel modules, reran the NVidia installer.
 
3 members found this post helpful.
Old 01-05-2018, 01:00 PM   #3
SavoTU
Member
 
Registered: Apr 2005
Distribution: Slackware64 Current
Posts: 199

Rep: Reputation: 40
Thanks did the trick for me as well.
 
Old 01-05-2018, 02:01 PM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Original Poster
Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
I've since found that you just need to remove nvidia-modeset.ko from /lib/modules/$(uname -r), and then try again.
 
Old 01-07-2018, 05:17 PM   #5
SavoTU
Member
 
Registered: Apr 2005
Distribution: Slackware64 Current
Posts: 199

Rep: Reputation: 40
That was my first thought but i was already having other problems so was trying to find a cause when i happened on your post. Will just remove nvidia-modeset.ko if it happens again.

Cheers

Sav
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install nVidia driver from ElRepo for nVidia GeForce GTX645 in RHEL 7.1 anthony000 Linux - Newbie 0 04-20-2015 01:44 AM
How to Install Nvidia Driver NVIDIA-Linux-x86-270.41.19.run ryan20fun Linux - Newbie 19 05-31-2011 07:07 PM
NVIDIA legacy driver 96.43.07 fails install on Kernel 2.26.27.6 in current TNWestTex Slackware 6 11-24-2008 03:16 PM
NVIDIA 9631 Driver won't install on -current 2.6.21.1 kernel TNWestTex Slackware 1 05-09-2007 01:22 PM
nvidia driver 'missing' after ~current and running sh NVIDIA soylentgreen Slackware 13 03-26-2007 09:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration