This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
System crash with GoAhead WeServer (ARM7 platform)
- From: llandre <r&d at wawnet dot biz>
- To: ecos-discuss at sources dot redhat dot com
- Cc: amassa at san dot rr dot com
- Date: Tue, 26 Nov 2002 11:59:27 +0100
- Subject: [ECOS] System crash with GoAhead WeServer (ARM7 platform)
I'm running the web server (v. 2.14) on a system powered by an ARM7
microcontroller. I'm using its own file system (WEBROM).
To make it run under eCos, I had to add some missing #includes and #defines
directives. For example I added "#include <stdio.h>" in page.c and
"#define NFDBITS __NFDBITS" in sockGen.c. Is
this correct? I thought the port for eCos did not require such changes
to the source code (I also bought the article "Integrating GoAhead
WebServer & eCos" from www.ddj.com and and it does not talk about these
modifications).
I'm testing the web server with one very simple HTML page. After
several HTTP requests that are managed correctly, the system crashes:
neither the HTTP requests are accepted nor a simple PING works. I added a
call to bstats after the "while (!finished)" loop but it never reaches that
point.
Anybody experienced similar problems?
Many thanks in advance,
llandre
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss