View Issue Details

IDProjectCategoryView StatusLast Update
0001064channel: elrepo/el8kmod-nvidiapublic2020-12-23 15:28
Reportermabarkdoll Assigned Topperry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
OSCentOSOS Version8 
Summary0001064: Unable to install NVIDIA drivers for GTX 745 CentOS 8
Description# nvidia-detect
kmod-nvidia
WARNING: Xorg log file /var/log/Xorg.0.log does not exist
WARNING: Unable to determine Xorg ABI compatibility
WARNING: The driver for this device does not support the current Xorg version

$ nvidia-detect -v
Probing for supported NVIDIA devices...
[10de:1382] NVIDIA Corporation GM107 [GeForce GTX 745]
This device requires the current 440.64 NVIDIA driver kmod-nvidia
WARNING: Xorg log file /var/log/Xorg.0.log does not exist
WARNING: Unable to determine Xorg ABI compatibility
WARNING: The driver for this device does not support the current Xorg version

$ yum install kmod-nvidia

Reboot
Fails to boot

I have wayland disabled.

uname -a
Linux 4.18.0-240.1.1.el8_3.x86_64 #1 SMP Thu Nov 19 17:20:08 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/os-release
NAME="CentOS Linux"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
Steps To Reproduce$ yum install kmod-nvidia

$ dracut -fv --regenerate-all
dracut-install: Failed to find module 'nvidia'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.WxRp6B/initramfs -N nouveau --kerneldir /lib/modules/4.18.0-147.5.1.el8_1.x86_64/ -m nvidia

See files for complete log of the commands.
Additional Information$ getsebool domain_can_mmap_files
domain_can_mmap_files --> on

$ cat /etc/gdm/custom.conf
# GDM configuration storage

[daemon]
# Uncoment the line below to force the login screen to use Xorg
WaylandEnable=false

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
#Enable=true
TagsNo tags attached.
Attached Files
kmod-nvidia.txt (7,130 bytes)   
yum install kmod-nvidia
Last metadata expiration check: 2:09:57 ago on Tue 22 Dec 2020 01:37:10 PM CST.
Dependencies resolved.
==============================================================================================================================
 Package                           Architecture         Version                                 Repository               Size
==============================================================================================================================
Installing:
 kmod-nvidia                       x86_64               450.80.02-3.el8_3.elrepo                elrepo                   11 M
Installing dependencies:
 egl-wayland                       x86_64               1.1.4-1.el8                             appstream                33 k
 libvdpau                          x86_64               1.4-2.el8                               appstream                41 k
 nvidia-x11-drv                    x86_64               450.80.02-3.el8_3.elrepo                elrepo                  3.0 M
 nvidia-x11-drv-libs               x86_64               450.80.02-3.el8_3.elrepo                elrepo                   88 M
 ocl-icd                           x86_64               2.2.12-1.el8                            appstream                51 k
 opencl-filesystem                 noarch               1.0-6.el8                               appstream               8.4 k

Transaction Summary
==============================================================================================================================
Install  7 Packages

Total download size: 103 M
Installed size: 364 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): libvdpau-1.4-2.el8.x86_64.rpm                                                          167 kB/s |  41 kB     00:00
(2/7): egl-wayland-1.1.4-1.el8.x86_64.rpm                                                     125 kB/s |  33 kB     00:00
(3/7): ocl-icd-2.2.12-1.el8.x86_64.rpm                                                        178 kB/s |  51 kB     00:00
(4/7): opencl-filesystem-1.0-6.el8.noarch.rpm                                                 183 kB/s | 8.4 kB     00:00
(5/7): nvidia-x11-drv-450.80.02-3.el8_3.elrepo.x86_64.rpm                                     2.2 MB/s | 3.0 MB     00:01
(6/7): kmod-nvidia-450.80.02-3.el8_3.elrepo.x86_64.rpm                                        6.7 MB/s |  11 MB     00:01
(7/7): nvidia-x11-drv-libs-450.80.02-3.el8_3.elrepo.x86_64.rpm                                 18 MB/s |  88 MB     00:04
------------------------------------------------------------------------------------------------------------------------------
Total                                                                                          18 MB/s | 103 MB     00:05
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                          1/1
  Installing       : opencl-filesystem-1.0-6.el8.noarch                                                                                                                       1/7
  Installing       : ocl-icd-2.2.12-1.el8.x86_64                                                                                                                              2/7
  Running scriptlet: ocl-icd-2.2.12-1.el8.x86_64                                                                                                                              2/7
  Installing       : libvdpau-1.4-2.el8.x86_64                                                                                                                                3/7
  Installing       : egl-wayland-1.1.4-1.el8.x86_64                                                                                                                           4/7
  Installing       : nvidia-x11-drv-libs-450.80.02-3.el8_3.elrepo.x86_64                                                                                                      5/7
  Running scriptlet: nvidia-x11-drv-libs-450.80.02-3.el8_3.elrepo.x86_64                                                                                                      5/7
  Installing       : kmod-nvidia-450.80.02-3.el8_3.elrepo.x86_64                                                                                                              6/7
  Running scriptlet: kmod-nvidia-450.80.02-3.el8_3.elrepo.x86_64                                                                                                              6/7
  Installing       : nvidia-x11-drv-450.80.02-3.el8_3.elrepo.x86_64                                                                                                           7/7
  Running scriptlet: nvidia-x11-drv-450.80.02-3.el8_3.elrepo.x86_64                                                                                                           7/7
  Running scriptlet: kmod-nvidia-450.80.02-3.el8_3.elrepo.x86_64                                                                                                              7/7
  Running scriptlet: nvidia-x11-drv-450.80.02-3.el8_3.elrepo.x86_64                                                                                                           7/7
  Verifying        : egl-wayland-1.1.4-1.el8.x86_64                                                                                                                           1/7
  Verifying        : libvdpau-1.4-2.el8.x86_64                                                                                                                                2/7
  Verifying        : ocl-icd-2.2.12-1.el8.x86_64                                                                                                                              3/7
  Verifying        : opencl-filesystem-1.0-6.el8.noarch                                                                                                                       4/7
  Verifying        : kmod-nvidia-450.80.02-3.el8_3.elrepo.x86_64                                                                                                              5/7
  Verifying        : nvidia-x11-drv-450.80.02-3.el8_3.elrepo.x86_64                                                                                                           6/7
  Verifying        : nvidia-x11-drv-libs-450.80.02-3.el8_3.elrepo.x86_64                                                                                                      7/7
Installed products updated.

Installed:
  egl-wayland-1.1.4-1.el8.x86_64                                 kmod-nvidia-450.80.02-3.el8_3.elrepo.x86_64                         libvdpau-1.4-2.el8.x86_64
  nvidia-x11-drv-450.80.02-3.el8_3.elrepo.x86_64                 nvidia-x11-drv-libs-450.80.02-3.el8_3.elrepo.x86_64                 ocl-icd-2.2.12-1.el8.x86_64
  opencl-filesystem-1.0-6.el8.noarch

Complete!
kmod-nvidia.txt (7,130 bytes)   
dracut.txt (23,287 bytes)   
]# dracut -fv --regenerate-all
dracut: Executing: /usr/bin/dracut --kver=4.18.0-147.3.1.el8_1.x86_64 -fv
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'ifcfg' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut: dracut module 'stratis' will not be installed, because command 'stratisd-init' could not be found!
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: memstrack is available
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut: dracut module 'stratis' will not be installed, because command 'stratisd-init' could not be found!
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: nss-softokn ***
dracut: *** Including module: rngd ***
dracut: *** Including module: i18n ***
dracut: *** Including module: network-legacy ***
dracut: *** Including module: network ***
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: clevis ***
dracut: *** Including module: clevis-pin-sss ***
dracut: *** Including module: clevis-pin-tang ***
dracut: *** Including module: clevis-pin-tpm2 ***
dracut: *** Including module: prefixdevname ***
dracut: *** Including module: crypt ***
dracut: *** Including module: dm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 60-persistent-storage-dm.rules
dracut: Skipping udev rule: 55-dm.rules
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: kernel-modules-extra ***
dracut: *** Including module: kernel-network-modules ***
dracut: *** Including module: lvm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 56-lvm.rules
dracut: Skipping udev rule: 60-persistent-storage-lvm.rules
dracut: *** Including module: resume ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: *** Including module: biosdevname ***
dracut: *** Including module: dracut-systemd ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: memstrack ***
dracut: *** Including module: microcode_ctl-fw_dir_override ***
dracut:   microcode_ctl module: mangling fw_dir
dracut:     microcode_ctl: reset fw_dir to "/lib/firmware/updates /lib/firmware"
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel"...
intel: model '', path ' intel-ucode/*', kvers ''
intel: blacklist ''
dracut:       microcode_ctl: intel: caveats check for kernel version "4.18.0-147.3.1.el8_1.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel" to fw_dir variable
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07"...
intel-06-2d-07: model 'GenuineIntel 06-2d-07', path ' intel-ucode/06-2d-07', kvers ''
intel-06-2d-07: blacklist ''
Current CPU model 'GenuineIntel 06-3c-03' doesn't match configuration CPU model 'GenuineIntel 06-2d-07', skipping
dracut:     microcode_ctl: configuration "intel-06-2d-07" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4e-03"...
intel-06-4e-03: model 'GenuineIntel 06-4e-03', path ' intel-ucode/06-4e-03', kvers ''
intel-06-4e-03: blacklist ''
Current CPU model 'GenuineIntel 06-3c-03' doesn't match configuration CPU model 'GenuineIntel 06-4e-03', skipping
dracut:     microcode_ctl: configuration "intel-06-4e-03" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01"...
intel-06-4f-01: model 'GenuineIntel 06-4f-01', path ' intel-ucode/06-4f-01', kvers ' 4.17.0 3.10.0-894 3.10.0-862.6.1 3.10.0-693.35.1 3.10.0-514.52.1 3.10.0-327.70.1 2.6.32-754.1.1 2.6.32-573.58.1 2.6.32-504.71.1 2.6.32-431.90.1 2.6.32-358.90.1'
intel-06-4f-01: blacklist ''
Current CPU model 'GenuineIntel 06-3c-03' doesn't match configuration CPU model 'GenuineIntel 06-4f-01', skipping
dracut:     microcode_ctl: configuration "intel-06-4f-01" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04"...
intel-06-55-04: model 'GenuineIntel 06-55-04', path ' intel-ucode/06-55-04', kvers ''
intel-06-55-04: blacklist ''
Current CPU model 'GenuineIntel 06-3c-03' doesn't match configuration CPU model 'GenuineIntel 06-55-04', skipping
dracut:     microcode_ctl: configuration "intel-06-55-04" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03"...
intel-06-5e-03: model 'GenuineIntel 06-5e-03', path ' intel-ucode/06-5e-03', kvers ''
intel-06-5e-03: blacklist ''
Current CPU model 'GenuineIntel 06-3c-03' doesn't match configuration CPU model 'GenuineIntel 06-5e-03', skipping
dracut:     microcode_ctl: configuration "intel-06-5e-03" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-0xca"...
intel-06-8e-9e-0x-0xca: model '', path ' intel-ucode/*', kvers ''
intel-06-8e-9e-0x-0xca: blacklist ''
No matching microcode files in ' intel-ucode/*' for CPU model 'GenuineIntel 06-3c-03', skipping
dracut:     microcode_ctl: configuration "intel-06-8e-9e-0x-0xca" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-dell"...
intel-06-8e-9e-0x-dell: model '', path ' intel-ucode/*', kvers ''
intel-06-8e-9e-0x-dell: blacklist ''
No matching microcode files in ' intel-ucode/*' for CPU model 'GenuineIntel 06-3c-03', skipping
dracut:     microcode_ctl: configuration "intel-06-8e-9e-0x-dell" is ignored
dracut:     microcode_ctl: final fw_dir: "/usr/share/microcode_ctl/ucode_with_caveats/intel /lib/firmware/updates /lib/firmware"
dracut: *** Including module: shutdown ***
dracut: *** Including modules done ***
dracut-install: Failed to find module 'nvidia'
dracut: FAILED:  /usr/lib/dracut/dracut-install -D /var/tmp/dracut.bFZ4Yf/initramfs -N nouveau --kerneldir /lib/modules/4.18.0-147.3.1.el8_1.x86_64/ -m nvidia
dracut: *** Installing kernel module dependencies ***
dracut: *** Installing kernel module dependencies done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done***
dracut: *** Hardlinking files ***
dracut: *** Hardlinking files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing GenuineIntel.bin ****
dracut: *** Store current command line parameters ***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Creating image file '/boot/initramfs-4.18.0-147.3.1.el8_1.x86_64.img' ***
dracut: *** Creating initramfs image file '/boot/initramfs-4.18.0-147.3.1.el8_1.x86_64.img' done ***
dracut: Executing: /usr/bin/dracut --kver=4.18.0-147.5.1.el8_1.x86_64 -fv
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'ifcfg' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut: dracut module 'stratis' will not be installed, because command 'stratisd-init' could not be found!
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: memstrack is available
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut: dracut module 'stratis' will not be installed, because command 'stratisd-init' could not be found!
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: nss-softokn ***
dracut: *** Including module: rngd ***
dracut: *** Including module: i18n ***
dracut: *** Including module: network-legacy ***
dracut: *** Including module: network ***
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: clevis ***
dracut: *** Including module: clevis-pin-sss ***
dracut: *** Including module: clevis-pin-tang ***
dracut: *** Including module: clevis-pin-tpm2 ***
dracut: *** Including module: prefixdevname ***
dracut: *** Including module: crypt ***
dracut: *** Including module: dm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 60-persistent-storage-dm.rules
dracut: Skipping udev rule: 55-dm.rules
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: kernel-modules-extra ***
dracut: *** Including module: kernel-network-modules ***
dracut: *** Including module: lvm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 56-lvm.rules
dracut: Skipping udev rule: 60-persistent-storage-lvm.rules
dracut: *** Including module: resume ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: *** Including module: biosdevname ***
dracut: *** Including module: dracut-systemd ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: memstrack ***
dracut: *** Including module: microcode_ctl-fw_dir_override ***
dracut:   microcode_ctl module: mangling fw_dir
dracut:     microcode_ctl: reset fw_dir to "/lib/firmware/updates /lib/firmware"
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel"...
intel: model '', path ' intel-ucode/*', kvers ''
intel: blacklist ''
dracut:       microcode_ctl: intel: caveats check for kernel version "4.18.0-147.5.1.el8_1.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel" to fw_dir variable
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07"...
intel-06-2d-07: model 'GenuineIntel 06-2d-07', path ' intel-ucode/06-2d-07', kvers ''
intel-06-2d-07: blacklist ''
Current CPU model 'GenuineIntel 06-3c-03' doesn't match configuration CPU model 'GenuineIntel 06-2d-07', skipping
dracut:     microcode_ctl: configuration "intel-06-2d-07" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4e-03"...
intel-06-4e-03: model 'GenuineIntel 06-4e-03', path ' intel-ucode/06-4e-03', kvers ''
intel-06-4e-03: blacklist ''
Current CPU model 'GenuineIntel 06-3c-03' doesn't match configuration CPU model 'GenuineIntel 06-4e-03', skipping
dracut:     microcode_ctl: configuration "intel-06-4e-03" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01"...
intel-06-4f-01: model 'GenuineIntel 06-4f-01', path ' intel-ucode/06-4f-01', kvers ' 4.17.0 3.10.0-894 3.10.0-862.6.1 3.10.0-693.35.1 3.10.0-514.52.1 3.10.0-327.70.1 2.6.32-754.1.1 2.6.32-573.58.1 2.6.32-504.71.1 2.6.32-431.90.1 2.6.32-358.90.1'
intel-06-4f-01: blacklist ''
Current CPU model 'GenuineIntel 06-3c-03' doesn't match configuration CPU model 'GenuineIntel 06-4f-01', skipping
dracut:     microcode_ctl: configuration "intel-06-4f-01" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04"...
intel-06-55-04: model 'GenuineIntel 06-55-04', path ' intel-ucode/06-55-04', kvers ''
intel-06-55-04: blacklist ''
Current CPU model 'GenuineIntel 06-3c-03' doesn't match configuration CPU model 'GenuineIntel 06-55-04', skipping
dracut:     microcode_ctl: configuration "intel-06-55-04" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03"...
intel-06-5e-03: model 'GenuineIntel 06-5e-03', path ' intel-ucode/06-5e-03', kvers ''
intel-06-5e-03: blacklist ''
Current CPU model 'GenuineIntel 06-3c-03' doesn't match configuration CPU model 'GenuineIntel 06-5e-03', skipping
dracut:     microcode_ctl: configuration "intel-06-5e-03" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-0xca"...
intel-06-8e-9e-0x-0xca: model '', path ' intel-ucode/*', kvers ''
intel-06-8e-9e-0x-0xca: blacklist ''
No matching microcode files in ' intel-ucode/*' for CPU model 'GenuineIntel 06-3c-03', skipping
dracut:     microcode_ctl: configuration "intel-06-8e-9e-0x-0xca" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-dell"...
intel-06-8e-9e-0x-dell: model '', path ' intel-ucode/*', kvers ''
intel-06-8e-9e-0x-dell: blacklist ''
No matching microcode files in ' intel-ucode/*' for CPU model 'GenuineIntel 06-3c-03', skipping
dracut:     microcode_ctl: configuration "intel-06-8e-9e-0x-dell" is ignored
dracut:     microcode_ctl: final fw_dir: "/usr/share/microcode_ctl/ucode_with_caveats/intel /lib/firmware/updates /lib/firmware"
dracut: *** Including module: shutdown ***
dracut: *** Including modules done ***
dracut-install: Failed to find module 'nvidia'
dracut: FAILED:  /usr/lib/dracut/dracut-install -D /var/tmp/dracut.WxRp6B/initramfs -N nouveau --kerneldir /lib/modules/4.18.0-147.5.1.el8_1.x86_64/ -m nvidia
dracut: *** Installing kernel module dependencies ***
dracut: *** Installing kernel module dependencies done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done***
dracut: *** Hardlinking files ***
dracut: *** Hardlinking files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing GenuineIntel.bin ****
dracut: *** Store current command line parameters ***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Creating image file '/boot/initramfs-4.18.0-147.5.1.el8_1.x86_64.img' ***
dracut: *** Creating initramfs image file '/boot/initramfs-4.18.0-147.5.1.el8_1.x86_64.img' done ***
dracut: Executing: /usr/bin/dracut --kver=4.18.0-240.1.1.el8_3.x86_64 -fv
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'ifcfg' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut: dracut module 'stratis' will not be installed, because command 'stratisd-init' could not be found!
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: memstrack is available
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut: dracut module 'stratis' will not be installed, because command 'stratisd-init' could not be found!
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: nss-softokn ***
dracut: *** Including module: rngd ***
dracut: *** Including module: i18n ***
dracut: *** Including module: network-legacy ***
dracut: *** Including module: network ***
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: clevis ***
dracut: *** Including module: clevis-pin-sss ***
dracut: *** Including module: clevis-pin-tang ***
dracut: *** Including module: clevis-pin-tpm2 ***
dracut: *** Including module: prefixdevname ***
dracut: *** Including module: crypt ***
dracut: *** Including module: dm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 60-persistent-storage-dm.rules
dracut: Skipping udev rule: 55-dm.rules
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: kernel-modules-extra ***
dracut: *** Including module: kernel-network-modules ***
dracut: *** Including module: lvm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 56-lvm.rules
dracut: Skipping udev rule: 60-persistent-storage-lvm.rules
dracut: *** Including module: resume ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: *** Including module: biosdevname ***
dracut: *** Including module: dracut-systemd ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: memstrack ***
dracut: *** Including module: microcode_ctl-fw_dir_override ***
dracut:   microcode_ctl module: mangling fw_dir
dracut:     microcode_ctl: reset fw_dir to "/lib/firmware/updates /lib/firmware"
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel"...
intel: model '', path ' intel-ucode/*', kvers ''
intel: blacklist ''
dracut:       microcode_ctl: intel: caveats check for kernel version "4.18.0-240.1.1.el8_3.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel" to fw_dir variable
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07"...
intel-06-2d-07: model 'GenuineIntel 06-2d-07', path ' intel-ucode/06-2d-07', kvers ''
intel-06-2d-07: blacklist ''
Current CPU model 'GenuineIntel 06-3c-03' doesn't match configuration CPU model 'GenuineIntel 06-2d-07', skipping
dracut:     microcode_ctl: configuration "intel-06-2d-07" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4e-03"...
intel-06-4e-03: model 'GenuineIntel 06-4e-03', path ' intel-ucode/06-4e-03', kvers ''
intel-06-4e-03: blacklist ''
Current CPU model 'GenuineIntel 06-3c-03' doesn't match configuration CPU model 'GenuineIntel 06-4e-03', skipping
dracut:     microcode_ctl: configuration "intel-06-4e-03" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01"...
intel-06-4f-01: model 'GenuineIntel 06-4f-01', path ' intel-ucode/06-4f-01', kvers ' 4.17.0 3.10.0-894 3.10.0-862.6.1 3.10.0-693.35.1 3.10.0-514.52.1 3.10.0-327.70.1 2.6.32-754.1.1 2.6.32-573.58.1 2.6.32-504.71.1 2.6.32-431.90.1 2.6.32-358.90.1'
intel-06-4f-01: blacklist ''
Current CPU model 'GenuineIntel 06-3c-03' doesn't match configuration CPU model 'GenuineIntel 06-4f-01', skipping
dracut:     microcode_ctl: configuration "intel-06-4f-01" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04"...
intel-06-55-04: model 'GenuineIntel 06-55-04', path ' intel-ucode/06-55-04', kvers ''
intel-06-55-04: blacklist ''
Current CPU model 'GenuineIntel 06-3c-03' doesn't match configuration CPU model 'GenuineIntel 06-55-04', skipping
dracut:     microcode_ctl: configuration "intel-06-55-04" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03"...
intel-06-5e-03: model 'GenuineIntel 06-5e-03', path ' intel-ucode/06-5e-03', kvers ''
intel-06-5e-03: blacklist ''
Current CPU model 'GenuineIntel 06-3c-03' doesn't match configuration CPU model 'GenuineIntel 06-5e-03', skipping
dracut:     microcode_ctl: configuration "intel-06-5e-03" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-0xca"...
intel-06-8e-9e-0x-0xca: model '', path ' intel-ucode/*', kvers ''
intel-06-8e-9e-0x-0xca: blacklist ''
No matching microcode files in ' intel-ucode/*' for CPU model 'GenuineIntel 06-3c-03', skipping
dracut:     microcode_ctl: configuration "intel-06-8e-9e-0x-0xca" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-dell"...
intel-06-8e-9e-0x-dell: model '', path ' intel-ucode/*', kvers ''
intel-06-8e-9e-0x-dell: blacklist ''
No matching microcode files in ' intel-ucode/*' for CPU model 'GenuineIntel 06-3c-03', skipping
dracut:     microcode_ctl: configuration "intel-06-8e-9e-0x-dell" is ignored
dracut:     microcode_ctl: final fw_dir: "/usr/share/microcode_ctl/ucode_with_caveats/intel /lib/firmware/updates /lib/firmware"
dracut: *** Including module: shutdown ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies ***
dracut: *** Installing kernel module dependencies done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done***
dracut: *** Hardlinking files ***
dracut: *** Hardlinking files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing GenuineIntel.bin ****
dracut: *** Store current command line parameters ***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Creating image file '/boot/initramfs-4.18.0-240.1.1.el8_3.x86_64.img' ***
dracut: *** Creating initramfs image file '/boot/initramfs-4.18.0-240.1.1.el8_3.x86_64.img' done ***
dracut.txt (23,287 bytes)   

Activities

pperry

2020-12-22 18:23

administrator   ~0007380

Unfortunately you have not provided anything that may help identify what the problem may be. Everything you've provided looks normal other than the fact you say it fails to reboot.

When you says fails to reboot, can you be more descriptive. At what point does it fail. Can you provide message logs / Xorg logs showing the failure.

spekbukkem

2020-12-23 06:31

reporter   ~0007381

I'm encountering the same issues. First issue I could find was that the module files are located in /lib/modules/4.18.0-240. However, the correct kernel number is 4.8.0.240.1.1. Simply copying the files to /lib/modules/4.18.0-240.1.1 did not help. I also noticed errors in dmesg:
NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0x65:1239)
NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
I'm using an 1050 Ti by the way. I currently build the rpm from source on my own build system by providing the correct kernel version number. I will check if this fixes the issue. (By the way, the same is true for the 455.x module that is currently in testing: also the wrong kernel version is used_

spekbukkem

2020-12-23 07:14

reporter   ~0007382

This indeed seems to have fixed the issue. I've used the source rpm to rebuild the driver and only changed the kernel version number to: 4.18.0-240.1.1.el8_3. I forgot to mention that I'm using centos 8.3. Although this will be the last supported release of centos before the fully switch to stream, I assume the kernel version should not be different from any other RHEL8.3 based system :S. So hopefully this could be fixed for the elrepo release of knmod-nvidia,,,

spekbukkem

2020-12-23 07:44

reporter   ~0007383

Sorry. My conclusion was to early. Although the modules are now available, most of the time I'm unable to do so. The Xorg.0.log displays the errors:
(EE) Screen(s) found, but none have a usable configuration
(EE) no screens found(EE)
(EE)
The dmesg still displays the errors mentioned before.
I was lucky the first time I tried with the recompiled module: sometimes it seems to works. But most of the time it fails with the above errors :(

pperry

2020-12-23 07:54

administrator   ~0007384

These drivers are provided as kABI-tracking packages. What that means, in this case, is that the driver is built against kernel-4.18.0-240.el8.x86_64 but the modules will weak-link against other kABI-compatible kernels.

Please show the output from:

find /lib/modules -name nvidia\*

and you should see the module weak-linked against /lib/modules/<kernel version>/weak-updates/nvidia/

If the nvidia kernel modules are not in weak-updates/nvidia for each kernel version, then that kernel is not compatible.

To troubleshoot, you could start by booting the 4.18.0-240.el8.x86_64 kernel, against which the modules were built. That would at least eliminate any kABI incompatibility from the equation. Once we have things working for kernel-4.18.0-240.el8.x86_64 we can investigate if there is breakage against other kernels.

spekbukkem

2020-12-23 08:27

reporter   ~0007385

You are indeed correct. I did not notice the symbolic link:
/lib/modules/4.18.0-240.1.1.el8_3.x86_64/weak-updates/nvidia
/lib/modules/4.18.0-240.1.1.el8_3.x86_64/weak-updates/nvidia/nvidia-drm.ko
/lib/modules/4.18.0-240.1.1.el8_3.x86_64/weak-updates/nvidia/nvidia-modeset.ko
/lib/modules/4.18.0-240.1.1.el8_3.x86_64/weak-updates/nvidia/nvidia-uvm.ko
/lib/modules/4.18.0-240.1.1.el8_3.x86_64/weak-updates/nvidia/nvidia.ko
/lib/modules/4.18.0-240.el8.x86_64/extra/nvidia
/lib/modules/4.18.0-240.el8.x86_64/extra/nvidia/nvidia-drm.ko
/lib/modules/4.18.0-240.el8.x86_64/extra/nvidia/nvidia-modeset.ko
/lib/modules/4.18.0-240.el8.x86_64/extra/nvidia/nvidia-uvm.ko
/lib/modules/4.18.0-240.el8.x86_64/extra/nvidia/nvidia.ko
I was previously testing an older kernel, but this was failing because the kernel module was no longer available (due to the update to kmod-nvidia-450.80.02). I wrongly concluded this was also the cause of my current issue. I will check if the errors are indeed still the same now.

spekbukkem

2020-12-23 08:36

reporter   ~0007386

It seems that I was able to resolve the issue: I installed dkms (to support auto update to a new kernel for a kernel module used by gcdemu). I've removed dkms, and the issues seems to be resolved in my case. It now always seems to boot fine. Sorry for the inconvenience caused by this.

mabarkdoll

2020-12-23 14:38

reporter   ~0007387

I think the previous issue was that dracut wasn't unlocking the hard disk at boot up.ca Sorry, I didn't have logging enabled so I can't output it.

Anyway, I tried again today and it appears to be working.

$ nvidia-smi
Wed Dec 23 13:39:53 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.80.02 Driver Version: 450.80.02 CUDA Version: 11.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 745 Off | 00000000:01:00.0 Off | N/A |
| 20% 32C P8 N/A / N/A | 148MiB / 4040MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2433 G /usr/libexec/Xorg 33MiB |
| 0 N/A N/A 2741 G /usr/bin/gnome-shell 110MiB |
+-----------------------------------------------------------------------------+

$ journalctl -b-0 -p err
-- Logs begin at Tue 2020-12-22 12:26:05 CST, end at Wed 2020-12-23 13:44:31 CST. --
Dec 23 13:33:32 CS-PC192-43.AD.SIU.EDU kernel: ima: Error Communicating to TPM chip
Dec 23 13:33:32 CS-PC192-43.AD.SIU.EDU kernel: ima: Error Communicating to TPM chip
Dec 23 13:33:32 CS-PC192-43.AD.SIU.EDU kernel: ima: Error Communicating to TPM chip
Dec 23 13:33:32 CS-PC192-43.AD.SIU.EDU kernel: ima: Error Communicating to TPM chip
Dec 23 13:33:32 CS-PC192-43.AD.SIU.EDU kernel: ima: Error Communicating to TPM chip
Dec 23 13:33:32 CS-PC192-43.AD.SIU.EDU kernel: ima: Error Communicating to TPM chip
Dec 23 13:33:32 CS-PC192-43.AD.SIU.EDU kernel: ima: Error Communicating to TPM chip
Dec 23 13:33:32 CS-PC192-43.AD.SIU.EDU kernel: ima: Error Communicating to TPM chip
Dec 23 13:36:55 CS-PC192-43.AD.SIU.EDU systemd[2157]: Failed to start Mark boot as successful.


So all seems well now. Closing the issue.

pperry

2020-12-23 15:27

administrator   ~0007388

Great, thank you for reporting back - much appreciated.

Glad it's working - closing

Issue History

Date Modified Username Field Change
2020-12-22 16:49 mabarkdoll New Issue
2020-12-22 16:49 mabarkdoll Status new => assigned
2020-12-22 16:49 mabarkdoll Assigned To => pperry
2020-12-22 16:49 mabarkdoll File Added: kmod-nvidia.txt
2020-12-22 16:49 mabarkdoll File Added: dracut.txt
2020-12-22 18:23 pperry Note Added: 0007380
2020-12-23 06:31 spekbukkem Note Added: 0007381
2020-12-23 07:14 spekbukkem Note Added: 0007382
2020-12-23 07:44 spekbukkem Note Added: 0007383
2020-12-23 07:54 pperry Note Added: 0007384
2020-12-23 08:27 spekbukkem Note Added: 0007385
2020-12-23 08:36 spekbukkem Note Added: 0007386
2020-12-23 14:38 mabarkdoll Note Added: 0007387
2020-12-23 15:27 pperry Note Added: 0007388
2020-12-23 15:28 pperry Status assigned => resolved
2020-12-23 15:28 pperry Resolution open => no change required
2020-12-23 15:28 pperry Description Updated
2020-12-23 15:28 pperry Steps to Reproduce Updated
2020-12-23 15:28 pperry Additional Information Updated