You are not logged in.

#1 2014-06-23 12:40:13

MariusMatutiae
Member
Registered: 2012-11-08
Posts: 31

[SOLVED] systemd-modules-load fails

.. because it cannot find gspca. My log:

journalctl  -xn
-- Logs begin at Thu 2013-08-22 11:43:18 CEST, end at Mon 2014-06-23 14:26:30 CEST. --
Jun 23 14:25:21 jiggs org.kde.knotify[1825]: "/org/freedesktop/UDisks2/block_devices/loop7" has new interfaces: ("org.
Jun 23 14:25:22 jiggs org.kde.knotify[1825]: "/org/freedesktop/UDisks2/block_devices/loop2" has new interfaces: ("org.
Jun 23 14:25:22 jiggs org.kde.knotify[1825]: "/org/freedesktop/UDisks2/block_devices/loop1" has new interfaces: ("org.
Jun 23 14:25:22 jiggs org.kde.knotify[1825]: "/org/freedesktop/UDisks2/block_devices/loop0" has new interfaces: ("org.
Jun 23 14:26:19 jiggs org.kde.knotify[1825]: "/org/freedesktop/UDisks2/block_devices/loop0" lost interfaces: ("org.fre
Jun 23 14:26:30 jiggs systemd[1]: Starting Load Kernel Modules...
-- Subject: Unit systemd-modules-load.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-modules-load.service has begun starting up.
Jun 23 14:26:30 jiggs systemd-modules-load[3138]: Failed to find module 'gspca'
Jun 23 14:26:30 jiggs systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
Jun 23 14:26:30 jiggs systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-modules-load.service has failed.
-- 
-- The result is failed.
Jun 23 14:26:30 jiggs systemd[1]: Unit systemd-modules-load.service entered failed state.

But I have lots of gspca's:

# ls  /lib/modules/`uname -r`/kernel/drivers/media/usb/gspca
gl860               gspca_kinect.ko    gspca_ov534.ko     gspca_sonixj.ko    gspca_sq905c.ko   gspca_topro.ko
gspca_benq.ko       gspca_konica.ko    gspca_pac207.ko    gspca_spca1528.ko  gspca_sq905.ko    gspca_tv8532.ko
gspca_conex.ko      gspca_main.ko      gspca_pac7302.ko   gspca_spca500.ko   gspca_sq930x.ko   gspca_vc032x.ko
gspca_cpia1.ko      gspca_mars.ko      gspca_pac7311.ko   gspca_spca501.ko   gspca_stk014.ko   gspca_vicam.ko
gspca_etoms.ko      gspca_mr97310a.ko  gspca_se401.ko     gspca_spca505.ko   gspca_stk1135.ko  gspca_xirlink_cit.ko
gspca_finepix.ko    gspca_nw80x.ko     gspca_sn9c2028.ko  gspca_spca506.ko   gspca_stv0680.ko  gspca_zc3xx.ko
gspca_jeilinj.ko    gspca_ov519.ko     gspca_sn9c20x.ko   gspca_spca508.ko   gspca_sunplus.ko  m5602
gspca_jl2005bcd.ko  gspca_ov534_9.ko   gspca_sonixb.ko    gspca_spca561.ko   gspca_t613.ko     stv06xx

The only difference I have with respect to a standard installation is that I downloaded an older version of the backport drivers, and in doing so I surely re-installed gspca.

So my questions are: where is systemd-module-load searching for gspca? How can I persuade it to search in the right directory? And in any case, why is it searching for it in the wrong place to start with?. Just in case,

# uname -a
Linux jiggs 3.15.1-1-ARCH #1 SMP PREEMPT Tue Jun 17 09:32:20 CEST 2014 x86_64 GNU/Linux

Last edited by MariusMatutiae (2014-06-26 09:10:22)

Offline

#2 2014-06-23 22:16:39

fungle
Member
Registered: 2014-05-01
Posts: 81

Re: [SOLVED] systemd-modules-load fails

What does

modinfo gspca

say? Does

insmod gspca

work. system-module-load simply reads the conf files it find in /etc/modules-load.d/ and /usr/lib/modules-load.d/ (see man modules-load.d) and loads the kernel modules it reads from those files. If you don't want the error, just find the file with the gspca line and edit it out. If you want to the load the module I think you need the full name of the gspca module you wish to load.

Last edited by fungle (2014-06-23 22:16:59)

Offline

#3 2014-06-24 00:05:10

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] systemd-modules-load fails

MariusMatutiae wrote:

The only difference I have with respect to a standard installation is that I downloaded an older version of the backport drivers, and in doing so I surely re-installed gspca.

What does this mean?  What exactly did you do?  Can you explain this a bit further?

Offline

#4 2014-06-26 09:09:33

MariusMatutiae
Member
Registered: 2012-11-08
Posts: 31

Re: [SOLVED] systemd-modules-load fails

Problem solved, thanks to both of you guys. For some resason, I had a webcam.conf file in /etc/modules-load.d containing the single line *gspca*, which is not a module: both modprobe and insmod fail, because the correct module name is one of those listed in /lib/modules/`uname -r`/kernel/drivers/media/usb/gspca. They are called gspca_benq.ko       gspca_konica.ko and so on. I simply deleted the file since I  do not need it.


As for backport drivers: this site, http://drvbp1.linux-foundation.org/~mcg … backports/ has the most recent versions of Linux drivers, backported so that older kernels can install them (I understand this is not a concern for fellow Archers). Whenever I need to upgrade (mostly on Debian) or downgrade (a few times on Arch, because an older version of a driver is free of a newly minted bug) I download these drivers, compile them and install them from source.

Offline

Board footer

Powered by FluxBB