Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I am trying to boot a MIPS based embedded board. I am able to NFS boot the kernel and rootfile system through tftp. I have now created the initramfs ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    1

    insmod not working with initramfs


    Hi,
    I am trying to boot a MIPS based embedded board.
    I am able to NFS boot the kernel and rootfile system through
    tftp.
    I have now created the initramfs of the same rootfile system,
    after little hickups I was able to boot the board.
    But when I try to insmode a module I am getting the following
    error:

    insmod: error inserting 'linux-kernel-bcm.ko': -1 Cannot allocate memory
    Unable to load Module : linux-kernel-bcm.ko. Error Code 1

    The dmesg shows:
    'linux-kernel-bcm.ko : No more DMA blocks
    'linux-kernel-bcm.ko': No Dma memory available


    The insmode works with the NFS version of the same rootfs and kernel.


    On googling I found this error is due to kernel version mismatch.
    But I am using the same kernel used for NFS booting.

    Please let me know where I am wrong?

  2. #2
    Just Joined!
    Join Date
    Oct 2008
    Posts
    3
    Check if there's something missing in your initramfs compare to the NFS file system. If there are some modules unloaded in the kernel start time, especially something related to the DMA function.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •