[Solved] Modeprobe: module dm-raid45 not found in modules.dep

Quick to answer questions about finding your way around LMDE as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums within the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
cooky
Level 1
Level 1
Posts: 42
Joined: Tue Mar 31, 2020 7:08 am

[Solved] Modeprobe: module dm-raid45 not found in modules.dep

Post by cooky »

Hi Guys,

I know that it's known bug and I found many solutions for it. However, before I mess up something I would ask you what is the proper solution to solve this issue.

It appears during the boot, although system works fine.

Thanks,
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Moonstone Man
Level 16
Level 16
Posts: 6078
Joined: Mon Aug 27, 2012 10:17 pm

Re: Modeprobe: module dm-raid45 not found in modules.dep

Post by Moonstone Man »

cooky wrote: Wed Aug 05, 2020 5:06 am I know that it's known bug and I found many solutions for it. However, before I mess up something I would ask you what is the proper solution to solve this issue.
It would be best if you posted the links to the many solutions you found, and posted the output of inxi -Fxz from a terminal then enclose it in code tags [code]output.here[/code]. You'll see the code tags icon </> when you reply.
cooky
Level 1
Level 1
Posts: 42
Joined: Tue Mar 31, 2020 7:08 am

Re: Modeprobe: module dm-raid45 not found in modules.dep

Post by cooky »

As you wish Kadaitcha Man :-)

http://forums.debian.net/viewtopic.php?t=113616

http://gparted-forum.surf4.info/viewtopic.php?id=17145

https://www.reddit.com/r/linuxmint/comm ... e/fy9nx3k/

viewtopic.php?t=277400

viewtopic.php?t=300420

https://forums.solydxk.com/viewtopic.php?t=5485

Code: Select all

System:
  Host: gregy Kernel: 4.19.0-10-amd64 x86_64 bits: 64 compiler: gcc 
  v: 8.3.0 Desktop: Cinnamon 4.6.6 Distro: LMDE 4 Debbie 
  base: Debian 10.2 buster 
Machine:
  Type: Laptop System: LENOVO product: 23374QG v: ThinkPad X230 
  serial: <filter> 
  Mobo: LENOVO model: 23374QG serial: <filter> UEFI: LENOVO 
  v: G2ETB7WW (2.77 ) date: 09/24/2019 
Battery:
  ID-1: BAT0 charge: 41.6 Wh condition: 41.6/62.2 Wh (67%) 
  model: LGC 45N1025 status: Full 
CPU:
  Topology: Dual Core model: Intel Core i5-3320M bits: 64 type: MT MCP 
  arch: Ivy Bridge rev: 9 L2 cache: 3072 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20752 
  Speed: 1197 MHz min/max: 1200/3300 MHz Core speeds (MHz): 1: 1197 2: 1197 
  3: 1197 4: 1197 
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics vendor: Lenovo 
  driver: i915 v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 18.3.6 
  direct render: Yes 
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Lenovo 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k4.19.0-10-amd64 
Network:
  Device-1: Intel 82579LM Gigabit Network vendor: Lenovo driver: e1000e 
  v: 3.2.6-k port: 5080 bus ID: 00:19.0 
  IF: enp0s25 state: down mac: <filter> 
  Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi 
  v: kernel port: efa0 bus ID: 03:00.0 
  IF: wlp3s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 447.13 GiB used: 197.55 GiB (44.2%) 
  ID-1: /dev/sda vendor: Patriot model: Burst size: 447.13 GiB 
Partition:
  ID-1: / size: 430.36 GiB used: 98.77 GiB (23.0%) fs: ext4 dev: /dev/dm-0 
  ID-2: swap-1 size: 7.61 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-1 
Sensors:
  System Temperatures: cpu: 48.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 2983 
Info:
  Processes: 201 Uptime: 16m Memory: 7.61 GiB used: 1.66 GiB (21.8%) 
  Init: systemd runlevel: 5 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3 
  inxi: 3.0.32 
User avatar
antikythera
Level 15
Level 15
Posts: 5723
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: Modeprobe: module dm-raid45 not found in modules.dep

Post by antikythera »

If you do not use RAID, you can uninstall the following (it's what I have done):

dmraid
libdmraid

initramfs will be regenerated after doing this. The warning will be gone next time you reboot.
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
cooky
Level 1
Level 1
Posts: 42
Joined: Tue Mar 31, 2020 7:08 am

Re: Modeprobe: module dm-raid45 not found in modules.dep

Post by cooky »

Hello Antikythera,

thanks for your answer. I just executed command:

Code: Select all

sudo apt-get purge dmraid
and it did solve the issue.

BTW: During initramfs regeneration I found such comment:

I: The initramfs will attempt to resume from /dev/dm-1
I: (/dev/mapper/lvmlmde-swap)
I: Set the RESUME variable to override this.

What is it about?
User avatar
antikythera
Level 15
Level 15
Posts: 5723
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: Modeprobe: module dm-raid45 not found in modules.dep

Post by antikythera »

Where your system looks for a Hibernation file, typically this would be a swap partition but you can make a swap file instead if you want hibernation and your swap partition is smaller than the installed amount of RAM.
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
cooky
Level 1
Level 1
Posts: 42
Joined: Tue Mar 31, 2020 7:08 am

Re: Modeprobe: module dm-raid45 not found in modules.dep

Post by cooky »

OK, is there a command to disable hibernation? I don't use it.
User avatar
antikythera
Level 15
Level 15
Posts: 5723
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: Modeprobe: module dm-raid45 not found in modules.dep

Post by antikythera »

Not sure if there's an official method better than this somewhere, the instructions on the Debian wiki are way out of date. This is the next best thing, it will point the power management services concerned to /dev/null so they won't load (it turns off suspend too but you could modify the command to remove reference to suspend if you do use that feature) :

https://www.linuxquestions.org/question ... ost6037740
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
cooky
Level 1
Level 1
Posts: 42
Joined: Tue Mar 31, 2020 7:08 am

Re: Modeprobe: module dm-raid45 not found in modules.dep

Post by cooky »

Okay, I'll leave this one. Anyway, thank you for solving my main issue :-)
User avatar
antikythera
Level 15
Level 15
Posts: 5723
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: [Solved] Modeprobe: module dm-raid45 not found in modules.dep

Post by antikythera »

No problem, I left that hibernation thing alone on my systems too. the hibernation file is not created anyway until you instruct the system to hibernate or it does it eventually based on your power settings (very low battery threshold?) as far as I can tell.

My laptop is set to shutdown rather than hibernate at critical battery. Same with my desktop that is hooked up to a UPS with USB monitoring cable to tell the system the battery level remaining.
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
Locked

Return to “Beginner Questions”