Adding a missing kernel module
#1
Hi,

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?
  Reply


Messages In This Thread
Adding a missing kernel module - by spz2k - 01-06-2017, 09:15 PM
RE: Adding a missing kernel module - by xalius - 01-07-2017, 06:37 AM
RE: Adding a missing kernel module - by spz2k - 01-07-2017, 06:16 PM
RE: Adding a missing kernel module - by xalius - 01-07-2017, 06:19 PM
RE: Adding a missing kernel module - by spz2k - 01-08-2017, 05:44 PM
RE: Adding a missing kernel module - by dkryder - 01-08-2017, 08:54 PM
RE: Adding a missing kernel module - by spz2k - 01-09-2017, 07:14 PM
RE: Adding a missing kernel module - by dkryder - 01-09-2017, 09:29 PM
RE: Adding a missing kernel module - by xalius - 01-10-2017, 06:22 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  insmod ko: Invalid module format zener 0 1,507 03-25-2019, 01:00 PM
Last Post: zener
  (ARCHIVED) Debian Jessie Images (3.10.102 BSP Kernel) New Release lenny.raposo-pine64.pro 259 316,980 05-21-2018, 06:30 AM
Last Post: Luke
  how to set kernel parameter 'fsck.mode=force' marcelser 6 8,163 05-09-2018, 09:07 PM
Last Post: pfeerick
  eMMC module as storage for Debian/Android le_moose1 1 2,664 03-25-2018, 08:11 PM
Last Post: KNERD
  dvb-usb-dib0700 module not found. Miguel Campos 2 3,174 12-02-2017, 06:05 AM
Last Post: Miguel Campos
Question Debian Jessie with 4.x.y kernel and complete hardware support? Spark 2 4,241 04-24-2017, 09:56 PM
Last Post: Spark
  NIC not visible after kernel update xleon 1 2,241 11-15-2016, 05:23 PM
Last Post: xleon
  What should I see on login? (Missing stuff, I think) TheGear 2 2,490 08-14-2016, 05:48 PM
Last Post: HayseedGeek
  [OUTDATED] Debian Jessie (4.7.0-rc1 Kernel) Images fire219 4 12,240 07-20-2016, 02:36 PM
Last Post: umiddelb
  i2c-bus kernel modules robertvaldimarsson 15 10,088 06-07-2016, 01:48 PM
Last Post: robertvaldimarsson

Forum Jump:


Users browsing this thread: 1 Guest(s)