Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
root@VAIO:/home/szymon# journalctl -u systemd-modules-load.service -- Logs begin at nie 2016-07-10 15:31:58 CEST, end at nie 2016-07-10 18:09:37 CEST. -- lip 10 15:31:58 VAIO systemd-modules-load[153]: Inserted module 'lp' lip 10 15:31:58 VAIO systemd-modules-load[153]: Inserted module 'ppdev' lip 10 15:31:58 VAIO systemd-modules-load[153]: Inserted module 'parport_pc' lip 10 15:31:59 VAIO systemd-modules-load[153]: Inserted module 'fuse' lip 10 15:31:59 VAIO systemd-modules-load[153]: Inserted module 'ntfs' lip 10 15:31:59 VAIO systemd-modules-load[153]: Inserted module 'coretemp' lip 10 15:31:59 VAIO systemd-modules-load[153]: could not find module by name='nvidia_current' lip 10 15:31:59 VAIO systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE lip 10 15:31:59 VAIO systemd[1]: Failed to start Load Kernel Modules. lip 10 15:31:59 VAIO systemd[1]: Unit systemd-modules-load.service entered failed state. lip 10 15:32:04 VAIO systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE lip 10 15:32:04 VAIO systemd[1]: Failed to start Load Kernel Modules. lip 10 15:32:04 VAIO systemd[1]: Unit systemd-modules-load.service entered failed state.
Jak mogę usunąć ten błąd?
Nie jestem jeszcze zbyt biegły w systemd...
Podejrzewam, że jest to pozostałość w konfiguracji po module, który kiedyś kompilowałem.
Offline
Zaczal bym od sprawdzenia, czy nie zostaly jakies wpisy w /etc/modules-load.d/.
Offline
root@VAIO:/home/szymon# cat /etc/modules-load.d/modules.conf # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. ntfs coretemp
root@VAIO:/home/szymon# cat /etc/modules-load.d/nvidia.conf nvidia
root@VAIO:/home/szymon# lsmod | grep nvidia nvidia 10520142 42 drm 249998 3 nvidia i2c_core 46012 5 drm,i2c_i801,nvidia,v4l2_common,videodev
Offline
Nvidia-current - taką nazwę nadaje dkms po automatycznej budowie.
Zobacz, czy masz paczkę nvidia-kernel-dkms albo jakieś inne paczki z tej rodziny.
Ostatnio edytowany przez Jacekalex (2016-07-10 23:24:34)
Offline
Sterwoniki Nvidii instalowane z binarki po wybraniu DKMS w instalatorze też tak robią, a przynajmniej robiły.
Do tego [i]modules-load.d[/i] ładuje z następujących lokalizacji:
/etc/modules-load.d/*.conf /run/modules-load.d/*.conf /usr/lib/modules-load.d/*.conf
I zgodnie z założeniami nvidia powinna być w /usr/lib/. Zważywszy na fakt że ładowanie odbywa się w kolejności wymienionej powyżej, oraz nadrzędność też jest w tej kolejności. Więc konfiguracje w /etc omijają te w /run i /usr/lib. Te w /run omijają te w /usr/lib. Trochę inna logika niż zazwyczaj gdzie ostatni ładowany nadpisuje i omija konfiguracje wcześniejsze. Ta kolejności wynika z faktu, że /etc jest zarezerwowane dla admina który ma posiadać wpływ na to co użytkownik zainstalował (w tym też admin poprzez instalatory).
Offline
[quote=Jacekalex]Nvidia-current - taką nazwę nadaje dkms po automatycznej budowie.
Zobacz, czy masz paczkę nvidia-kernel-dkms albo jakieś inne paczki z tej rodziny.[/quote]
root@VAIO:/home/szymon# dpkg --list | grep nvidia ii glx-alternative-nvidia 0.7.3~bpo8+1 amd64 allows the selection of NVIDIA as GLX provider rc libegl1-nvidia:amd64 340.96-1 amd64 NVIDIA binary EGL libraries ii libegl1-nvidia-legacy-340xx:amd64 340.96-6~bpo8+1 amd64 NVIDIA binary EGL libraries (340xx legacy version) rc libgl1-nvidia-glx:amd64 340.96-1 amd64 NVIDIA binary OpenGL libraries ii libgl1-nvidia-legacy-340xx-glx:amd64 340.96-6~bpo8+1 amd64 NVIDIA binary OpenGL libraries (340xx legacy version) ii libgl1-nvidia-legacy-340xx-glx:i386 340.96-6~bpo8+1 i386 NVIDIA binary OpenGL libraries (340xx legacy version) ii libgl1-nvidia-legacy-340xx-glx-i386 340.96-6~bpo8+1 i386 NVIDIA binary OpenGL 32-bit libraries (340xx legacy version) rc libgles1-nvidia:amd64 340.96-1 amd64 NVIDIA binary OpenGL|ES 1.x libraries ii libgles1-nvidia-legacy-340xx:amd64 340.96-6~bpo8+1 amd64 NVIDIA binary OpenGL|ES 1.x libraries (340xx legacy version) rc libgles2-nvidia:amd64 340.96-1 amd64 NVIDIA binary OpenGL|ES 2.x libraries ii libgles2-nvidia-legacy-340xx:amd64 340.96-6~bpo8+1 amd64 NVIDIA binary OpenGL|ES 2.x libraries (340xx legacy version) rc libnvidia-eglcore:amd64 340.96-1 amd64 NVIDIA binary EGL core libraries ii libnvidia-legacy-340xx-eglcore:amd64 340.96-6~bpo8+1 amd64 NVIDIA binary EGL core libraries (340xx legacy version) ii libnvidia-legacy-340xx-ml1:amd64 340.96-6~bpo8+1 amd64 NVIDIA Management Library (NVML) runtime library rc libnvidia-ml1:amd64 340.96-1 amd64 NVIDIA Management Library (NVML) runtime library rc nvidia-alternative 340.96-1 amd64 allows the selection of NVIDIA as GLX provider ii nvidia-detect 340.96-1 amd64 NVIDIA GPU detection utility ii nvidia-installer-cleanup 20141201+1 amd64 cleanup after driver installation with the nvidia-installer ii nvidia-kernel-common 20151021+1~bpo8+1 amd64 NVIDIA binary kernel module support files ii nvidia-legacy-340xx-alternative 340.96-6~bpo8+1 amd64 allows the selection of NVIDIA as GLX provider ii nvidia-legacy-340xx-driver 340.96-6~bpo8+1 amd64 NVIDIA metapackage (340xx legacy version) ii nvidia-legacy-340xx-driver-bin 340.96-6~bpo8+1 amd64 NVIDIA driver support binaries (340xx legacy version) ii nvidia-legacy-340xx-kernel-dkms 340.96-6~bpo8+1 amd64 NVIDIA binary kernel module DKMS source (340xx legacy version) ii nvidia-legacy-340xx-kernel-support 340.96-6~bpo8+1 amd64 NVIDIA binary kernel module support files (340xx legacy version) ii nvidia-legacy-340xx-vdpau-driver:amd64 340.96-6~bpo8+1 amd64 Video Decode and Presentation API for Unix - NVIDIA driver ii nvidia-modprobe 340.46-1 amd64 utility to load NVIDIA kernel modules and create device nodes ii nvidia-persistenced 358.09-1~bpo8+1 amd64 daemon to maintain persistent software state in the NVIDIA driver rc nvidia-settings 340.46-2 amd64 tool for configuring the NVIDIA graphics driver ii nvidia-settings-legacy-340xx 340.93-1~bpo8+1 amd64 tool for configuring the NVIDIA graphics driver (340xx legacy version) ii nvidia-support 20141201+1 amd64 NVIDIA binary graphics driver support files rc nvidia-vdpau-driver:amd64 340.96-1 amd64 Video Decode and Presentation API for Unix - NVIDIA driver rc xserver-xorg-video-nvidia 340.96-1 amd64 NVIDIA binary Xorg driver ii xserver-xorg-video-nvidia-legacy-340xx 340.96-6~bpo8+1 amd64 NVIDIA binary Xorg driver (340xx legacy version)
[b]@qluk:[/b]
/etc/modules-load.d/*.conf
root@VAIO:/home/szymon# cat /etc/modules-load.d/*.conf # Parallel printer driver modules loading for cups # LOAD_LP_MODULE was 'yes' in /etc/default/cups lp ppdev parport_pc # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. ntfs coretempnvidia
/run/modules-load.d/*.conf
root@VAIO:/home/szymon# ls /run/modules-load.d/ ls: nie ma dostępu do /run/modules-load.d/: Nie ma takiego pliku ani katalogu
/usr/lib/modules-load.d/*.conf
root@VAIO:/home/szymon# cat /usr/lib/modules-load.d/*.conf cat: /usr/lib/modules-load.d/*.conf: Nie ma takiego pliku ani katalogu root@VAIO:/home/szymon# ls /usr/lib/modules-load.d/ root@VAIO:/home/szymon#
Mam natomiast w etc folder nvidia a w nim:
root@VAIO:/home/szymon# cat /etc/nvidia/* cat: /etc/nvidia/legacy-340xx: Jest katalogiem # You need to run "update-initramfs -u" after editing this file. # see #580894 blacklist nouveau # This xorg.conf.d configuration snippet configures the X server to # automatically load the nvidia driver when it detects a device driven by the # nvidia.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.ko # kernel module is loaded before the X server is started. Section "OutputClass" Identifier "nvidia" MatchDriver "nvidia-drm" Driver "nvidia" EndSection nvidia alias nvidia nvidia-current remove nvidia-current rmmod nvidia-uvm nvidia
root@VAIO:/home/szymon# cat /etc/nvidia/legacy-340xx/* # You need to run "update-initramfs -u" after editing this file. # see #580894 blacklist nouveau # This xorg.conf.d configuration snippet configures the X server to # automatically load the nvidia driver when it detects a device driven by the # nvidia.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.ko # kernel module is loaded before the X server is started. Section "OutputClass" Identifier "nvidia" MatchDriver "nvidia-drm" Driver "nvidia" EndSection nvidia install nvidia modprobe -i nvidia-legacy-340xx $CMDLINE_OPTS install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-legacy-340xx-uvm $CMDLINE_OPTS remove nvidia modprobe -r -i nvidia-uvm nvidia # 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
Offline
Z jakiego to pliku?
nvidia alias nvidia nvidia-current remove nvidia-current rmmod nvidia-uvm nvidia
Offline
root@VAIO:/home/szymon# cat /etc/nvidia/nvidia-modprobe.conf alias nvidia nvidia-current remove nvidia-current rmmod nvidia-uvm nvidia
Offline
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00006 | SET NAMES latin2 |
0.00094 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.133.139.28' WHERE u.id=1 |
0.00083 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.133.139.28', 1732507824) |
0.00046 | SELECT * FROM punbb_online WHERE logged<1732507524 |
0.00099 | SELECT topic_id FROM punbb_posts WHERE id=303170 |
0.00006 | SELECT id FROM punbb_posts WHERE topic_id=28776 ORDER BY posted |
0.00052 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=28776 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00151 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=28776 ORDER BY p.id LIMIT 0,25 |
0.00117 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=28776 |
Total query time: 0.00669 s |