This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: _control and _start are called several times in thebegining
- From: Gary Thomas <gary at mlbassoc dot com>
- To: mkhoyila at uci dot edu
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 22 Aug 2005 15:57:28 -0600
- Subject: Re: [ECOS] _control and _start are called several times in thebegining
- References: <27391.63.87.1.243.1124746992.squirrel@webmail.uci.edu>
On Mon, 2005-08-22 at 14:43 -0700, mkhoyila@uci.edu wrote:
> Gentlemen
>
> I have an issue (may be it is not an issue) about _control, _send and
> _stop functions. As you see from below printout, above functions are
> called three times before eCos settles down. Is this normal? Thanks for
> your help.
This is indeed normal and has to do with how the network gets
configured and then reconfigured during initial DHCP negotiations.
>
> eth0: MAC Address: 02:10:12:01:00:08
> [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(0x800553e4)
> New domain internet at 0x00000000
> [cyg_net_init] Init: cyg_net_add_domain(0x80054e40)
> New domain route at 0x00000000
> [cyg_net_init] Init: cyg_route_init(0x00000000)
> [cyg_net_init] Done
> BOOTP[eth0] op: REPLY
> htype: Ethernet
> hlen: 6
> hops: 0
> xid: 0x0
> secs: 0
> flags: 0x0
> hw_addr: 02:10:12:01:00:08
> client IP: 192.168.1.8
> my IP: 192.168.1.8
> server IP: 192.168.1.10
> gateway IP: 192.168.1.100
> options:
> subnet mask: 255.255.255.0
> IP broadcast: 192.168.1.255
> gateway: 192.168.1.100
> inet_net() - entering...for network interface eth0
> bcm63xx_start
> xmit 42 bytes at 8007ad56 sg[1]
> 8007AD56: FF FF FF FF FF FF 02 10 12 01 00 08 08 06 00 01
> |................|
> 8007AD66: 08 00 06 04 00 01 02 10 12 01 00 08 C0 A8 01 08
> |................|
> 8007AD76: 00 00 00 00 00 00 C0 A8 01 08 |..........
> |
> bcm63xx_send
> bcm63xx_control
> bcm63xx_start
> bcm63xx_control
> bcm63xx_stop
> bcm63xx_start
> bcm63xx_control
>
>
>
>
--
------------------------------------------------------------
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