[ECOS] timeout in tftp_client_test.c

HG henri@broadbandnetdevices.com
Thu Apr 17 23:34:00 GMT 2003


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



More information about the Ecos-discuss mailing list