From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10497 invoked by alias); 31 Aug 2007 06:50:36 -0000 Received: (qmail 10468 invoked by uid 22791); 31 Aug 2007 06:50:35 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 31 Aug 2007 06:50:30 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1IR0Km-0000AV-00; Fri, 31 Aug 2007 08:50:24 +0200 Date: Fri, 31 Aug 2007 06:50:00 -0000 From: Andrew Lunn To: Tom Malcolmson Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20070831065024.GU19659@lunn.ch> Mail-Followup-To: Tom Malcolmson , ecos-discuss@ecos.sourceware.org References: <46D735D8.8010409@Malcolmson.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46D735D8.8010409@Malcolmson.com> User-Agent: Mutt/1.5.16 (2007-06-11) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] ethernet driver - receiving packets doesn't work X-SW-Source: 2007-08/txt/msg00176.txt.bz2 > 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