dm_mod not found

Discussion in 'UDOO NEO' started by AM97, Jul 2, 2018.

  1. AM97

    AM97 New Member

    Joined:
    Jun 19, 2018
    Messages:
    19
    Likes Received:
    0
    So i compiled a linux kernel from https://github.com/UDOOboard/linux_kernel with INITRAMFS enabled, and I need to work with device-mapper. But when i do modprobe dm_mod, I get FATAL: module dm_mod not found. How can I install it?
     
  2. Gorgo

    Gorgo UDOOer

    Joined:
    Nov 9, 2016
    Messages:
    159
    Likes Received:
    17
  3. AM97

    AM97 New Member

    Joined:
    Jun 19, 2018
    Messages:
    19
    Likes Received:
    0
    I followed the doc guide, but how do I add the dm_mod module?
     
  4. Gorgo

    Gorgo UDOOer

    Joined:
    Nov 9, 2016
    Messages:
    159
    Likes Received:
    17
    Do you know how to add modules during make menuconfig?
    Try adding as module:
    - DM_CRYPT
    Prompt: Crypt target support Location: Device Drivers > Multiple devices driver support (RAID and LVM) (MD [=y]) > Device mapper support (BLK_DEV_DM [=m])
     
  5. AM97

    AM97 New Member

    Joined:
    Jun 19, 2018
    Messages:
    19
    Likes Received:
    0
    I'm not sure how to use menuconfig. Do i have to add something to the .config file to make it install DM_MOD?
     
  6. Gorgo

    Gorgo UDOOer

    Joined:
    Nov 9, 2016
    Messages:
    159
    Likes Received:
    17
    Follow the webpage I gave you (https://www.udoo.org/docs-neo/Advanced_Topics/Compile_Linux_Kernel.html) but NOT skip the optional part ( Personalize the kernel configuration).

    upload_2018-7-3_16-9-40.png


    When you launch 'ARCH=arm make menuconfig' you'll prompt the Kernel configuration. Then navigate into Device Drivers > Multiple devices driver support (RAID and LVM) ) with up/down and enter.
    Select 'Crypt target support' and press space. It will change to '<M>' (as module).
    Then TAB until you're on '< Save >' (bottom), then enter to confirm.
    Come back to the guide and continue with 'Compile sources', 'Compile Device Trees', and others....., sections until you finish compiling with 'ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf......'
    Unmount the sdcard, put it into your UDOO and retry loading the dm_mod
     
  7. AM97

    AM97 New Member

    Joined:
    Jun 19, 2018
    Messages:
    19
    Likes Received:
    0
    I'm in Device Drivers > Multiple devices driver support (RAID and LVM), but I don't see crypt target support in there. In fact, I don't see anything under it
     
  8. Gorgo

    Gorgo UDOOer

    Joined:
    Nov 9, 2016
    Messages:
    159
    Likes Received:
    17
    Have you re-pressed enter? ;)
     
  9. AM97

    AM97 New Member

    Joined:
    Jun 19, 2018
    Messages:
    19
    Likes Received:
    0
    Yes I have, a bunch of times. Still nothing.
     
  10. Gorgo

    Gorgo UDOOer

    Joined:
    Nov 9, 2016
    Messages:
    159
    Likes Received:
    17
  11. AM97

    AM97 New Member

    Joined:
    Jun 19, 2018
    Messages:
    19
    Likes Received:
    0
    I only see the first line:

    ---Multiple devices driver support (RAID and LVM)
     
  12. Gorgo

    Gorgo UDOOer

    Joined:
    Nov 9, 2016
    Messages:
    159
    Likes Received:
    17
    Go back and active:
    - Multiple devices driver support (RAID and LVM)
    (Press space when you select it. It should become [*])
     
    waltervl likes this.
  13. AM97

    AM97 New Member

    Joined:
    Jun 19, 2018
    Messages:
    19
    Likes Received:
    0
    Got to crypt support, thanks for your help!
     

Share This Page