Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

dm-raid module missing

Featured Replies

Hi. I'm running armbian on a OrangePi PC 2. This is my uname -a output:

root@picard:/lib/modules# uname -a
Linux picard 4.18.0-rc8-sunxi64 #30 SMP Mon Aug 13 00:57:56 CEST 2018 aarch64 aarch64 aarch64 GNU/Linux

 

I am running LVM2 on that system. I updated today, and the dm-raid kernel module seems to have gone missing. I can't get my LVM volume group up anymore, since it can't find dm-raid:

 

root@picard:/lib/modules# lvscan 
  inactive          '/dev/vg-data/lv-data' [2.70 TiB] inherit
root@picard:/lib/modules# lvchange -ay vg-data/lv-data
modprobe: FATAL: Module dm-raid not found in directory /lib/modules/4.18.0-rc8-sunxi64
  /sbin/modprobe failed: 1
  Cannot read target version of RAID kernel module.
  Can't process LV lv-data: raid1 target support missing from kernel?

I have already switched my kernel using the armbian-config 'switch' function (from 'next' to 'dev'), which doesn't seem to make a difference.

 

How do I get that kernel module back? Thanks for any help!

  • Author

Sorry about that! I think the kernel (before I switched to 'dev' using armbian-config) is the one that came with the image for the Orange Pi PC 2…

 

Here's the requested info: http://ix.io/1khU

 

Thanks for your help.

Spoiler

### Installed packages:

ii  armbian-config                     5.58.180813                                all          Armbian configuration utility
ii  armbian-firmware-full              5.58.180813                                all          Linux firmware-full
ii  armbian-tools-xenial               5.58.180813                                arm64        Armbian tools, Cubie bt utils
ii  hostapd                            3:2.6-4~armbian5.58.180813+1               arm64        IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
ii  linux-base                         4.5ubuntu1~16.04.1                         all          Linux image base package
ii  linux-dtb-dev-sunxi64              5.58.180813                                arm64        Linux DTB, version 4.18.0-rc8-sunxi64
ii  linux-firmware                     1.157.20                                   all          Firmware for Linux kernel drivers
ii  linux-headers-dev-sunxi64          5.58.180813                                arm64        Linux kernel headers for 4.18.0-rc8-sunxi64 on arm64
ii  linux-hwe-tools-4.15.0-30          4.15.0-30.32~16.04.1                       arm64        Linux kernel version specific tools for version 4.15.0-30
ii  linux-image-dev-sunxi64            5.58.180813                                arm64        Linux kernel, version 4.18.0-rc8-sunxi64
rc  linux-image-next-sunxi64           5.58.180813                                arm64        Linux kernel, version 4.17.14-sunxi64
ii  linux-libc-dev                     5.42.180413                                arm64        Linux support headers for userspace development
ii  linux-tools-4.15.0-30-generic      4.15.0-30.32~16.04.1                       arm64        Linux kernel version specific tools for version 4.15.0-30
ii  linux-tools-4.4.0-131              4.4.0-131.157                              arm64        Linux kernel version specific tools for version 4.4.0-131
ii  linux-tools-4.4.0-131-generic      4.4.0-131.157                              arm64        Linux kernel version specific tools for version 4.4.0-131
ii  linux-tools-common                 4.4.0-131.157                              all          Linux kernel version specific tools for version 4.4.0
ii  linux-tools-generic                XXX.XXX.0.131.137                              arm64        Generic Linux kernel tools
ii  linux-tools-generic-hwe-16.04      XXX.XXX.0.30.52                               arm64        Generic Linux kernel tools
ii  linux-u-boot-orangepipc2-dev       5.58.180813                                arm64        Uboot loader 2018.05
ii  linux-xenial-root-dev-orangepipc2  5.58.180813                                arm64        Armbian tweaks for xenial on orangepipc2 (dev branch)
rc  linux-xenial-root-next-orangepipc2 5.58.180813                                arm64        Armbian tweaks for xenial on orangepipc2 (next branch)
ii  sunxi-tools                        1.4.2-2~armbian5.58.180813+1               arm64        tools for working with Allwinner (sunxi) ARM processors

 

 

I doubt rarmbian-config can not make such a mess. Start with a clean image or clean the mess :) 

 

Remove: 

apt purge linux-image-dev-sunxi64 linux-dtb-dev-sunxi64 linux-xenial-root-dev-orangepipc2 linux-u-boot-orangepipc2-dev

and switch back to stable. If you fail ... start with a new image.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.