Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I am using linux-2.6.24.2 source and i have included my atm driver as module in it.when i load the kernel image and insmod my module,i am getting this message ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    24

    [SOLVED] how to increase vmalloc size ?


    Hi,

    I am using linux-2.6.24.2 source and i have included my atm driver as module in it.when i load the kernel image and insmod my module,i am getting this message and crashed .

    "
    allocation failed: out of vmalloc space - use vmalloc=<size> to increase size. "


    I tried by increasing the vmalloc size in kernel options, but that dint help well.


    I have attached the memory information before and after loading the module.

    /****************************/
    before module in inserted
    /****************************/

    MemTotal: 2071048 kB
    MemFree: 2060760 kB
    Buffers: 0 kB
    Cached: 2208 kB
    SwapCached: 0 kB
    Active: 1336 kB
    Inactive: 1168 kB
    HighTotal: 1441792 kB
    HighFree: 1438352 kB
    LowTotal: 629256 kB
    LowFree: 622408 kB
    SwapTotal: 0 kB
    SwapFree: 0 kB
    Dirty: 0 kB
    Writeback: 0 kB
    AnonPages: 440 kB
    Mapped: 860 kB
    Slab: 3072 kB
    SReclaimable: 92 kB
    SUnreclaim: 2980 kB
    PageTables: 52 kB
    NFS_Unstable: 0 kB
    Bounce: 0 kB
    CommitLimit: 1035524 kB
    Committed_AS: 1684 kB
    VmallocTotal: 339880 kB
    VmallocUsed: 262588 kB
    VmallocChunk: 77220 kB




    /****************************/
    after driver is inserted
    /****************************/

    cat /proc/meminfo
    MemTotal: 2070872 kB
    MemFree: 1982904 kB
    Buffers: 0 kB
    Cached: 2196 kB
    SwapCached: 0 kB
    Active: 1332 kB
    Inactive: 1164 kB
    HighTotal: 1441792 kB
    HighFree: 1360852 kB
    LowTotal: 629080 kB
    LowFree: 622052 kB
    SwapTotal: 0 kB
    SwapFree: 0 kB
    Dirty: 0 kB
    Writeback: 0 kB
    AnonPages: 436 kB
    Mapped: 860 kB
    Slab: 3492 kB
    SReclaimable: 92 kB
    SUnreclaim: 3400 kB
    PageTables: 48 kB
    NFS_Unstable: 0 kB
    Bounce: 0 kB
    CommitLimit: 1035436 kB
    Committed_AS: 1676 kB
    VmallocTotal: 339880 kB
    VmallocUsed: 86708 kB
    VmallocChunk: 253160 kB


    can any one help me to solve this problem.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,596
    What distribution and what platform/architecture are you using? Is this for an x86 processor, or other?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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