I’m not sure if this is relevant but maybe systemd is causing the issue.
root@5a54ff0:/usr/src/app# systemctl status systemd-modules-load
● systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2020-06-08 19:27:31 UTC; 11min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 72 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 72 (code=exited, status=1/FAILURE)
Jun 08 19:27:31 5a54ff0 systemd-modules-load[72]: Failed to find module 'matrixio-everloop'
Jun 08 19:27:31 5a54ff0 systemd-modules-load[72]: Failed to find module 'matrixio-gpio'
Jun 08 19:27:31 5a54ff0 systemd-modules-load[72]: Failed to find module 'matrixio-imu'
Jun 08 19:27:31 5a54ff0 systemd-modules-load[72]: Failed to find module 'matrixio-env'
Jun 08 19:27:31 5a54ff0 systemd-modules-load[72]: Failed to find module 'matrixio-mic'
Jun 08 19:27:31 5a54ff0 systemd-modules-load[72]: Failed to find module 'matrixio-playback'
Jun 08 19:27:31 5a54ff0 systemd-modules-load[72]: Failed to find module 'matrixio-codec'
Jun 08 19:27:31 5a54ff0 systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jun 08 19:27:31 5a54ff0 systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jun 08 19:27:31 5a54ff0 systemd[1]: Failed to start Load Kernel Modules.
root@5a54ff0:/usr/src/app# lsmod
Module Size Used by
ip6t_REJECT 16384 1
nf_reject_ipv6 16384 1 ip6t_REJECT
ipt_REJECT 16384 1
nf_reject_ipv4 16384 1 ipt_REJECT
xt_state 16384 0
ip6table_filter 16384 1
matrixio_regmap 61440 0
matrixio_imu 16384 0
matrixio_env 16384 0
matrixio_gpio 16384 0
matrixio_playback 49152 0
matrixio_mic 16384 0
matrixio_codec 16384 1
matrixio_everloop 16384 0
matrixio_uart 16384 0
matrixio_core 16384 7 matrixio_everloop,matrixio_regmap,matrixio_playback,matrixio_imu,matrixio_mic,matrixio_uart,matrixio_env
industrialio 73728 2 matrixio_imu,matrixio_env
snd_soc_core 192512 3 matrixio_playback,matrixio_codec,matrixio_mic
snd_compress 20480 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_dummy 24576 1
dummy 16384 0
ip6_tables 24576 1 ip6table_filter
bnep 20480 2
hci_uart 40960 1
btbcm 16384 1 hci_uart
serdev 20480 1 hci_uart
ipt_MASQUERADE 16384 3
nf_conntrack_netlink 40960 0
bluetooth 397312 24 hci_uart,bnep,btbcm
nfnetlink 16384 2 nf_conntrack_netlink
ecdh_generic 28672 1 bluetooth
br_netfilter 24576 0
xt_owner 16384 0
i2c_dev 20480 0
spidev 20480 0
brcmfmac 319488 0
brcmutil 20480 1 brcmfmac
bcm2835_v4l2 49152 0
bcm2835_codec 36864 0
sha256_generic 20480 0
v4l2_mem2mem 24576 1 bcm2835_codec
bcm2835_mmal_vchiq 32768 2 bcm2835_codec,bcm2835_v4l2
raspberrypi_hwmon 16384 0
hwmon 16384 1 raspberrypi_hwmon
v4l2_common 16384 1 bcm2835_v4l2
snd_bcm2835 24576 1
videobuf2_dma_contig 20480 1 bcm2835_codec
cfg80211 630784 1 brcmfmac
videobuf2_vmalloc 16384 1 bcm2835_v4l2
videobuf2_memops 16384 2 videobuf2_dma_contig,videobuf2_vmalloc
snd_pcm 98304 6 matrixio_playback,snd_pcm_dmaengine,matrixio_mic,snd_bcm2835,snd_soc_core,snd_dummy
videobuf2_v4l2 24576 3 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem
rfkill 28672 6 bluetooth,cfg80211
videobuf2_common 45056 4 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
lan78xx 49152 0
snd_timer 32768 1 snd_pcm
videodev 200704 6 bcm2835_codec,v4l2_common,videobuf2_common,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
snd 73728 11 snd_compress,matrixio_playback,snd_timer,snd_bcm2835,snd_soc_core,snd_dummy,snd_pcm
media 36864 3 bcm2835_codec,videodev,v4l2_mem2mem
i2c_bcm2835 16384 0
vc_sm_cma 36864 1 bcm2835_mmal_vchiq
spi_bcm2835 20480 0
uio_pdrv_genirq 16384 0
uio 20480 1 uio_pdrv_genirq
fixed 16384 0
sch_fq_codel 20480 4
root@5a54ff0:/usr/src/app#
Systemd says failed to find module however lsmod shows its loaded.