From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3278 invoked by alias); 14 May 2005 11:13:51 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 3049 invoked from network); 14 May 2005 11:13:22 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (206.168.96.204) by sourceware.org with SMTP; 14 May 2005 11:13:22 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id EA73F100083; Sat, 14 May 2005 05:13:21 -0600 (MDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id C9B14100082; Sat, 14 May 2005 05:13:19 -0600 (MDT) From: Gary Thomas To: vamshi@cse.iitb.ac.in Cc: eCos Discussion In-Reply-To: <32931.10.129.11.162.1116053565.squirrel@www.cse.iitb.ac.in> References: <32931.10.129.11.162.1116053565.squirrel@www.cse.iitb.ac.in> Content-Type: text/plain Date: Mon, 16 May 2005 05:13:00 -0000 Message-Id: <1116069199.31049.149.camel@hermes> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] : Network problem X-SW-Source: 2005-05/txt/msg00197.txt.bz2 On Sat, 2005-05-14 at 12:22 +0530, vamshi@cse.iitb.ac.in wrote: > We are writing an application that needs two ethernet cards. > Our target platform is i386pc . > > When we try to initialize the ethernet cards, we get the folowing error. > > > [root@rclab5 try2]# ./a.out -t default.tdf [cyg_net_init] Init: > mbinit(0x00000000) > [cyg_net_init] Init: cyg_net_init_devs(0x00000000) > Init device 'synth_eth1' > Init device 'synth_eth0' > [cyg_net_init] Init: loopattach(0x00000000) > [cyg_net_init] Init: ifinit(0x00000000) > [cyg_net_init] Init: domaininit(0x00000000) > [cyg_net_init] Init: cyg_net_add_domain(0x020025c0) > New domain internet at 0x00000000 > [cyg_net_init] Init: cyg_net_add_domain(0x02001ee0) > New domain route at 0x00000000 > [cyg_net_init] Init: call_route_init(0x00000000) > [cyg_net_init] Done > Start PING test > [eth_drv_ioctl] Warning: Driver can't set multi-cast mode > [eth_drv_ioctl] Warning: Driver can't set multi-cast mode > I don't see any error here. The warning abut multi-cast is just a warning and should not affect the operation (unless you are trying to use IPv6) Since you've obviously trying to use the synthetic Linux target, does your I/O adapter [the auxiliary program that runs on Linux and provides network access] know about both interfaces? Have you made sure that you understand the process with a single network interface? The manual has a good explanation of how to run programs on the synthetic target, how to set up the auxiliary, etc. Run some of the standard network test programs under this scenario, then proceed to getting two networks running. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss