* [ECOS] FreeBSD-Stack not responding
@ 2002-07-27 14:04 Wolfgang Heppner
2002-07-29 5:53 ` Gary Thomas
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Heppner @ 2002-07-27 14:04 UTC (permalink / raw)
To: eCos-discuss
Hello,
I recently switched from the Open- to the FreeBSD stack (latest CVS
version)
When i try to send Data to my target (e.g. ascii strings via a telnet
client on Linux and/or Windows), the data is lost in the stack (the
"read" call in my application never returns) - even when a connection
could be established and my application could send a "Prompt" to the
telnet client! With the OpenBSD Stack this works fine.
I figured out that packets are dropped in the cyg_tcp_input function
because of a bad checksum.
I got some warnings during the eCos-built:
implicit declarations of function 'cyg_in_cksum_hdr' in ip_input.c:332
implicit declarations of function 'cyg_in_cksum_hdr' and
'cyg_in_cksum_skip'
in ip_output and
implicit declarations of function 'cyg_in_pseudo' in tcp_input:405
(among some others)
Has anybode experienced similar problems with the FreeBSD stack?
Any ideas?
Thanks in advance
Wolfgang
PS: I built the eCos library with the new_net template and removed libm
and dns support.
--
Wolfgang Heppner
High Speed Kamerasysteme - Abt. Bildsensorik (ESY-B)
High Speed Camera Systems - Dept. Electronic Imaging (ESY-B)
Fraunhofer
Institut Integrierte Schaltungen
Angewandte Elektronik
Am Wolfsmantel 33
91058 Erlangen
(Germany)
Tel: +49 (0) 9131 776 528
Fax: +49 (0) 9131 776 598
email: hep@iis.fhg.de
web: http://www.iis.fhg.de
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] FreeBSD-Stack not responding
2002-07-27 14:04 [ECOS] FreeBSD-Stack not responding Wolfgang Heppner
@ 2002-07-29 5:53 ` Gary Thomas
2002-07-30 1:26 ` Wolfgang Heppner
0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2002-07-29 5:53 UTC (permalink / raw)
To: Wolfgang Heppner; +Cc: eCos Discussion
[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]
On Sat, 2002-07-27 at 15:03, Wolfgang Heppner wrote:
> Hello,
>
> I recently switched from the Open- to the FreeBSD stack (latest CVS
> version)
> When i try to send Data to my target (e.g. ascii strings via a telnet
> client on Linux and/or Windows), the data is lost in the stack (the
> "read" call in my application never returns) - even when a connection
> could be established and my application could send a "Prompt" to the
> telnet client! With the OpenBSD Stack this works fine.
>
> I figured out that packets are dropped in the cyg_tcp_input function
> because of a bad checksum.
>
> I got some warnings during the eCos-built:
> implicit declarations of function 'cyg_in_cksum_hdr' in ip_input.c:332
> implicit declarations of function 'cyg_in_cksum_hdr' and
> 'cyg_in_cksum_skip'
> in ip_output and
> implicit declarations of function 'cyg_in_pseudo' in tcp_input:405
> (among some others)
These are just warnings and should be harmless.
>
> Has anybode experienced similar problems with the FreeBSD stack?
> Any ideas?
>
> Thanks in advance
> Wolfgang
>
> PS: I built the eCos library with the new_net template and removed libm
> and dns support.
What's the target?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] FreeBSD-Stack not responding
2002-07-29 5:53 ` Gary Thomas
@ 2002-07-30 1:26 ` Wolfgang Heppner
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Heppner @ 2002-07-30 1:26 UTC (permalink / raw)
To: Gary Thomas; +Cc: eCos Discussion
Hello Gary,
I'm working on a PowerPC target (MPC8xx), its my own HAL, based on the
VIPER
I made some minor changes to the FEX driver (changing GPIOs), but the
Ethernet works fine. I configured with Windows Configtool 1.3.net and i
am using gcc 2.95.2 (powerpc-eabi).
I suspect the problem is target dependend.
Regards
Wolfgang
Gary Thomas wrote:
>
> On Sat, 2002-07-27 at 15:03, Wolfgang Heppner wrote:
> > Hello,
> >
> > I recently switched from the Open- to the FreeBSD stack (latest CVS
> > version)
> > When i try to send Data to my target (e.g. ascii strings via a telnet
> > client on Linux and/or Windows), the data is lost in the stack (the
> > "read" call in my application never returns) - even when a connection
> > could be established and my application could send a "Prompt" to the
> > telnet client! With the OpenBSD Stack this works fine.
> >
> > I figured out that packets are dropped in the cyg_tcp_input function
> > because of a bad checksum.
> >
> > I got some warnings during the eCos-built:
> > implicit declarations of function 'cyg_in_cksum_hdr' in ip_input.c:332
> > implicit declarations of function 'cyg_in_cksum_hdr' and
> > 'cyg_in_cksum_skip'
> > in ip_output and
> > implicit declarations of function 'cyg_in_pseudo' in tcp_input:405
> > (among some others)
>
> These are just warnings and should be harmless.
>
> >
> > Has anybode experienced similar problems with the FreeBSD stack?
> > Any ideas?
> >
> > Thanks in advance
> > Wolfgang
> >
> > PS: I built the eCos library with the new_net template and removed libm
> > and dns support.
>
> What's the target?
>
> ------------------------------------------------------------------------
> Name: signature.asc
> signature.asc Type: application/pgp-signature
> Description: This is a digitally signed message part
--
Wolfgang Heppner
High Speed Kamerasysteme - Abt. Bildsensorik (ESY-B)
High Speed Camera Systems - Dept. Electronic Imaging (ESY-B)
Fraunhofer
Institut Integrierte Schaltungen
Angewandte Elektronik
Am Wolfsmantel 33
91058 Erlangen
(Germany)
Tel: +49 (0) 9131 776 528
Fax: +49 (0) 9131 776 598
email: hep@iis.fhg.de
web: http://www.iis.fhg.de
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-30 8:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-27 14:04 [ECOS] FreeBSD-Stack not responding Wolfgang Heppner
2002-07-29 5:53 ` Gary Thomas
2002-07-30 1:26 ` Wolfgang Heppner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).