Check the folders you see in /usr/local/.files
Maybe there is a too large (temporary) file in there somewhere.
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.
Check the folders you see in /usr/local/.files
Maybe there is a too large (temporary) file in there somewhere.
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.
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