I'm making some tests with external harddrive with LVM2 and I need pvmove... but it won't work without dm-mirror. I've checked and this kernel module isn't enabled. So I downloaded the kernel source from (https://github.com/longsleep/build-pine6...ter/kernel) and proceeded to check the dm-mirror module with the menuconfig. Once completed I then made a (make modules) and copied the module in /lib/module/... folder.
Now if I do depmod && modprobe dm-mirror it complains that the format is invalid. I neved had that knind of error... unless I was cross compiling wich i'm not since I built the module on the pine itself.
The exact error is :
modprobe: ERROR: could not insert 'dm_mirror': Exec format error
Any idea about how to fix the problem?