System hang at boot after kmod-nvidia installs

Issues related to applications and software problems
Post Reply
mathew1805
Posts: 3
Joined: 2019/03/23 20:50:32

System hang at boot after kmod-nvidia installs

Post by mathew1805 » 2019/03/23 21:03:10

Hi,
I just installed this week centos7 in order to use it as a workstation, primary using Houdini and Maya, which requires Nvidia proprietary drivers.
I looked on the web, and I saw that the best method was to use the Elrepo package kmod-nvidia. I tried that, but every time I reboot after the installation, the systeme is unable to boot, stuck at "started Update utmp about system runlevel changes. Completed startup".

Do you have any idea of where it can comes from?
Thanks for the help

Here is my setup:
On one disk, I have a windows system.
Another one with a centos system.
And using a threadripper 1950X
Geforce GTX 1070

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: System hang at boot after kmod-nvidia installs

Post by hunter86_bg » 2019/03/24 06:38:39

Are you using stock kernel ?As Ryzens a are quite new , I believe that the best option is to get a newer kernel from epel or elrepo and only then install Nvidia drivers.

Someone with Nvidia should join this tread to clarify the situation there.

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: System hang at boot after kmod-nvidia installs

Post by TrevorH » 2019/03/24 12:16:07

You can't use the ELRepo kmod-nvidia and their kernel-ml/-lt at the same time. Their kmods only work with the stock kernel.

I'd recommend looking in /var/log/Xorg.0.log for info to see if anything there shows what the problem might be.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

mathew1805
Posts: 3
Joined: 2019/03/23 20:50:32

Re: System hang at boot after kmod-nvidia installs

Post by mathew1805 » 2019/03/24 13:07:15

Hey,
So here is the output of the uname command.
The version of the kernel is actually this one: 5.0.3-1.el7.elrepo.x86_64.

@TrevorH:
Do you mean that as I have an elrepo kernel, I can't use the kmod drivers? It's either the kernel or the mod drivers?
I tried to look at the Xorg.0.log, didn't understand much of it.
You will attached the Xorg.0.log file.

Thanks all for the help

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: System hang at boot after kmod-nvidia installs

Post by TrevorH » 2019/03/24 13:14:21

You cannot use kmod-nvidia with kernel-ml. It will be ignored and explains why it is not working. You must use kmod-nvidia with the distro stock kernel - currently 3.10.0-957.10.1.el7.

You must pick: either use the distro kernel with kmod-nvidia or use kernel-ml and download the nvidia proprietary driver as a .run file and run it to install it. If you take the latter route then be aware that each time the kernel is updated you will need to reinstall the .run file (and possibly upgrade it to a newer version).
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

mathew1805
Posts: 3
Joined: 2019/03/23 20:50:32

Re: System hang at boot after kmod-nvidia installs

Post by mathew1805 » 2019/03/24 13:39:55

I just installed the drivers and boot into the distro stock kernel, and this time it worked.
I removed also the kernel-ml version, since I won't use it if I can't get the proprietary drivers working.
I will have never figured it out by my own, so thanks for the help.

Post Reply