Results 1 to 4 of 4

Thread: nvram: Cannot allocate memory - ASUS WL 500g V2

  1. #1

    Question nvram: Cannot allocate memory - ASUS WL 500g V2

    Hi @ all,


    i hope you could help me.

    I use the router Asus Wl 500g V2 Router with Olegs FW.

    This morning i recognized the following error while executing the command "
    flashfs enable":

    flashfs enable
    /dev/nvram: Cannot allocate memory


    But this is looking well:
    nvram show | grep sdram
    #size: 10743 bytes (22025 left)
    sdram_config=0x0062
    sdram_refresh=0x0
    sdram_ncdl=0xefe09
    sdram_init=0x000B

    AND

    free
    total used free shared buffers
    Mem: 30164 29540 624 0 3700
    Swap: 522072 1992 520080
    Total: 552236 31532 520704

    I don't think the following is the reason (but maybe it will help you):
    df -h /

    Filesystem Size Used Avail Use% Mounted on
    /dev/root 3.0M 3.0M 0 100% /



    Does anybody have an idea?

    Thanks for your support.

  2. #2
    Check the folders you see in /usr/local/.files

    Maybe there is a too large (temporary) file in there somewhere.

  3. #3

    Got the exact same problem here.

    No space on root.

    root]$ nvram show | grep sdram
    size: 11082 bytes (21686 left)
    sdram_config=0x0062
    sdram_refresh=0x0000
    sdram_ncdl=0x00000203
    sdram_init=0x0009

    $free
    total used free shared buffers cached
    Mem: 13964 13556 408 0 1176 4688
    -/+ buffers/cache: 7692 6272
    Swap: 506008 2376 503632

    $df -a
    Filesystem 1K-blocks Used Available Use% Mounted on
    rootfs 3008 3008 0 100% /
    /dev/root 3008 3008 0 100% /
    none 0 0 0 - /dev
    proc 0 0 0 - /proc
    ramfs 0 0 0 - /tmp
    usbfs 0 0 0 - /proc/bus/usb
    /dev/discs/disc0/part2
    988244 87364 850680 10% /opt
    /dev/discs/disc0/part3
    458924 22057 413172 6% /tmp/mnt/disc0_3


    getting memory commit errors in system log of router!
    WL-500gP v1 r1.02
    Last edited by trampjuice; 26-07-2009 at 19:49.

  4. #4
    Hey everybody.


    thanks for your answers...


    I solved the problem as follows:

    First of all I searched the top 50 of biggest files (/opt is my usb stick)
    du -a | sort -nr | head -50 | grep -v /opt


    Now I found some huge files (my scripts to protect my router) at the home directory of the root/admin user (/usr/local/root).

    I changed the home directory of the root user (in the .passwd) to the usb drive and moved all files to it.

    I still get the following message:
    df -a
    Filesystem 1K-blocks Used Available Use% Mounted on
    rootfs 3072 3072 0 100% /
    /dev/root 3072 3072 0 100% /
    none 0 0 0 - /dev
    proc 0 0 0 - /proc
    ramfs 0 0 0 - /tmp
    usbfs 0 0 0 - /proc/bus/usb


    BUT

    the command "flashfs enable" is working now without an error.


    Best regards

Similar Threads

  1. Подскажите, что этот лог значит? (syslog)
    By VadimVB in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 479
    Last Post: 23-05-2013, 07:47
  2. NVRAM: Cannot allocate memory - ASUS WL 500g V2
    By bloedefrage in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 24-07-2009, 11:00
  3. /dev/nvram: Cannot allocate memory
    By Sander in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 3
    Last Post: 12-02-2009, 23:19
  4. Asus 500g knopen aan Asus 500g dlx
    By dolphs in forum Dutch Discussion - Nederlands
    Replies: 5
    Last Post: 15-03-2007, 08:38

Tags for this Thread

Posting Permissions

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