You are not logged in.
Kernel: 3.12.9-2-ARCH
$ systemctl status systemd-modules.service
systemd-modules.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
Any ideas?
Thanks!
Last edited by hellolj (2014-02-21 11:17:50)
Offline
systemd-modules-load.service - Load Kernel Modules
systemctl list-unit-files
Offline
systemd-modules-load.service - Load Kernel Modules
systemctl list-unit-files
Sorry, I don't catch what you meant. Can you elaborate more on it?
Offline
It says "no such file" because you got the name wrong...
Offline
Kernel: 3.12.9-2-ARCH
$ systemctl status systemd-modules.service
systemd-modules.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)Any ideas?
Thanks!
Hi,
Random terminal output.
No clear intent or expected outcome.
Any ideas?
Thanks!
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Not a Kernel Issue, moving to NC...
Please read https://wiki.archlinux.org/index.php/Fo … ow_to_Post
Offline
It says "no such file" because you got the name wrong...
The following is the partial result of executing "systemctl list-units":
systemd-fsck@dev-sda6.service loaded active exited File System Check on /dev/sda6
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
[b]systemd-modules-load.service loaded failed failed Load Kernel Modules[/b]
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
And, I checked with "systemctl status systemd-modules-load.service", and it gives:
systemd-modules.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
Offline
Did you check /usr/lib/systemd/system/systemd-modules-load.service?
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/lib/systemd/systemd-modules-load
Offline
Did you check /usr/lib/systemd/system/systemd-modules-load.service?
[Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/lib/systemd/systemd-modules-load
Sorry for late reply.
Here is what I have in my /usr/lib/systemd/system/systemd-modules-load.service
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Load Kernel Modules
Documentation=man:systemd-modules-load.service(8) man:modules-load.d(5)
DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service
Before=sysinit.target shutdown.target
ConditionCapability=CAP_SYS_MODULE
ConditionDirectoryNotEmpty=|/lib/modules-load.d
ConditionDirectoryNotEmpty=|/usr/lib/modules-load.d
ConditionDirectoryNotEmpty=|/usr/local/lib/modules-load.d
ConditionDirectoryNotEmpty=|/etc/modules-load.d
ConditionDirectoryNotEmpty=|/run/modules-load.d
ConditionKernelCommandLine=|modules-load
ConditionKernelCommandLine=|rd.modules-load
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/lib/systemd/systemd-modules-load
I am a noob, cannot find out whethere there is anything wrong with it
Last edited by hellolj (2014-02-20 14:09:58)
Offline
And, I checked with "systemctl status systemd-modules-load.service", and it gives:
systemd-modules.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)
You most likely typed "systemctl status systemd-modules.service" instead of "systemctl status systemd-modules-load.service" or else you wouldn't have gotten the not-found error.
Offline
hellolj wrote:And, I checked with "systemctl status systemd-modules-load.service", and it gives:
systemd-modules.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)
You most likely typed "systemctl status systemd-modules.service" instead of "systemctl status systemd-modules-load.service" or else you wouldn't have gotten the not-found error.
Oops, you are right, I mistyped the correct command. Sorry.
$ systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
Active: failed (Result: exit-code) since Fri 2014-02-21; 1min 53s ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 125 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 125 (code=exited, status=1/FAILURE)
Feb 21 01:00:57 arch-hp systemd-modules-load[125]: Inserted module 'vboxdrv'
Feb 21 01:00:57 arch-hp systemd[1]: systemd-modules-load.service: main process exited, code=exited...LURE
Feb 21 01:00:57 arch-hp systemd[1]: Failed to start Load Kernel Modules.
Feb 21 01:00:57 arch-hp systemd[1]: Unit systemd-modules-load.service entered failed state.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Hint: Some lines were ellipsized, use -l to show in full.
Offline
Hint: Some lines were ellipsized, use -l to show in full.
Could you please read the output you get and follow the hints to see if you get additional information.
Check out https://wiki.archlinux.org/index.php/Sy … emd_errors
Offline
hellolj wrote:Hint: Some lines were ellipsized, use -l to show in full.
Could you please read the output you get and follow the hints to see if you get additional information.
Check out https://wiki.archlinux.org/index.php/Sy … emd_errors
I tried to follow the steps in the wiki article, but failed to get futher with 'journalctl':
$ systemctl status systemd-modules-load
systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
Active: failed (Result: exit-code) since Fri 2014-02-21 15:08:35 CST; 1min 3s ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 127 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 127 (code=exited, status=1/FAILURE)
Feb 21 15:08:35 arch-hp systemd[1]: systemd-modules-load.service: main process exited, code=exited...LURE
Feb 21 15:08:35 arch-hp systemd[1]: Failed to start Load Kernel Modules.
Feb 21 15:08:35 arch-hp systemd[1]: Unit systemd-modules-load.service entered failed state.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Hint: Some lines were ellipsized, use -l to show in full.
$ journalctl -b _PID=127
Failed to parse relative boot ID number '_PID=127'
Offline
$ journalctl -b _PID=127 Failed to parse relative boot ID number '_PID=127'
Try this instead:
$ journalctl -b 0 _PID=127
The '-b' flag can optionally be given a negative number to indicate which boot you would like to be shown (for example, 'journalctl -b -1' will show you the previous boot). So this way you are passing it that optional argument so that it knows for sure that the '_PID=127' is a new switch/argument*.
* Not sure if it would be considered a switch or an argument since it acts like a switch but looks like an argument.
Last edited by WonderWoofy (2014-02-21 05:37:55)
Offline
hellolj wrote:$ journalctl -b _PID=127 Failed to parse relative boot ID number '_PID=127'
Try this instead:
$ journalctl -b 0 _PID=127
The '-b' flag can optionally be given a negative number to indicate which boot you would like to be shown (for example, 'journalctl -b -1' will show you the previous boot). So this way you are passing it that optional argument so that it knows for sure that the '_PID=127' is a new switch/argument*.
* Not sure if it would be considered a switch or an argument since it acts like a switch but looks like an argument.
Thanks for the explaination!!! ; Here is the output by executing the command:
$ journalctl -b 0 _PID=127
-- Logs begin at Tue 2014-02-11 07:50:17 CST, end at Fri 2014-02-21 16:24:44 CST. --
Feb 21 22:06:02 arch-hp systemd-modules-load[127]: Inserted module 'vboxdrv'
Feb 21 22:06:02 arch-hp systemd-modules-load[127]: Failed to find module 'vboxsf'
Feb 21 22:06:02 arch-hp systemd-modules-load[127]: Failed to find module 'vboxvideo'
Also, I reinstalled the virtualbox and host module packages, rebooted but didn't get it fixed
$ pacman -Qs virtualbox
local/virtualbox 4.3.6-3
Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-guest-iso 4.3.6-1
The official VirtualBox Guest Additions ISO image
local/virtualbox-host-modules 4.3.6-4
Host kernel modules for VirtualBox
Last edited by hellolj (2014-02-21 06:12:41)
Offline
vboxsf and vboxvideo are guest modules, not host modules.
Offline
vboxsf and vboxvideo are guest modules, not host modules.
Damn, I must have added this when I was first installed virtualbox.
After deleting those two in my /etc/modules-load.d/virtualbox.conf
systemd-modules.service can now be loaded successfully.
Thank you all!
Offline