I have seen cp: memory exhausted and it was due to a read-only file system.
The error message is far from obvious, and it may not be the cause in your case.
No idea on the floating point exception.
Martin
--- In "tarmip" <> wrote:
>
> I have 2 TS7500 boards.
>
> Board #1 is set up with the development kit.
> - I usually use Hyperterm to communicate with it over the Serial Port.
> - It's the one I compile on.
> - I'll also telnet or ftp to it over the ethernet
>
> Board #2 is set up getting it's power from a custom designed board.
> - I'm trying to keep it set up as "pristine" as possible so that only the
> necessary setup has been done to it.
> - Communication with it is done via telnet or ftp over the ethernet
>
> Both are booting from the SD card. I am NOT a linux expert.
>
> I have two things I have noticed different between the 2 boards.
>
> 1) The following code segment:
> double nowtime;
> struct timeval tp;
> struct timezone tzp;
> gettimeofday(&tp,&tzp);
> nowtime = tp.tv_usec / 1000000.0F;
> nowtime += tp.tv_sec;
> FAILS with a Floating Point exception at the 2nd to last line on Board #2,
> but not on Board #1. I have fixed the code so that it doesn't cause a
> floating point exception - but it still bothers me the inconsistency.
>
> 2) More troubling:
> On Board #2: If I try coping (even a small file) I get
> cp: memory exhausted
>
> This happens even it's pretty much the first thing I do after a reboot.
>
> Board #1: which doesn't have any problem compiling, copying files around,
> etc:
> # free -m
> total used free shared buffers cached
> Mem: 61 60 1 0 5 41
> -/+ buffers/cache: 13 48
> Swap: 0 0 0
>
> Board #2: which has the problem:
>
> # free -m
> total used free shared buffers cached
> Mem: 61 45 16 0 12 21
> -/+ buffers/cache: 11 49
> Swap: 0 0 0
>
>
> I really don't know how to proceed - any help or pointers would be
> appreciated.
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|