This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems with TCP/IP networking


Hi

I am having a hard time trying to get TCP/IP networking to work. I am using
the FreeBSD stack with SMSC LAN91CXX driver on a PhyCore LPC2294 target. I
have been doing quite a bit of debugging to find out why it doesn't work and
have found something that I find really odd: 

It seems to me that Ethernet packages are queued without the Ethernet header
in the function ether_demux in if_ethersubr.c. On the other hand it seems to
me the code are expecting the Ethernet header to be present when the same
package are dequeued in the function in ip_input.c. How can this be?

Broadcast messages sent through the loop back interface seems be queued and
dequeued with the Ethernet header as expected.

-
Svend

-----Original Message-----
From: ecos-discuss-help@ecos.sourceware.org
[mailto:ecos-discuss-help@ecos.sourceware.org] 
Sent: 21. november 2006 01:41
To: ecos@smn.dk
Subject: WELCOME to ecos-discuss@ecos.sourceware.org

Hi! This is the ezmlm program. I'm managing the
ecos-discuss@ecos.sourceware.org mailing list.

Acknowledgment: I have added the address

   ecos@smn.dk

to the ecos-discuss mailing list.

Welcome to ecos-discuss@ecos.sourceware.org!

Please save this message so that you know the address you are
subscribed under, in case you later want to unsubscribe or change your
subscription address.


--- Administrative commands for the ecos-discuss list ---

I can handle administrative requests automatically. Please
DO NOT SEND THEM TO THE LIST ADDRESS! If you do, I will not
see them and other subscribers will be annoyed. Instead, send
your message to the correct command address:


To subscribe to the list, send a message to:
   <ecos-discuss-subscribe@ecos.sourceware.org>

To remove your address from the list, send a message to:
   <ecos-discuss-unsubscribe@ecos.sourceware.org>

Send mail to the following for info and FAQ for this list:
   <ecos-discuss-info@ecos.sourceware.org>
   <ecos-discuss-faq@ecos.sourceware.org>

Similar addresses exist for the digest list:
   <ecos-discuss-digest-subscribe@ecos.sourceware.org>
   <ecos-discuss-digest-unsubscribe@ecos.sourceware.org>

To get messages 123 through 145 (a maximum of 100 per request), mail:
   <ecos-discuss-get.123_145@ecos.sourceware.org>

To get an index with subject and author for messages 123-456 , mail:
   <ecos-discuss-index.123_456@ecos.sourceware.org>

They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.

To receive all messages with the same subject as message 12345,
send an empty message to:
   <ecos-discuss-thread.12345@ecos.sourceware.org>

The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.

You can start a subscription for an alternate address,
for example "john@host.domain", just add a hyphen and your
address (with '=' instead of '@') after the command word:
<ecos-discuss-subscribe-john=host.domain@ecos.sourceware.org>

To stop subscription for this address, mail:
<ecos-discuss-unsubscribe-john=host.domain@ecos.sourceware.org>

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the
desired results, please contact my owner at
ecos-discuss-owner@ecos.sourceware.org. Please be patient, my owner is a
lot slower than I am ;-)

--- Enclosed is a copy of the request I received.

Return-Path: <ecos@smn.dk>
Received: (qmail 14478 invoked by uid 22791); 21 Nov 2006 00:41:09 -0000
X-Spam-Status: No, hits=-2.5 required=5.0
	tests=BAYES_00,TW_ZM
X-Spam-Check-By: sourceware.org
Received: from cicero1.cybercity.dk (HELO cicero1.cybercity.dk)
(212.242.40.4)
    by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 21 Nov 2006 00:40:58
+0000
Received: from SMNHOME (port225.ds1-bi.adsl.cybercity.dk [217.157.181.102])
	by cicero1.cybercity.dk (Postfix) with ESMTP id AD859641967
	for
<ecos-discuss-sc.1164069492.pckflljmnffiodpcaoeb-ecos=smn.dk@ecos.sourceware
.org>; Tue, 21 Nov 2006 01:40:51 +0100 (CET)
From: "Svend Meyland Nicolaisen" <ecos@smn.dk>
To:
<ecos-discuss-sc.1164069492.pckflljmnffiodpcaoeb-ecos=smn.dk@ecos.sourceware
.org>
Subject: RE: confirm subscribe to ecos-discuss@ecos.sourceware.org
Date: Tue, 21 Nov 2006 01:40:49 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
In-Reply-To: <1164069492.13466.ezmlm@ecos.sourceware.org>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
Thread-Index: AccNBVcPQekjLTK2S1CXC6UkIjc+2QAAFQbw
Message-Id: <20061121004054.AD859641967@cicero1.cybercity.dk>



-----Original Message-----
From: ecos-discuss-help@ecos.sourceware.org
[mailto:ecos-discuss-help@ecos.sourceware.org] 
Sent: 21. november 2006 01:38
To: ecos@smn.dk
Subject: confirm subscribe to ecos-discuss@ecos.sourceware.org

Hi! This is the ezmlm program. I'm managing the
ecos-discuss@ecos.sourceware.org mailing list.

To confirm that you would like

   ecos@smn.dk

added to the ecos-discuss mailing list, please send
an empty reply to this address:

 
ecos-discuss-sc.1164069492.pckflljmnffiodpcaoeb-ecos=smn.dk@ecos.sourceware.
org

Usually, this happens when you just hit the "reply" button.
If this does not work, simply copy the address and paste it into
the "To:" field of a new message.

This confirmation serves two purposes. First, it verifies that I am able
to get mail through to you. Second, it protects you in case someone
forges a subscription request in your name.

Some mail programs are broken and cannot handle long addresses. If you
cannot reply to this request, instead send a message to
<ecos-discuss-request@ecos.sourceware.org> and put the
entire address listed above into the "Subject:" line.


--- Administrative commands for the ecos-discuss list ---

I can handle administrative requests automatically. Please
DO NOT SEND THEM TO THE LIST ADDRESS! If you do, I will not
see them and other subscribers will be annoyed. Instead, send
your message to the correct command address:


To subscribe to the list, send a message to:
   <ecos-discuss-subscribe@ecos.sourceware.org>

To remove your address from the list, send a message to:
   <ecos-discuss-unsubscribe@ecos.sourceware.org>

Send mail to the following for info and FAQ for this list:
   <ecos-discuss-info@ecos.sourceware.org>
   <ecos-discuss-faq@ecos.sourceware.org>

Similar addresses exist for the digest list:
   <ecos-discuss-digest-subscribe@ecos.sourceware.org>
   <ecos-discuss-digest-unsubscribe@ecos.sourceware.org>

To get messages 123 through 145 (a maximum of 100 per request), mail:
   <ecos-discuss-get.123_145@ecos.sourceware.org>

To get an index with subject and author for messages 123-456 , mail:
   <ecos-discuss-index.123_456@ecos.sourceware.org>

They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.

To receive all messages with the same subject as message 12345,
send an empty message to:
   <ecos-discuss-thread.12345@ecos.sourceware.org>

The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.

You can start a subscription for an alternate address,
for example "john@host.domain", just add a hyphen and your
address (with '=' instead of '@') after the command word:
<ecos-discuss-subscribe-john=host.domain@ecos.sourceware.org>

To stop subscription for this address, mail:
<ecos-discuss-unsubscribe-john=host.domain@ecos.sourceware.org>

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the
desired results, please contact my owner at
ecos-discuss-owner@ecos.sourceware.org. Please be patient, my owner is a
lot slower than I am ;-)

--- Enclosed is a copy of the request I received.

Return-Path: <anonymous@sources.redhat.com>
Received: (qmail 13460 invoked by uid 48); 21 Nov 2006 00:38:12 -0000
Date: 21 Nov 2006 00:38:12 -0000
Message-ID: <20061121003812.13459.qmail@sourceware.org>
From: anonymous@sources.redhat.com
To: ecos-discuss-subscribe-ecos=smn.dk@sources.redhat.com



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]