When I am trying to access the Raid array with
Code: Select all
cryptsetup luksOpen /dev/md1 raid
Code: Select all
Cannot initialize device-mapper. Is dm_mod kernel module loaded?
but nothing was resolving the error. I am getting a little desperate now....
Let me try to provide some more background information:
1) The kernel configuration has not changed, and it was working previously with the kernel that is used.
In particular, device mapper is compiled into the kernel and available.
In /proc/misc, there is an entry "236 device-mapper".
2) The node /dev/md1 is visible.
3) The problem is with the device mapper itself.
Commands such as
Code: Select all
cryptsetup luksDump -v /dev/md1
4) dmraid is not installed. Maybe this has been uninstalled with the update?
However, after an emerge of dmraid, the problem persists.
5)
Code: Select all
dmsetup targets Code: Select all
crypt v1.12.1
striped v1.5.1
linear v1.2.1
error v1.1.0
Code: Select all
# /etc/init.d/device-mapper status
* status: started
# /etc/init.d/dmeventd status
* status: started
Maybe I could compile a new kernel with a device mapper module dm_mod and load that module.
But I am a little hesitant to do so because I think that this is not the problem, the
device mapper compiled into the kernel was working previously.


