This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: : Network problem
- From: Gary Thomas <gary at mlbassoc dot com>
- To: vamshi at cse dot iitb dot ac dot in
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Sat, 14 May 2005 05:13:19 -0600
- Subject: Re: [ECOS] : Network problem
- References: <32931.10.129.11.162.1116053565.squirrel@www.cse.iitb.ac.in>
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