counter
Posts: 17
Joined: Mon May 12, 2014 9:28 pm

kernel modul dm_mod missing

Sat Aug 15, 2020 2:40 pm

Hello,

I used my luks encrypted HDD on the raspberry pi.

Mounting worked until now, I need to mount my HDD asap, how can I fix this?

Code: Select all

sudo insmod dm_mod
insmod: ERROR: could not load module dm_mod: No such file or directory

trejan
Posts: 3978
Joined: Tue Jul 02, 2019 2:28 pm

Re: kernel modul dm_mod missing

Sat Aug 15, 2020 2:43 pm

It is dm-mod not dm_mod.

counter
Posts: 17
Joined: Mon May 12, 2014 9:28 pm

Re: kernel modul dm_mod missing

Sat Aug 15, 2020 2:52 pm

Ok, I could find a hint here:
https://forum.openmediavault.org/index. ... el-module/

Just a reinstall fixed it.

Code: Select all

sudo apt-get install --reinstall --yes raspberrypi-bootloader raspberrypi-kernel
[\code]

[code]
sudo modprobe -v dm_mod
insmod /lib/modules/5.4.51-v7+/kernel/drivers/md/dm-mod.ko 
There is no modprobe now for both dm_mod or dm-mod

But what cased this problem in the first place?

trejan
Posts: 3978
Joined: Tue Jul 02, 2019 2:28 pm

Re: kernel modul dm_mod missing

Sat Aug 15, 2020 3:41 pm

Ah. It is looking for _ and - so either works.

Your kernel updated and it removed the old modules but you hadn't rebooted yet so were still using the old kernel.

counter
Posts: 17
Joined: Mon May 12, 2014 9:28 pm

Re: kernel modul dm_mod missing

Sat Aug 15, 2020 4:55 pm

Thanks.

Return to “Troubleshooting”