* [ECOS] _control and _start are called several times in the begining
@ 2005-08-22 21:43 mkhoyila
2005-08-22 21:57 ` Gary Thomas
0 siblings, 1 reply; 2+ messages in thread
From: mkhoyila @ 2005-08-22 21:43 UTC (permalink / raw)
To: ecos-discuss
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.
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
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] _control and _start are called several times in the begining
2005-08-22 21:43 [ECOS] _control and _start are called several times in the begining mkhoyila
@ 2005-08-22 21:57 ` Gary Thomas
0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2005-08-22 21:57 UTC (permalink / raw)
To: mkhoyila; +Cc: eCos Discussion
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-22 21:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-22 21:43 [ECOS] _control and _start are called several times in the begining mkhoyila
2005-08-22 21:57 ` Gary Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).