[opensuse-factory] openafs: failed to load kernel modules, but openafs works
Hi, after the last upgrade (20150430), I see the following error on tty1 screen: [FAILED] Failed to start Load Kernel Modules See "systemctl status systemd-modules-load.service" for details. The above command shows: -> systemctl status systemd-modules-load.service systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2015-05-01 22:05:02 CEST; 17min ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 748 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE) Main PID: 748 (code=exited, status=1/FAILURE) Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable. -> sudo journalctl -b _PID=748 -- Logs begin at Thu 2015-03-26 11:24:41 CET, end at Fri 2015-05-01 22:22:42 CEST. -- May 01 22:05:02 ex-lt21 systemd-modules-load[748]: Failed to find module 'exec /sbin/modprobe openafs' But openafs works: I can log into my work afs node and browse it. Systemd tells me: -> systemctl status openafs-client.service openafs-client.service - OpenAFS Client Loaded: loaded (/usr/lib/systemd/system/openafs-client.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2015-05-01 22:05:09 CEST; 25min ago Process: 1017 ExecStart=/usr/sbin/afsd $AFSD_ARGS (code=exited, status=0/SUCCESS) Process: 988 ExecStartPre=/sbin/modprobe libafs (code=exited, status=0/SUCCESS) Main PID: 1043 (afsd) CGroup: /system.slice/openafs-client.service └─1043 /usr/sbin/afsd -fakestat -memcache 102400 -dynroot -afsdb Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable. Should I worry and/or report a bug? Do you need any other info? Have a nice evening, Fra -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, May 1, 2015 at 5:47 PM, Francesco Montesano <franz.bergesund@gmail.com> wrote:
Hi,
after the last upgrade (20150430), I see the following error on tty1 screen:
[FAILED] Failed to start Load Kernel Modules See "systemctl status systemd-modules-load.service" for details.
The above command shows:
-> systemctl status systemd-modules-load.service systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2015-05-01 22:05:02 CEST; 17min ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 748 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE) Main PID: 748 (code=exited, status=1/FAILURE)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
-> sudo journalctl -b _PID=748 -- Logs begin at Thu 2015-03-26 11:24:41 CET, end at Fri 2015-05-01 22:22:42 CEST. -- May 01 22:05:02 ex-lt21 systemd-modules-load[748]: Failed to find module 'exec /sbin/modprobe openafs'
But openafs works: I can log into my work afs node and browse it. Systemd tells me:
-> systemctl status openafs-client.service openafs-client.service - OpenAFS Client Loaded: loaded (/usr/lib/systemd/system/openafs-client.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2015-05-01 22:05:09 CEST; 25min ago Process: 1017 ExecStart=/usr/sbin/afsd $AFSD_ARGS (code=exited, status=0/SUCCESS) Process: 988 ExecStartPre=/sbin/modprobe libafs (code=exited, status=0/SUCCESS) Main PID: 1043 (afsd) CGroup: /system.slice/openafs-client.service └─1043 /usr/sbin/afsd -fakestat -memcache 102400 -dynroot -afsdb
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Should I worry and/or report a bug? Do you need any other info?
Yes, there are a few things wrong here: - You should not call modprobe from service files, - Ideally, once you start the afsd daemon, the kernel autoloads the needed drivers on demand. - If that is not possible, use modules.load.d as a last resort. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, 1 May 2015 22:47, Francesco Montesano wrote:
after the last upgrade (20150430), I see the following error on tty1 screen:
[FAILED] Failed to start Load Kernel Modules See "systemctl status systemd-modules-load.service" for details.
The above command shows:
-> systemctl status systemd-modules-load.service systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2015-05-01 22:05:02 CEST; 17min ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 748 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE) Main PID: 748 (code=exited, status=1/FAILURE)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
-> sudo journalctl -b _PID=748 -- Logs begin at Thu 2015-03-26 11:24:41 CET, end at Fri 2015-05-01 22:22:42 CEST. -- May 01 22:05:02 ex-lt21 systemd-modules-load[748]: Failed to find module 'exec /sbin/modprobe openafs'
But openafs works: I can log into my work afs node and browse it. Systemd tells me:
A few thing to ponder: 1. Is there a kernel module "openafs" at all? -- No, see: (ls -R /lib/modules/*/kernel/fs/*afs* ) 2. Just what has put an entry "openafs" into any *.conf the systemd-modules-load.service parses? (man 5 modules-load.d) and (man 8 systemd-modules-load.service) 3. The openafs.service should do the necessary loading itself. IMHO something is more than a little fishy here. - Yamaban. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Il giorno sab 2 mag 2015 alle ore 00:43 Yamaban <foerster@lisas.de> ha scritto:
On Fri, 1 May 2015 22:47, Francesco Montesano wrote:
after the last upgrade (20150430), I see the following error on tty1 screen:
[FAILED] Failed to start Load Kernel Modules See "systemctl status systemd-modules-load.service" for details.
The above command shows:
-> systemctl status systemd-modules-load.service systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2015-05-01 22:05:02 CEST; 17min ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 748 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE) Main PID: 748 (code=exited, status=1/FAILURE)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
-> sudo journalctl -b _PID=748 -- Logs begin at Thu 2015-03-26 11:24:41 CET, end at Fri 2015-05-01 22:22:42 CEST. -- May 01 22:05:02 ex-lt21 systemd-modules-load[748]: Failed to find module 'exec /sbin/modprobe openafs'
But openafs works: I can log into my work afs node and browse it. Systemd tells me:
A few thing to ponder:
1. Is there a kernel module "openafs" at all? -- No, see: (ls -R /lib/modules/*/kernel/fs/*afs* )
2. Just what has put an entry "openafs" into any *.conf the systemd-modules-load.service parses? (man 5 modules-load.d) and (man 8 systemd-modules-load.service)
3. The openafs.service should do the necessary loading itself.
IMHO something is more than a little fishy here.
- Yamaban. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi, thanks for the replies. For the records: I haven't edited any config/systemd/... files related with afs. I've installed openafs from the filesystem repo on April the 27th and yesterday I did a dist upgrade. These are the installed afs packages: i | openafs | OpenAFS Distributed File System | package i | openafs-client | OpenAFS File System Client | package i | openafs-docs | OpenAFS user and administrator documentation | package i | openafs-kmp-desktop | OpenAFS Distributed File System - kernel module | package i | openafs-krb5-mit | OpenAFS programs to use with krb5 | package @Yamaban: -> ls -R /lib/modules/*/kernel/fs/*afs* /lib/modules/3.19.4-1-desktop/kernel/fs/afs: kafs.ko /lib/modules/4.0.0-1-desktop/kernel/fs/afs: kafs.ko About your second question I'm only sure that wasn't me :D Cheers, Fra -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
В Sat, 2 May 2015 08:40:41 +0200 Francesco Montesano <franz.bergesund@gmail.com> пишет:
May 01 22:05:02 ex-lt21 systemd-modules-load[748]: Failed to find module 'exec /sbin/modprobe openafs'
...
-> ls -R /lib/modules/*/kernel/fs/*afs* /lib/modules/3.19.4-1-desktop/kernel/fs/afs: kafs.ko
/lib/modules/4.0.0-1-desktop/kernel/fs/afs: kafs.ko
"modinfo openafs" is better way to check whether the module is available. It may not be in the same directory you think it should be. But yes, openafs does not exist here on 13.2 as well. You should check which packages puts openafs in /etc/modules-load.d and open bug report against it. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Francesco, On Sat, May 02, 2015 at 08:40:41AM +0200, Francesco Montesano wrote: [ 8< ]
thanks for the replies. For the records: I haven't edited any config/systemd/... files related with afs. I've installed openafs from the filesystem repo on April the 27th and yesterday I did a dist upgrade.
dist upgrade == you called zypper dup? By doing so you risk to pull in more than needed other packages from the additional repository you added. Please use zypper up instead to lower this risk. That's the supported approach for Tumbleweed too. Compared to a released (open)SUSE version where zypper patch is the default command to maintain the system. As long as you've no non default repositories configured. Cheers, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team + SUSE Labs SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02.05.2015 Lars Müller wrote:
Please use zypper up instead to lower this risk. That's the supported approach for Tumbleweed too.
Oh, please, not again. We had this topic too often on the list. Johannes -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlVFzlYACgkQzi3gQ/xETbL3FgCfUBsNGkdIxb61CVteRtxuvEwk vn8AoJ/g9hCDoSjktoyNm4d6XFSgoO8h =U0KQ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/02/2015 10:38 AM, Lars Müller wrote:
Hi Francesco,
On Sat, May 02, 2015 at 08:40:41AM +0200, Francesco Montesano wrote: [ 8< ]
thanks for the replies. For the records: I haven't edited any config/systemd/... files related with afs. I've installed openafs from the filesystem repo on April the 27th and yesterday I did a dist upgrade.
dist upgrade == you called zypper dup?
By doing so you risk to pull in more than needed other packages from the additional repository you added.
Please use zypper up instead to lower this risk. That's the supported approach for Tumbleweed too.
No it is not! Check the WIKI. the supported upgrade method for TW is zypper dup as each new release is an distribution upgrade NOT a simple update. -- Ken Schneider -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi, Going back on topic, I've explored a bit more. The offending file "/usr/lib/modules-load.d/openafs-client.conf" is part of the package "openafs-client-1.6.11.1-1.5.x86_64" (and was also of the "openafs-client-1.6.11.1-1.4.x86_64" one). I've searched on the openafs website for TW rpms and the most recent is from v1.6.7 of about an year ago and it does not contain the above configuration file. For the 1.6.11.1 version I have found only a bunch of source tar files and a source rpm (targeted to Fedora and RH according to the link caption). The source for sure does *not* contatain the above file. So I *guess* it has been added by the filesystem maintainers. From the first emails I got the impression that the above file should not be there. If this is the case should I follow the factory link here (https://en.opensuse.org/openSUSE:Submitting_bug_reports#Accessing_Bugzilla), register and report the case pointing to this thread? Cheers, Fra 2015-05-04 17:29 GMT+02:00 Ken Schneider - Factory <suse-list3@bout-tyme.net>:
On 05/02/2015 10:38 AM, Lars Müller wrote:
Hi Francesco,
On Sat, May 02, 2015 at 08:40:41AM +0200, Francesco Montesano wrote: [ 8< ]
thanks for the replies. For the records: I haven't edited any config/systemd/... files related with afs. I've installed openafs from the filesystem repo on April the 27th and yesterday I did a dist upgrade.
dist upgrade == you called zypper dup?
By doing so you risk to pull in more than needed other packages from the additional repository you added.
Please use zypper up instead to lower this risk. That's the supported approach for Tumbleweed too.
No it is not! Check the WIKI. the supported upgrade method for TW is zypper dup as each new release is an distribution upgrade NOT a simple update.
-- Ken Schneider
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, May 4, 2015 at 5:42 PM, Francesco Montesano <franz.bergesund@gmail.com> wrote:
Hi,
Going back on topic, I've explored a bit more.
The offending file "/usr/lib/modules-load.d/openafs-client.conf" is part of the package "openafs-client-1.6.11.1-1.5.x86_64" (and was also of the "openafs-client-1.6.11.1-1.4.x86_64" one).
There is no such package in Tumbleweed.. where did you got it ? rpm -q --queryformat '%{vendor}' "openafs-client-1.6.11.1-1.4.x86_64 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi, Il giorno lun 4 mag 2015 alle ore 23:58 Cristian Rodríguez <crrodriguez@opensuse.org> ha scritto:
On Mon, May 4, 2015 at 5:42 PM, Francesco Montesano <franz.bergesund@gmail.com> wrote:
Hi,
Going back on topic, I've explored a bit more.
The offending file "/usr/lib/modules-load.d/openafs-client.conf" is part of the package "openafs-client-1.6.11.1-1.5.x86_64" (and was also of the "openafs-client-1.6.11.1-1.4.x86_64" one).
There is no such package in Tumbleweed.. where did you got it ?
It's not in the standard TW repos, but it exists here: https://software.opensuse.org/package/openafs-client Since the almost the beginning I said that was from the filesystem repo. The afs client got updated from 1.6.11.1-1.4 to v1.6.11.1-1.5 a few days ago.
rpm -q --queryformat '%{vendor}' "openafs-client-1.6.11.1-1.4.x86_64
-> rpm -q --queryformat '%{vendor}\n' "openafs-client-1.6.11.1-1.5.x86_64" obs://build.opensuse.org/filesystems Cheers, Fra -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (7)
-
Andrei Borzenkov
-
Cristian Rodríguez
-
Francesco Montesano
-
Johannes Kastl
-
Ken Schneider - Factory
-
Lars Müller
-
Yamaban