public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Weilong Li <weilongli2000@yahoo.com>
To: Jonathan Larmour <jlarmour@redhat.com>
Cc: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] network test problem on ipaq
Date: Sun, 01 Jul 2001 12:34:00 -0000	[thread overview]
Message-ID: <20010701193426.20317.qmail@web14309.mail.yahoo.com> (raw)
In-Reply-To: <3B3F45D0.F921B58E@redhat.com>

The ip adddress of ipaq is 192.168.1.20. After redboot
boots on ipaq, I issued tcp_source and tcp_sink
command
to target on my redhat host.

# ./ecos/packages/net/tcpip/current/tests/tcp_sink
192.168.1.20
Start TCP test - SINK mode to 192.168.1.20

At another terminal:
# ./ecos/packages/net/tcpip/current/tests/tcp_source
192.168.1.20
Start TCP test - SOURCE mode to 192.168.1.20

And I pinged 192.168.1.20, and I got response.

Then I issued gdb command on tcp_echo. This time it
can load, while immediately after I type "continue",
and tcp_echo is running, tcp_sink and tcp_source
will report "no route to 192.168.1.20", and
I cannot ping ipaq from linux host.
Here is the screen.
#arm-elf-gdb
./ipaq/install/tests/net/tcpip/current/tests/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) set remotebaud 38400
(gdb) target remote /dev/ttyS0 
Remote debugging using /dev/ttyS0
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: 26956 bits/sec, 305 bytes/write.
(gdb) continue
Continuing.
Start TCP test - ECHO mode
No load = 723469
Set background load = 50% starting 10 threads
Set no background load
High Load[100] = 686113 => 6%
Set background load = 50% starting 10 threads
Set no background load
High Load[200] = 655463 => 10%
Set background load = 50% starting 10 threads
Set no background load
High Load[400] = 593289 => 18%
Set background load = 50% starting 10 threads
Set no background load
High Load[800] = 473787 => 35%
Set background load = 50% starting 10 threads
Set no background load
High Load[1600] = 234626 => 68%
Set background load = 50% starting 10 threads
Set no background load
Load[1200] = 354165 => 52%
Set background load = 50% starting 10 threads
Set no background load
Final load[1153] = 368145 => 50%

Here are two screens from tcp_sink and tcp_source.
#./ecos/packages/net/tcpip/current/tests/tcp_source
192.168.1.20
Start TCP test - SOURCE mode to 192.168.1.20

Can't connect to target: No route to host

#./ecos/packages/net/tcpip/current/tests/tcp_sink
192.168.1.20
Start TCP test - SOURCE mode to 192.168.1.20

Can't connect to target: No route to host

The problem I'm suspecious of is that: after tcp_echo
is running through serial port, the ipaq seems stuck
there and not responding to other connections (even
from ethernet card interface.)
But I don't know what is behind.

thanks,

Weilong
--- Jonathan Larmour <jlarmour@redhat.com> wrote:
> Weilong Li wrote:
> > 
> > I try to run tcp_echo, tcp_source and tcp_sink
> > program on ipaq.
> > 
> > >From linux host, I used serial port to connect
> > ipaq, then I used gdb to remotely run tcp_echo,
> after
> > tcp_echo is running, and I run tcp_source and
> > tcp_sink, but I got "no route to host" message.
> > And I cannot ping ipaq.
> > 
> > While before I run tcp_echo, I can ping ipaq, and
> > tcp_source and tcp_sink can successfully run and
> > waiting for packets. But I cannot run tcp_echo
> > through gdb, it simply cannot load the program.
> 
> You cannot even load it? Do you get any output from
> GDB?
> 
> Jifl
> -- 
> Red Hat, Rustat House, Clifton Road, Cambridge, UK.
> Tel: +44 (1223) 271062
> Maybe this world is another planet's Hell -Aldous
> Huxley || Opinions==mine


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

  reply	other threads:[~2001-07-01 12:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-01  3:07 Weilong Li
2001-07-01  8:46 ` Jonathan Larmour
2001-07-01 12:34   ` Weilong Li [this message]
2001-07-02 11:45     ` Jonathan Larmour
2001-07-02 12:02       ` Weilong Li
2001-07-02 12:14         ` Jonathan Larmour
2001-07-03  2:40           ` Weilong Li
2001-07-04 19:52             ` Jonathan Larmour
2001-07-07 18:29           ` Weilong Li
2001-07-01 19:41 ` Gary Thomas
2001-07-01 21:35   ` Weilong Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010701193426.20317.qmail@web14309.mail.yahoo.com \
    --to=weilongli2000@yahoo.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=jlarmour@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).