5

I installed Ubuntu 16.04.1 server version with my customized kernel. When booting, I see systemd-modules-load failed to start.

journalctl -xe error as below

-- Unit systemd-modules-load.service has begun starting up.
Jan 28 23:08:08 ubuntu systemd-modules-load[1278]: Failed to find module 'iscsi_tcp'
Jan 28 23:08:08 ubuntu systemd-modules-load[1278]: Failed to find module 'ib_iser'
Jan 28 23:08:08 ubuntu systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jan 28 23:08:08 ubuntu systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed

As the log mentioned, iscsi_tcp and ib_iser are failing to be loaded. However I cannot find where iscsi_tcp and ib_iser are defined.

man modules-load.d list below 3 paths:

   /etc/modules-load.d/*.conf
   /run/modules-load.d/*.conf
   /usr/lib/modules-load.d/*.conf

The existing one is /etc/modules-load.d/modules.conf, and it's empty. Where are iscsi_tcp and ib_iser defined?

Zanna
  • 69,223
  • 56
  • 216
  • 327
CSJ
  • 153
  • 1
  • 1
  • 5
  • For any other getting here but `systemctl status systemd-modules-load.service` showing problem with [tty0tty](https://github.com/freemed/tty0tty) null modem emulator, [here](https://askubuntu.com/a/588806/349837) is a solution. – Pablo Bianchi Dec 16 '18 at 08:00

1 Answers1

10

You need to edit /lib/modules-load.d/open-iscsi.conf:

nano /lib/modules-load.d/open-iscsi.conf

change from ib_iser to #ib_iser

F3 key followed by Enter key to save change, Ctrl+X to exit nano

To start services ...

systemctl restart systemd-modules-load.service

To check ...

systemctl status systemd-modules-load.service
Zanna
  • 69,223
  • 56
  • 216
  • 327
igpetru
  • 116
  • 2
  • 4