This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

network tests not working on ipaq


I'm using the latest cvs version of ecos and network
package, and I successfully built the network tests
for ipaq.

However, when I run them on ipaq, I got something
wrong.

I tested tcp_echo, and the ip address of ipaq (the
target) is 192.168.1.20, which is assigned
by bootp from redhat linux host.
#> arm-elf-gdb tcp_echo
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General
Public License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show
warranty" for details.
This GDB was configured as "--host=i586-pc-linux-gnu
--target=arm-elf"...
(gdb) target remote 192.168.1.20:9000
Remote debugging using 192.168.1.20:9000
0x50046f30 in ?? ()
(gdb) load
Loading section .rom_vectors, size 0x40 lma 0x20000
Loading section .text, size 0x2ec2c lma 0x20040
Loading section .rodata, size 0x1d18 lma 0x4ec6c
Loading section .data, size 0xc3c lma 0x50984
Start address 0x20040 , load size 202176
Transfer rate: 1617408 bits/sec, 305 bytes/write.
(gdb) continue
Continuing.
Start TCP test - ECHO mode
No load = 721976
Set background load = 50% starting 10 threads
Set no background load
High Load[100] = 686052 => 5%
Set background load = 50% starting 10 threads
Set no background load
High Load[200] = 655630 => 10%
Set background load = 50% starting 10 threads
Set no background load
High Load[400] = 593190 => 18%
Set background load = 50% starting 10 threads
Set no background load
High Load[800] = 473764 => 35%
Set background load = 50% starting 10 threads
Set no background load
High Load[1600] = 234748 => 68%
Set background load = 50% starting 10 threads
Set no background load
Load[1200] = 354291 => 51%
Set background load = 50% starting 10 threads
Set no background load
Final load[1176] = 361276 => 50%

At this moment, it stays there, and on linux host,
I typed tcp_sink,
#>./tcp_sink 192.168.1.20
Start TCP test - SINK mode to 192.168.1.20
Can't connect to target: No route to host

and at this time I cannot even ping 192.168.1.20.
(my linux host machine has ip address of 192.168.1.9).

I found out that after redboot boots from ipaq,
I can ping ipaq from the linux host, however,
if I remotely run ANY tests program, the redboot
will be stuck, so ipaq is not responsive to
any connection to it, so I cannot ping ipaq from
linux host.

So what is the problem?

thanks,

Weilong


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]