From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10782 invoked by alias); 15 Jul 2009 10:51:05 -0000 Received: (qmail 10772 invoked by uid 22791); 15 Jul 2009 10:51:04 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mtaout02-winn.ispmail.ntl.com (HELO mtaout02-winn.ispmail.ntl.com) (81.103.221.48) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Jul 2009 10:50:52 +0000 Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090715105050.KTQC6611.mtaout02-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com>; Wed, 15 Jul 2009 11:50:50 +0100 Received: from cog.dallaway.org.uk ([86.9.207.237]) by aamtaout02-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090715105050.MPBB21638.aamtaout02-winn.ispmail.ntl.com@cog.dallaway.org.uk>; Wed, 15 Jul 2009 11:50:50 +0100 Received: from cog.dallaway.org.uk (cog.dallaway.org.uk [127.0.0.1]) by cog.dallaway.org.uk (8.13.8/8.13.8) with ESMTP id n6FAolJv012588; Wed, 15 Jul 2009 11:50:47 +0100 Message-ID: <4A5DB487.9030506@dallaway.org.uk> Date: Wed, 15 Jul 2009 10:51:00 -0000 From: John Dallaway User-Agent: Thunderbird 2.0.0.22 (X11/20090625) MIME-Version: 1.0 To: Bruno Ricci CC: ecos-discuss@ecos.sourceware.org References: <4A5B4762.6080200@gmail.com> <20090714071329.GE10217@lunn.ch> <8727e5730907140055g55370083q8f27ca729f90bd08@mail.gmail.com> <8727e5730907150259i134b80f1sa362ab4bc90ff974@mail.gmail.com> In-Reply-To: <8727e5730907150259i134b80f1sa362ab4bc90ff974@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: [ECOS] Re: Problems initializing eth0 interface X-SW-Source: 2009-07/txt/msg00130.txt.bz2 Hi Bruno Bruno Ricci wrote: > I tried the same configuration with RTL8139 chip and without removing > any package (I managed to have a pc with that chip) with no luck. Here > some screenshots: > > http://files.getdropbox.com/u/1493094/ecos1.jpg > http://files.getdropbox.com/u/1493094/ecos2.jpg > > Notice that my program only initializes the network card, and that > there's a 20 sec sleep between the two screenshots. I tried to set a > static IP, but I keep on having that SIOCIFADDR error. I assume you have switched to the eCos "pc_rltk8139" target. The reported hardware address (ff:ff:ff:ff:ff:ff) is bogus which suggests that eCos is failing to interrogate your ethernet hardware correctly. Try disabling the ethernet hardware in your PC's BIOS and see if the behaviour is the same. If it is, perhaps your ethernet hardware is reporting a PCI vendorID/deviceID pair which is not known to the eCos driver? Check the known_8139_aliases[] array in the driver and extend it if necessary. I hope this helps... John Dallaway -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss