public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Tom Malcolmson <Tom@Malcolmson.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] ethernet driver - receiving packets doesn't work
Date: Fri, 31 Aug 2007 06:50:00 -0000	[thread overview]
Message-ID: <20070831065024.GU19659@lunn.ch> (raw)
In-Reply-To: <46D735D8.8010409@Malcolmson.com>

> Now, I should expain that there is no actual ethernet hardware, so no 
> ethernet interrupts, etc.

Since there is no actual hardware, could you run this on the synthetic
target on Linux? You then get debug capabilities.

> I believe that the next step for me would be to insert print statements in 
> if_ethersubr.c.

Yes. You have to slowly work your way up the stack to find out why the
packets are being dropped. It is probably something silly, like they
are the wrong length, or you have not taken the MAC header off etc....

    Andrew

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

      parent reply	other threads:[~2007-08-31  6:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-30 21:25 Tom Malcolmson
2007-08-30 22:46 ` Gary Thomas
2007-09-01 16:59   ` [ECOS] ethernet driver - receiving packets doesn't work (conclusion) Tom Malcolmson
2007-08-31  6:50 ` Andrew Lunn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070831065024.GU19659@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=Tom@Malcolmson.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).