nvidia-driver вызывает сообщения об ошибках во время modprobe -i nvidia-current
Здравствуйте. уважаемые программисты и анонимус! Я установил драйвер nvidia-driver на Devuan (debian на sysvinit) по инструкциям так. Драйвер загружен, работает. Но я не могу понять, почему появляются сообщения об ошибках во время загрузки.
##https://phoenixnap.com/kb/nvidia-drivers-debian
##https://wiki.debian.org/NvidiaGraphicsDrivers
##nvidia driver:
#enavle chimaera contrib non-free
vim /etc/aptsources.list
deb http://deb.devuan.org/merged chimaera main contrib non-free
deb http://deb.devuan.org/merged chimaera-updates main contrib non-free
deb http://deb.devuan.org/merged chimaera-security main contrib non-free
#deb http://deb.devuan.org/merged chimaera-backports main contrib non-free
## source repositories
deb-src http://deb.devuan.org/merged chimaera main contrib non-free
deb-src http://deb.devuan.org/merged chimaera-updates main contrib non-free
deb-src http://deb.devuan.org/merged chimaera-security main contrib non-free
#deb-src http://deb.devuan.org/merged chimaera-backports main
apt update
apt install linux-headers-amd64
apt install firmware-misc-nonfree
apt install nvidia-driver nvidia-detect nvidia-persistenced
Но при загрузке всё время появляется сообщение:
udevd[147]: Error running install command ’modprobe -i nvidia-current ’ for module nvidia: retcode 1
Тем не менее, как я понимаю, драйвер работает, а при подключении модуля, ошибок нет:
# modprobe -i nvidia-current
#
# lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)
# nvidia-detect
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208B [GeForce GT 710] [10de:128b] (rev a1)
Checking card: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)
Your card is supported by all driver versions.
Your card is also supported by the Tesla 460 drivers series.
Your card is also supported by the Tesla 450 drivers series.
Your card is also supported by the Tesla 418 drivers series.
It is recommended to install the
nvidia-driver
package.
# lspci -v | grep -A 20 VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Dell GK208B [GeForce GT 710]
Flags: bus master, fast devsel, latency 0, IRQ 132, IOMMU group 1
Memory at db000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=128M]
Memory at d8000000 (64-bit, prefetchable) [size=32M]
I/O ports at 4000 [size=128]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Kernel driver in use: nvidia
Kernel modules: nvidia
01:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)
Subsystem: Dell GK208 HDMI/DP Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 17, IOMMU group 1
Memory at dc080000 (32-bit, non-prefetchable) [size=16K]
# dmesg | grep -C2 -i nvidia
[ 1.168303] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 1.169045] cryptd: max_cpu_qlen set to 1000
[ 1.173933] udevd[147]: Error running install command 'modprobe -i nvidia-current ' for module nvidia: retcode 1
[ 1.174539] AVX2 version of gcm_enc/dec engaged.
[ 1.174540] AES CTR mode by8 optimization enabled
--
[ 3.199605] iTCO_wdt: Found a Intel PCH TCO device (Version=6, TCOBASE=0x0400)
[ 3.199685] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 3.202764] nvidia: loading out-of-tree module taints kernel.
[ 3.202772] nvidia: module license 'NVIDIA' taints kernel.
[ 3.202773] Disabling lock debugging due to kernel taint
[ 3.214020] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 3.221537] input: Dell WMI hotkeys as /devices/platform/PNP0C14:02/wmi_bus/wmi_bus-PNP0C14:02/xxxxx-xxxxxx-xxxxx-xxxx-xxxxxxxx/input/input15
[ 3.230281] nvidia-nvlink: Nvlink Core is being initialized, major device number 243
[ 3.231299] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[ 3.240530] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0xFC, rev-id 1)
[ 3.292663] pstore: Using crash dump compression: deflate
[ 3.339287] pstore: Registered efi as persistent store backend
[ 3.355225] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 460.91.03 Fri Jul 2 06:04:10 UTC 2021
[ 3.384640] snd_hda_intel 0000:00:1f.3: enabling device (0100 -> 0102)
[ 3.384791] snd_hda_intel 0000:01:00.1: enabling device (0100 -> 0102)
--
[ 3.384832] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 3.385039] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 3.421623] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
[ 3.447042] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC891: line_outs=1 (0x21/0x0/0x0/0x0/0x0) type:line
[ 3.447044] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
--
[ 3.447048] snd_hda_codec_realtek hdaudioC0D0: Headphone Mic=0x19
[ 3.447048] snd_hda_codec_realtek hdaudioC0D0: Line=0x1a
[ 3.477539] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
[ 3.477645] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18
[ 3.477726] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
[ 3.477821] input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
[ 3.477911] logitech-djreceiver 0003:046D:C52B.0005: hiddev1,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-5.4/input2
[ 3.504459] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1f.3/sound/card0/input21
--
[ 5.297056] lp: driver loaded but no devices found
[ 5.304463] ppdev: user-space parallel port driver
[ 5.362909] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 460.91.03 Fri Jul 2 05:43:38 UTC 2021
[ 5.387848] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 5.387853] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[ 5.655716] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
[ 5.766435] audit: type=1400 audit(1645509782.807:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=1239 comm="apparmor_parser"
[ 5.767287] audit: type=1400 audit(1645509782.807:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-oopslash" pid=1238 comm="apparmor_parser"
[ 5.769222] audit: type=1400 audit(1645509782.807:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="system_tor" pid=1234 comm="apparmor_parser"
[ 5.769571] audit: type=1400 audit(1645509782.811:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=1240 comm="apparmor_parser"
[ 5.769575] audit: type=1400 audit(1645509782.811:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=1240 comm="apparmor_parser"
[ 5.771558] audit: type=1400 audit(1645509782.811:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" pid=1244 comm="apparmor_parser"
[ 5.774308] audit: type=1400 audit(1645509782.815:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=1247 comm="apparmor_parser"
Вот, что приводит к сообщениям в dmesg:
# ls -l /etc/nvidia/
total 4
drwxr-xr-x 2 root root 4096 Feb 22 09:06 current
lrwxrwxrwx 1 root root 56 Jan 31 18:45 nvidia-blacklists-nouveau.conf -> /etc/alternatives/nvidia--nvidia-blacklists-nouveau.conf
lrwxrwxrwx 1 root root 53 Jan 31 18:45 nvidia-drm-outputclass.conf -> /etc/alternatives/nvidia--nvidia-drm-outputclass.conf
lrwxrwxrwx 1 root root 42 Jan 31 18:45 nvidia-load.conf -> /etc/alternatives/nvidia--nvidia-load.conf
lrwxrwxrwx 1 root root 46 Jan 31 18:45 nvidia-modprobe.conf -> /etc/alternatives/nvidia--nvidia-modprobe.conf
# for i in /etc/nvidia/*.conf; do echo -e "\n===== $i ====="; cat $i; done
===== /etc/nvidia/nvidia-blacklists-nouveau.conf =====
# You need to run "update-initramfs -u" after editing this file.
# see #580894
blacklist nouveau
===== /etc/nvidia/nvidia-drm-outputclass.conf =====
# This xorg.conf.d configuration snippet configures the X server to
# automatically load the nvidia X driver when it detects a device driven by the
# nvidia-drm.ko kernel module. Please note that this only works on Linux kernels
# version 3.9 or higher with CONFIG_DRM enabled, and only if the nvidia-drm.ko
# kernel module is loaded before the X server is started.
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
EndSection
===== /etc/nvidia/nvidia-load.conf =====
nvidia-drm
===== /etc/nvidia/nvidia-modprobe.conf =====
install nvidia modprobe -i nvidia-current $CMDLINE_OPTS
install nvidia-modeset modprobe nvidia ; modprobe -i nvidia-current-modeset $CMDLINE_OPTS
install nvidia-drm modprobe nvidia-modeset ; modprobe -i nvidia-current-drm $CMDLINE_OPTS
install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-current-uvm $CMDLINE_OPTS
remove nvidia modprobe -r -i nvidia-drm nvidia-modeset nvidia-uvm nvidia
remove nvidia-modeset modprobe -r -i nvidia-drm nvidia-modeset
# These aliases are defined in *all* nvidia modules.
# Duplicating them here sets higher precedence and ensures the selected
# module gets loaded instead of a random first match if more than one
# version is installed. See #798207.
alias pci:v000010DEd00000E00sv*sd*bc04sc80i00* nvidia
alias pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00* nvidia
alias pci:v000010DEd*sv*sd*bc03sc02i00* nvidia
alias pci:v000010DEd*sv*sd*bc03sc00i00* nvidia
Подскажите, пожалуйста, работает ли драйвер nvidia, и как избавиться от сообщения об ошибке?