[opensuse] What file do I edit to fix 'systemd-modules-load' Failure?
All, I have had this frustrating error on boot of Leap 42.2 ever since I installed, then uninstalled, the Nvidia drivers for my laptop. (I have since reinstalled the drivers after we got the backlight bug triaged and a xrandr workaround). However, I still have this nagging module fail to load error on every boot -- which I've ignored, but want to fix before attempting a 42.3 upgrade. The error is: Dec 19 19:18:54 wizard systemd-modules-load[110]: Failed to insert 'ppp_mppe': No such device Dec 19 19:18:54 wizard systemd-udevd[191]: Network interface NamePolicy= disabled by default. Dec 19 19:18:54 wizard systemd-modules-load[110]: Inserted module 'sg' Dec 19 19:18:54 wizard kernel: SCSI subsystem initialized Dec 19 19:18:54 wizard systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE Dec 19 19:18:54 wizard systemd[1]: Failed to start Load Kernel Modules. Dec 19 19:18:54 wizard systemd[1]: systemd-modules-load.service: Unit entered failed state. Dec 19 19:18:54 wizard systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. I don't know why it is looking for 'ppp_mppe' and don't know if it was related to the nvidia driver install/remove/reinstall, but it has been present ever since. There must be some file in the systemd-modules-load chain that is trying to load the module. What is that file and where does it live so I can go delete the 'ppp_mppe' entry. There is nothing in /etc/modules-load.d/, so where to check? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2017-12-19 at 19:32 -0600, David C. Rankin wrote: /usr/src/linux-4.4.90-18.32/drivers/net/ppp/ppp_mppe.c * ppp_mppe.c - interface MPPE to the PPP code. * This version is for use with Linux kernel 2.6.14+ ... MODULE_AUTHOR("Frank Cusack <@.com>"); MODULE_DESCRIPTION("Point-to-Point Protocol Microsoft Point-to-Point Encryption support"); MODULE_LICENSE("Dual BSD/GPL"); MODULE_ALIAS("ppp-compress-" __stringify(CI_MPPE)); MODULE_VERSION("1.0.2"); Doesn't seem related at all to Nvidia.
I don't know why it is looking for 'ppp_mppe' and don't know if it was related to the nvidia driver install/remove/reinstall, but it has been present ever since. There must be some file in the systemd-modules-load chain that is trying to load the module. What is that file and where does it live so I can go delete the 'ppp_mppe' entry. There is nothing in /etc/modules-load.d/, so where to check?
Grep the entire /etc for files and contents... - -- Cheers, Carlos E. R. (from openSUSE 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlo5w1wACgkQtTMYHG2NR9UkpgCfSGeZ+1fcecjOvyNBbzYKLrbf VzAAn2gREDnvYZMrm2ndy5gYovwArsob =hGhy -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
20.12.2017 04:32, David C. Rankin пишет:
I don't know why it is looking for 'ppp_mppe' and don't know if it was related to the nvidia driver install/remove/reinstall, but it has been present ever since. There must be some file in the systemd-modules-load chain that is trying to load the module. What is that file and where does it live so I can go delete the 'ppp_mppe' entry. There is nothing in /etc/modules-load.d/, so where to check?
Boot with systemd.log_level=debug, this will enable debug output showing which file is being processed. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/19/2017 09:39 PM, Andrei Borzenkov wrote:
20.12.2017 04:32, David C. Rankin пишет:
I don't know why it is looking for 'ppp_mppe' and don't know if it was related to the nvidia driver install/remove/reinstall, but it has been present ever since. There must be some file in the systemd-modules-load chain that is trying to load the module. What is that file and where does it live so I can go delete the 'ppp_mppe' entry. There is nothing in /etc/modules-load.d/, so where to check?
Boot with systemd.log_level=debug, this will enable debug output showing which file is being processed.
Andre, Per, Thanks, I got it fixed. There must be a bug in the Leap 42.2 pptpd package. It installs a conf file in /usr/lib/modules-load.d that ultimately attempts to load the 'ppp_mppe' module that apparently doesn't exist in the kernel. # rpm -e pptpd and # dracut -f (one hell of a name for mkinitrd...) fixed the problem. I enabled, LogLevel=debug LogTarget=journal-or-kmsg and checked the journal before removing pptpd, but the messages regarding the modules did not show the file that was responsible for some reason. Ultimately, I just dumped the systemd-modules-load.server and checked each location, e.g. $ cat /usr/lib/systemd/system/systemd-modules-load.service which gave me the list that Per shared, e.g [Unit] Description=Load Kernel Modules Documentation=man:systemd-modules-load.service(8) man:modules-load.d(5) DefaultDependencies=no Conflicts=shutdown.target 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 which pointed me to /usr/lib/modules-load.d The joys of rooting though systemd, dracut, plymouth, etc..... -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
David C. Rankin wrote:
Andre, Per,
Thanks, I got it fixed. There must be a bug in the Leap 42.2 pptpd package. It installs a conf file in /usr/lib/modules-load.d that ultimately attempts to load the 'ppp_mppe' module that apparently doesn't exist in the kernel.
It does in fact exist # modinfo ppp_mppe filename: /lib/modules/4.4.92-31-default/kernel/drivers/net/ppp/ppp_mppe.ko version: 1.0.2 alias: ppp-compress-18 [snip] I think it can't be loaded because some device is missing - remarkably, I had no trouble loading it on my test-system: test99:~ # modprobe ppp_mppe test99:~ # lsmod Module Size Used by arc4 16384 0 ecb 16384 0 ppp_mppe 16384 0 ppp_generic 40960 1 ppp_mppe slhc 16384 1 ppp_generic from dmesg: [254095.092245] PPP generic driver version 2.4.2 [254095.110947] PPP MPPE Compression module registered -- Per Jessen, Zürich (1.3°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/20/2017 01:43 AM, Per Jessen wrote:
I think it can't be loaded because some device is missing - remarkably,
My guess is a real modem is missing, but I'm not going to use my laptop as a dial-in-server (remember pap and chap secrets?). The best solution in my case was just to rpm -e pptpd and rebuild initramfs and be done with it :) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
David C. Rankin wrote:
On 12/20/2017 01:43 AM, Per Jessen wrote:
I think it can't be loaded because some device is missing - remarkably,
My guess is a real modem is missing, but I'm not going to use my
My testbox doesn't have a modem either.
laptop as a dial-in-server (remember pap and chap secrets?).
CHAP is still in use for iSCSI authentication :-) -- Per Jessen, Zürich (2.1°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
David C. Rankin wrote:
I don't know why it is looking for 'ppp_mppe' and don't know if it was related to the nvidia driver install/remove/reinstall, but it has been present ever since. There must be some file in the systemd-modules-load chain that is trying to load the module. What is that file and where does it live so I can go delete the 'ppp_mppe' entry. There is nothing in /etc/modules-load.d/, so where to check?
Check the other directories: # systemctl cat systemd-modules-load.service [snip] 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 Mine are all empty. -- Per Jessen, Zürich (1.6°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Andrei Borzenkov
-
Carlos E. R.
-
David C. Rankin
-
Per Jessen