Hi Pavel,

--- Pavel wrote:

> Hello!
> 
> I am using snapgear 3.4.0 and IXP425 platform with
> 64M RAM. I have some problems in
> tmpfs. After I mount tmpfs "mount tmpfs /var/tmp -t
> tmpfs", it say 32M free memory.
> 


I usually use the -o option to control the size.  For
example: mount -t tmpfs none /var/tmp -o size=16M

This way you can see if the problem is related to
size.

> # df
> Filesystem           1k-blocks      Used Available
> Use% Mounted on
> /dev/ram0                 8059      6567      1083 
> 86% /
> /dev/mtdblock3            2048       492      1556 
> 24% /disk0
> /tmpfs                   31448         0     31448  
> 0% /var/tmp
> #
> # cat /proc/meminfo
> MemTotal:        62896 kB
> MemFree:         45972 kB
> Buffers:          8192 kB
> Cached:           3424 kB
> SwapCached:          0 kB
> Active:           2240 kB
> Inactive:        10020 kB
> HighTotal:           0 kB
> HighFree:            0 kB
> LowTotal:        62896 kB
> LowFree:         45972 kB
> SwapTotal:           0 kB
> SwapFree:            0 kB
> Dirty:               0 kB
> Writeback:           0 kB
> Mapped:           1560 kB
> Slab:             2412 kB
> CommitLimit:     31448 kB
> Committed_AS:     3636 kB
> PageTables:        108 kB
> VmallocTotal:   958464 kB
> VmallocUsed:     16968 kB
> VmallocChunk:   941244 kB
> #
> 
> When I tried to copy a files (~10M) into tmpfs, it
> will "Kernel panic".
> 
> "Unable to handle kernel NULL pointer dereference at
> virtual address 00000118
> pgd = c0004000
> [00000118] *pgd=00000000
> Internal error: Oops: 17 [#1]
> .....
> "
> 

Can you provide the complete Oops?

Regards,
...doug



       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to