* [ECOS] timeout in tftp_client_test.c
@ 2003-04-17 21:49 HG
2003-04-18 5:14 ` HG
0 siblings, 1 reply; 4+ messages in thread
From: HG @ 2003-04-17 21:49 UTC (permalink / raw)
To: ecos-discuss
Hi All,
I am getting timeouts in this test in the following test case for the
tftp_get call :
server used is solarwinds tftp server on an nt 4.0 , ip address of
application is set via the config tool :address setups for eth0 , the ip
address is different from the redboot one.
the 82559 ethernet driver is used with 8 tx & rx descriptor, the freebsd
stack is used with the default configs , the cvs is that of a snapshot of
early april this year. The program returns from the call with no error and
only a few percent of the file transfered. The thread apparently continues
and the server reports continued timeouts until the board is restarted.
the tftp download with redboot works ok and is used for the download of
files sizes of > 1meg successfully . Throughput is not great but at least
no timeout.
Are there some configuration options for the library that should be checked
that are different from the defaults , any patches that could be useful ,
setup issues to check ??????
many thanks for any help
Henri
example output :
RedBoot> load tftp_client_test.srec
Entry point: 0x803080bc, address range: 0x80308000-0x80365160
RedBoot> go
[cyg_net_init] Init: mbinit(0x00000000)
[cyg_net_init] Init: cyg_net_init_devs(0x00000000)
Init device 'i82559_eth0'
eth0 XXX: driver didn't set ifq_maxlen
[cyg_net_init] Init: loopattach(0x00000000)
[cyg_net_init] Init: ifinit(0x00000000)
IFP: 0x80364250, next: 0x803b4ee0
IFP: 0x803b4ee0, next: 0x00000000
[cyg_net_init] Init: domaininit(0x00000000)
[cyg_net_init] Init: cyg_net_add_domain(0x80364bb0)
New domain internet at 0x00000000
[cyg_net_init] Init: cyg_net_add_domain(0x80364684)
New domain route at 0x00000000
[cyg_net_init] Init: cyg_route_init(0x00000000)
[cyg_net_init] Done
Start TFTP test
BOOTP[eth0] op: REPLY
htype: Ethernet
hlen: 6
hops: 0
xid: 0x0
secs: 0
flags: 0x0
hw_addr: 08:88:12:34:56:78
client IP: 192.168.0.21
my IP: 192.168.0.21
server IP: 192.168.0.4
gateway IP: 192.168.0.4
options:
subnet mask: 255.255.255.0
IP broadcast: 192.168.0.255
gateway: 192.168.0.4
Trying tftp_get hello.bin 192.168.0.4...
res = 3584, err = 0
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ECOS] timeout in tftp_client_test.c
2003-04-17 21:49 [ECOS] timeout in tftp_client_test.c HG
@ 2003-04-18 5:14 ` HG
0 siblings, 0 replies; 4+ messages in thread
From: HG @ 2003-04-18 5:14 UTC (permalink / raw)
To: ecos-discuss
Hi All,
I am getting timeouts in this test in the following test case for the
tftp_get call :
server used is solarwinds tftp server on an nt 4.0 , ip address of
application is set via the config tool :address setups for eth0 , the ip
address is different from the redboot one.
the 82559 ethernet driver is used with 8 tx & rx descriptor, the freebsd
stack is used with the default configs , the cvs is that of a snapshot of
early april this year. The program returns from the call with no error and
only a few percent of the file transfered. The thread apparently continues
and the server reports continued timeouts until the board is restarted.
the tftp download with redboot works ok and is used for the download of
files sizes of > 1meg successfully . Throughput is not great but at least
no timeout.
Are there some configuration options for the library that should be checked
that are different from the defaults , any patches that could be useful ,
setup issues to check ??????
many thanks for any help
Henri
example output :
RedBoot> load tftp_client_test.srec
Entry point: 0x803080bc, address range: 0x80308000-0x80365160
RedBoot> go
[cyg_net_init] Init: mbinit(0x00000000)
[cyg_net_init] Init: cyg_net_init_devs(0x00000000)
Init device 'i82559_eth0'
eth0 XXX: driver didn't set ifq_maxlen
[cyg_net_init] Init: loopattach(0x00000000)
[cyg_net_init] Init: ifinit(0x00000000)
IFP: 0x80364250, next: 0x803b4ee0
IFP: 0x803b4ee0, next: 0x00000000
[cyg_net_init] Init: domaininit(0x00000000)
[cyg_net_init] Init: cyg_net_add_domain(0x80364bb0)
New domain internet at 0x00000000
[cyg_net_init] Init: cyg_net_add_domain(0x80364684)
New domain route at 0x00000000
[cyg_net_init] Init: cyg_route_init(0x00000000)
[cyg_net_init] Done
Start TFTP test
BOOTP[eth0] op: REPLY
htype: Ethernet
hlen: 6
hops: 0
xid: 0x0
secs: 0
flags: 0x0
hw_addr: 08:88:12:34:56:78
client IP: 192.168.0.21
my IP: 192.168.0.21
server IP: 192.168.0.4
gateway IP: 192.168.0.4
options:
subnet mask: 255.255.255.0
IP broadcast: 192.168.0.255
gateway: 192.168.0.4
Trying tftp_get hello.bin 192.168.0.4...
res = 3584, err = 0
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] timeout in tftp_client_test.c
2003-04-17 23:34 HG
@ 2003-04-22 16:43 ` Jonathan Larmour
0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Larmour @ 2003-04-22 16:43 UTC (permalink / raw)
To: HG; +Cc: ecos-discuss
HG wrote:
> Hi All,
>
> I am getting timeouts in this test in the following test case for the
> tftp_get call :
>
[snip]
> Are there some configuration options for the library that should be checked
> that are different from the defaults , any patches that could be useful ,
> setup issues to check ??????
If your RedBoot is using bootp/dhcp for its IP address, then if your eCos
application does the same it will probably get given the same address,
causing a conflict... the eCos application always passes incoming packets
to redboot and if redboot takes it (as it would if the address matched)
eCos will never see the packets.... so you will never see the reply from
the TFTP server.
I recommend trying some of the simpler network tests to start with to give
you some confidence in the setup.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ECOS] timeout in tftp_client_test.c
@ 2003-04-17 23:34 HG
2003-04-22 16:43 ` Jonathan Larmour
0 siblings, 1 reply; 4+ messages in thread
From: HG @ 2003-04-17 23:34 UTC (permalink / raw)
To: ecos-discuss
Hi All,
I am getting timeouts in this test in the following test case for the
tftp_get call :
server used is solarwinds tftp server on an nt 4.0 , ip address of
application is set via the config tool :address setups for eth0 , the ip
address is different from the redboot one.
the 82559 ethernet driver is used with 8 tx & rx descriptor, the freebsd
stack is used with the default configs , the cvs is that of a snapshot of
early april this year. The program returns from the call with no error and
only a few percent of the file transfered. The thread apparently continues
and the server reports continued timeouts until the board is restarted.
the tftp download with redboot works ok and is used for the download of
files sizes of > 1meg successfully . Throughput is not great but at least
no timeout.
Are there some configuration options for the library that should be checked
that are different from the defaults , any patches that could be useful ,
setup issues to check ??????
many thanks for any help
Henri
example output :
RedBoot> load tftp_client_test.srec
Entry point: 0x803080bc, address range: 0x80308000-0x80365160
RedBoot> go
[cyg_net_init] Init: mbinit(0x00000000)
[cyg_net_init] Init: cyg_net_init_devs(0x00000000)
Init device 'i82559_eth0'
eth0 XXX: driver didn't set ifq_maxlen
[cyg_net_init] Init: loopattach(0x00000000)
[cyg_net_init] Init: ifinit(0x00000000)
IFP: 0x80364250, next: 0x803b4ee0
IFP: 0x803b4ee0, next: 0x00000000
[cyg_net_init] Init: domaininit(0x00000000)
[cyg_net_init] Init: cyg_net_add_domain(0x80364bb0)
New domain internet at 0x00000000
[cyg_net_init] Init: cyg_net_add_domain(0x80364684)
New domain route at 0x00000000
[cyg_net_init] Init: cyg_route_init(0x00000000)
[cyg_net_init] Done
Start TFTP test
BOOTP[eth0] op: REPLY
htype: Ethernet
hlen: 6
hops: 0
xid: 0x0
secs: 0
flags: 0x0
hw_addr: 08:88:12:34:56:78
client IP: 192.168.0.21
my IP: 192.168.0.21
server IP: 192.168.0.4
gateway IP: 192.168.0.4
options:
subnet mask: 255.255.255.0
IP broadcast: 192.168.0.255
gateway: 192.168.0.4
Trying tftp_get hello.bin 192.168.0.4...
res = 3584, err = 0
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-04-22 16:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-17 21:49 [ECOS] timeout in tftp_client_test.c HG
2003-04-18 5:14 ` HG
2003-04-17 23:34 HG
2003-04-22 16:43 ` Jonathan Larmour
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).