LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-26-2016, 10:16 PM   #1
Chronic13
LQ Newbie
 
Registered: Nov 2016
Location: Tokyo
Distribution: Fedora
Posts: 18

Rep: Reputation: Disabled
Unhappy Stuck: Multiple Attempts Installing Nvidia Drivers


Backstory: (Question begins below dashed line)

Fresh install of Fedora 24.

Have a 4k screen so the current Max resolution supported by the nouveau drivers is killing my eyes.

First order of business is to get the GTX 980 up & running.

Attempt to do it manually by downloading driver from Nvidia website.
Blacklist the nouveau drivers. Run the Drivers.run. Installation begins... Lots of errors about headers not matching. Get locked out without GPU.
***Reinstall Fedora***

This time attempt to try via rpm.

Unable to find akmod or kmod rpms that support the card.
(try anyway & fail)

Stuck on boot screen. Ctrl+shift+F4 to terminal. Remove installed packages. Reboot - get further but still stuck on boot screen. Reboot with troubleshooting - I'm back in.

Trying the manual install method again...

------------------------------------------

Following this guide ----> Guide
Everything is going smooth so far until 2.6.3 Update grub2 conf

Code:
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.8.8-200.fc24.x86_64
Found initrd image: /boot/initramfs-4.8.8-200.fc24.x86_64.img
Found linux image: /boot/vmlinuz-4.5.5-300.fc24.x86_64
Found initrd image: /boot/initramfs-4.5.5-300.fc24.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-b4b82063876941b88313c7a410592135
Found initrd image: /boot/initramfs-0-rescue-b4b82063876941b88313c7a410592135.img
ERROR: ddf1: reading /dev/sdd[Input/output error]
ERROR: ddf1: reading /dev/sdd[Input/output error]
ERROR: ddf1: reading /dev/sdd[Input/output error]
ERROR: pdc: reading /dev/sdd[Input/output error]
ERROR: pdc: reading /dev/sdd[Input/output error]
ERROR: ddf1: reading /dev/sdd[Input/output error]
ERROR: ddf1: reading /dev/sdd[Input/output error]
ERROR: pdc: reading /dev/sdd[Input/output error]
ERROR: pdc: reading /dev/sdd[Input/output error]
ERROR: ddf1: reading /dev/sdd[Input/output error]
ERROR: pdc: reading /dev/sdd[Input/output error]
ERROR: pdc: reading /dev/sdd[Input/output error]
ERROR: ddf1: reading /dev/sdd[Input/output error]
ERROR: ddf1: reading /dev/sdd[Input/output error]
ERROR: pdc: reading /dev/sdd[Input/output error]
ERROR: ddf1: reading /dev/sdd[Input/output error]
done
I'm apprehensive to continue when the terminal is already giving me errors. I don't want to wing it like last time and have to reinstall Fedora again (I don't mind a reinstall if I'm learning).

Thanks in advance for suggestions!
 
Old 11-26-2016, 11:06 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hello and welcome to the forum

What is your system's make and model (and model number) and how are you booting Fedora? I'm curious to know what your "sdd" drive actually is, since I've not seen these initials before. If this is an internal drive, please post the results of...

Code:
su smartctl -a /dev/sdd
If that doesn't work, try this command...

Code:
su martctl -i
Note: if you get a error message that says "command not found," you may need to install the "smartmontools" package.

Disclaimer: Be careful with commands that are prefaced with "su" or "sudo." They will essentially allow root access to your system. Mistakes could possibly damage or even destroy your OS.

Also, a possible solution to this issue may be found in post #22 here, if your BIOS has this setting.

Regards...

Last edited by ardvark71; 11-26-2016 at 11:11 PM. Reason: Added information.
 
1 members found this post helpful.
Old 11-26-2016, 11:44 PM   #3
Chronic13
LQ Newbie
 
Registered: Nov 2016
Location: Tokyo
Distribution: Fedora
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thank you very much for your warm welcome and reply.

I'll post the results of the commands you taught me as soon as I return to my machine (~2hrs).

I made a bootable USB from a live image of Fedora 24.
- machine consists of 3 internal drives
1) Windows 10 (256Gb SSD)
2) Fedora 24 (512Gb SSD)
3) Plain storage ( 2Tb HDD)

Disk 2 was cleaned in windows Disk Part.

Booted Fedora from USB and installed on Disk 2.

On Reboots, I always enter the boot menu and choose the drive I want to boot from (Win or Fedora).

More details to come...
 
Old 11-27-2016, 03:34 AM   #4
Chronic13
LQ Newbie
 
Registered: Nov 2016
Location: Tokyo
Distribution: Fedora
Posts: 18

Original Poster
Rep: Reputation: Disabled
Unhappy

Seems as though my latest reply has yet to be approved by an admin though I have an important update.

Your suggestion to run that command to identify dev/sdd worked out.

I removed the removable drive and reran the commands from the guide I was following and everything worked out great....until...

I ran into the exact same problem that I originally ran into when I first attempted this.

The error messages read:

ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 375.20 -k 4.5.5-300.fc24.x86_64`: Error! echo
Your kernel headers for kernel 4.5.5-300.fc24.x86_64 cannot be found at
/lib/modules/4.5.5-300.fc24.x86_64/build or /lib/modules/4.5.5-300.fc24.x86_64/source.

ERROR: Failed to install kernel module through DKMS. No kernel module was installed: please try installing again without DKMS, or check the DKMS logs for more information.

ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details/

I also tried walking back some of the steps in the guide (i.e. installing packages I had removed & removing changes I made to various files), although I can still only boot the terminal

I understand it appears I don't have the kernel I need, so I will begin researching how to get it.

Any suggestions are most welcome
 
Old 11-27-2016, 04:24 AM   #5
Chronic13
LQ Newbie
 
Registered: Nov 2016
Location: Tokyo
Distribution: Fedora
Posts: 18

Original Poster
Rep: Reputation: Disabled
Smile Solved

First & foremost thank you ardvark71 for your kind help!
(without your suggestion, I would undoubtedly have wiped my drive and restarted to no avail!)

As I am typing, my eyes are very grateful for the resolution (pun absolutely intended )

I was about to wipe my drive and start over, though before doing so, I figured I have a working terminal and it can't get worse from here, so why not start experimenting.

I did a dnf search for kernel headers (Bad Idea - probably over 1,000 hits and without a working mouse to scroll)

I searched the repos for nvidia and installed akmod-nvidia.x86_64

No good, as I ran into errors - so I removed it.

Afterwards I tried installing kmod-nvidia-4.5.5-300.fc24.x86_64
So far, so good - no errors.

Next I tried installing the driver I downloaded from Nvidia's website, namely NVIDIA-Linux-x86_64-375.20.run

IT ACTUALLY WORKED THIS TIME. (Ok, for all you vets out there, this may be very obvious, but it felt like hitting the ball after striking out for days)

I walked back all of my previous walk backs (i.e. re-editing files and reinstalling packages)

Reboot.

Showed 1 failure in the boot menu, but loaded the Fedora login menu for the first time in the proper resolution!
Everything seems to be working!

I hope this explanation will help some other newbies like me out there.

Code:
[root@localhost user]# nvidia-installer -v |grep version
nvidia-installer:  version 375.20  (buildmeister@swio-display-x86-rhel47-06) 
[root@localhost user]# uname -a
Linux localhost.localdomain 4.8.8-200.fc24.x86_64 #1 SMP Tue Nov 15 19:41:51 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost user]# lspci |grep -i VGA
02:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 980] (rev a1)
Thanks again!
 
2 members found this post helpful.
Old 11-27-2016, 09:22 AM   #6
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by Chronic13 View Post
First & foremost thank you ardvark71 for your kind help!
(without your suggestion, I would undoubtedly have wiped my drive and restarted to no avail!)
You're welcome and as they say in England: "Good show!"

Out of curiosity, though, what was the one error message you received at boot?

Regards...
 
Old 11-27-2016, 07:29 PM   #7
Chronic13
LQ Newbie
 
Registered: Nov 2016
Location: Tokyo
Distribution: Fedora
Posts: 18

Original Poster
Rep: Reputation: Disabled
Is there a debug mode or a way of booting that will initiate each process on a keystroke?

The system boots so fast I can't read the error.

When Fedora boots, there are lots of green [OK]'s being returned.
At the very top of the screen, I see red letters flash and what looks like the word Failed.
 
Old 11-27-2016, 11:31 PM   #8
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by Chronic13 View Post
Is there a debug mode or a way of booting that will initiate each process on a keystroke?
Hi...

There might be but I'm not sure what that is, if a method even exists. Perhaps someone will chime in with the instructions...

Regards...
 
Old 11-28-2016, 06:34 AM   #9
Chronic13
LQ Newbie
 
Registered: Nov 2016
Location: Tokyo
Distribution: Fedora
Posts: 18

Original Poster
Rep: Reputation: Disabled
Question

I believe it said

[FAILED] to start load kernel...
 
Old 11-28-2016, 02:14 PM   #10
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by Chronic13 View Post
I believe it said

[FAILED] to start load kernel...
Well, if the kernel didn't load, the entire operating itself wouldn't load. It might a specific module that failed to load.

Regards...
 
Old 11-28-2016, 10:18 PM   #11
Chronic13
LQ Newbie
 
Registered: Nov 2016
Location: Tokyo
Distribution: Fedora
Posts: 18

Original Poster
Rep: Reputation: Disabled
Question Curious

Indeed on a few more startups, it does appear that its failing to load a specific module.

Do you have any suggestions as to how I could go about fixing it?
 
Old 11-29-2016, 02:46 AM   #12
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by Chronic13 View Post
Indeed on a few more startups, it does appear that its failing to load a specific module.

Do you have any suggestions as to how I could go about fixing it?
Hi...

I would need to know the exact error message and module in question.

Regards...
 
Old 11-29-2016, 04:00 AM   #13
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Are init [OK/FAIL] msgs saved somewhere? Is there a way to 'single-step' init, like Win F8?

There are often Linux boot error msgs that can be ignored! You might see them in:
dmesg|less

I too would like to know:
Are init [OK/FAIL] msgs saved somewhere? Is there a way to 'single-step' init, like Win F8?

Maybe someone will find this & answer, or you [I? naw] could start a new Thread on that

Best wishes! Hope you are enjoying... p.s. Can I 'sell' you VirtualBox & 20 other distros?

Last edited by Jjanel; 11-29-2016 at 04:04 AM.
 
  


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
Linux Mint 17 NVIDIA Drivers problem + stuck in fallback mode m00000nkey Linux - Software 2 09-15-2014 07:53 PM
stuck in grub rescue mode from a problem derived from nvidia drivers jamendo10 Linux - Software 8 05-10-2012 04:23 PM
UNinstalling proprietry mandriva nVidia drivers and installing new nVidia drivers deathman Linux - Hardware 3 11-18-2006 05:10 AM
STUCK still trying to install NVIDIA drivers funkenbooty Linux - Newbie 8 07-30-2003 05:56 PM
Stuck on Nvidia drivers, have lots of diagnostics, but no real idea what they mean Cadmus Linux - Newbie 4 04-08-2003 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:53 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