This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
timing problem with httpd webserver and freebsd stack
- From: "Stefan Rosinger" <a_jedi_night4u at gmx dot at>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Sun, 6 Feb 2005 15:44:04 +0100 (MET)
- Subject: [ECOS] timing problem with httpd webserver and freebsd stack
Hi all!
I have eCos up and running on a PowerPc platform with 2MBytes RAM. I do a
RAM startup. I configured the httpd server to autostart.
I also compile the monitor.c file for monitoring my system a little bit.
I wrote a small index.html for my purpose (like the monitor one).
When i want to start the index site it takes about 30 secs the first site
start.(same with the monitor index.html)
I have no idea why.
For better understanding of my system i included a list of the packages
which i sniffed from my host and my target when i wanted to open my
index.html.
I also included the diagnostic output.(for info: ISR and duplex are outputs
of my interrupt ethernet driver)
Hostplatform: 192.168.0.5
Target: 192.168.0.17
Why are some checksums of my host platform incorrect? what can i do against
this?
I use the IE 6.0 for opening my site.
I thank you for help.
Stefan
-------packages---------
No. Time Source Destination Protocol
Info
1 0.000000 192.168.0.5 192.168.0.17 TCP
1083 > http [SYN] Seq=0 Ack=0 Win=64240 Len=0 MSS=1460
2 0.003444 192.168.0.17 192.168.0.5 TCP
http > 1082 [RST] Seq=0 Ack=0 Win=0 Len=0
3 2.935202 192.168.0.5 192.168.0.17 TCP
1083 > http [SYN] Seq=0 Ack=0 Win=64240 Len=0 MSS=1460
4 2.938542 192.168.0.17 192.168.0.5 TCP
http > 1082 [RST] Seq=0 Ack=0 Win=0 Len=0
5 8.950473 192.168.0.5 192.168.0.17 TCP
1083 > http [SYN] Seq=0 Ack=0 Win=64240 Len=0 MSS=1460
6 8.968719 192.168.0.17 192.168.0.5 TCP
http > 1083 [SYN, ACK] Seq=0 Ack=1 Win=17520 Len=0 MSS=1460
7 8.968739 192.168.0.5 192.168.0.17 TCP
1083 > http [ACK] Seq=1 Ack=1 Win=64240 [CHECKSUM INCORRECT] Len=0
8 8.968906 192.168.0.5 192.168.0.17 HTTP GET
/index.html HTTP/1.1
9 8.973794 192.168.0.17 192.168.0.5 TCP
[TCP Dup ACK 6#1] http > 1083 [ACK] Seq=1 Ack=1 Win=17520 Len=0
10 10.475473 192.168.0.17 192.168.0.5 TCP
http > 1083 [SYN, ACK] Seq=0 Ack=1 Win=17520 Len=0 MSS=1460
11 10.475495 192.168.0.5 192.168.0.17 TCP
1083 > http [ACK] Seq=203 Ack=1 Win=64240 [CHECKSUM INCORRECT] Len=0
12 10.480225 192.168.0.17 192.168.0.5 TCP
[TCP Dup ACK 10#1] http > 1083 [ACK] Seq=1 Ack=1 Win=17520 Len=0
13 10.480238 192.168.0.5 192.168.0.17 HTTP GET
/index.html HTTP/1.1
14 22.294441 192.168.0.5 192.168.0.17 HTTP GET
/index.html HTTP/1.1
15 22.393768 192.168.0.17 192.168.0.5 HTTP
HTTP/1.1 200 OK (text/html)
16 22.401677 192.168.0.17 192.168.0.5 HTTP
Continuation
17 22.401731 192.168.0.5 192.168.0.17 TCP
1083 > http [ACK] Seq=203 Ack=271 Win=63971 [CHECKSUM INCORRECT] Len=0
18 22.402601 192.168.0.5 192.168.0.17 TCP
1083 > http [FIN, ACK] Seq=203 Ack=271 Win=63971 [CHECKSUM INCORRECT] Len=0
19 25.486972 192.168.0.17 192.168.0.5 HTTP
HTTP/1.1 200 OK (text/html)
20 25.486993 192.168.0.5 192.168.0.17 TCP
[TCP Dup ACK 17#1] 1083 > http [ACK] Seq=204 Ack=271 Win=63971 [CHECKSUM
INCORRECT] Len=0
21 25.492361 192.168.0.17 192.168.0.5 TCP
[TCP Out-Of-Order] http > 1083 [FIN, ACK] Seq=270 Ack=203 Win=17520 Len=0
22 25.492366 192.168.0.5 192.168.0.17 TCP
[TCP Dup ACK 17#2] 1083 > http [ACK] Seq=204 Ack=271 Win=63971 [CHECKSUM
INCORRECT] Len=0
23 25.498067 192.168.0.17 192.168.0.5 TCP
[TCP Out-Of-Order] http > 1083 [FIN, ACK] Seq=270 Ack=203 Win=17520 Len=0
24 25.498074 192.168.0.5 192.168.0.17 TCP
[TCP Dup ACK 17#3] 1083 > http [ACK] Seq=204 Ack=271 Win=63971 [CHECKSUM
INCORRECT] Len=0
--------diag output----------------
Init device '/dev/edip0'
Init eDip 240-7 serial channel: 5fba0
Init device '/dev/ser1'
VIRTEX2P SERIAL init - Device: ff0e0900 - IRQ#: 3
Set output buffer - buf: 61f98 len: 128
Set input buffer - buf: 62018 len: 128
Network stack using 66816 bytes for misc space
66816 bytes for mbufs
135168 bytes for mbuf clusters
Alloc mbuf = 0x00076f00
Alloc mbuf = 0x00076f80
Alloc mbuf = 0x00077000
Alloc mbuf = 0x00077080
Alloc mbuf = 0x00077100
Alloc mbuf = 0x00077180
Alloc mbuf = 0x00077200
Alloc mbuf = 0x00077280
Alloc mbuf = 0x00077300
Alloc mbuf = 0x00077380
Alloc mbuf = 0x00077400
Alloc mbuf = 0x00077480
Alloc mbuf = 0x00077500
Alloc mbuf = 0x00077580
Alloc mbuf = 0x00077600
Alloc mbuf = 0x00077680
Allocate cluster = 0x00087ba4
cyg_if_attach.215 - After initialize list 0x0005dec4
IFP: 0x0005deb4 (eth0)
cyg_getmicrotime: = 1.0
Net malloc[64] = 0x00076e10
Net malloc[64] = 0x00076dc0
Net malloc[236] = 0x00076cc0
cyg_if_attach.280 - After inserting 0x00076cc0 into list 0x0005dec4
IFP: 0x0005deb4 (eth0)
IFA: 0x00076cc0 - <<0x00076d3c>>
cyg_if_attach.215 - After initialize list 0x000adcb4
IFP: 0x000adca4 (lo0)
cyg_getmicrotime: = 1.1
Net malloc[236] = 0x00076bc0
cyg_if_attach.280 - After inserting 0x00076bc0 into list 0x000adcb4
IFP: 0x000adca4 (lo0)
IFA: 0x00076bc0 - <<0x00076c3c>>
zinit 'socket', size: 176, num: 5, flags: 1, alloc: 0
Net malloc[64] = 0x000767c0
Net malloc[64] = 0x00076770
zinit 'udpcb', size: 280, num: 5, flags: 1, alloc: 0
Net malloc[2048] = 0x000759a0
Net malloc[2048] = 0x00075190
zinit 'tcpcb', size: 616, num: 5, flags: 1, alloc: 0
Net malloc[4] = 0x00074530
Net malloc[4] = 0x00074520
zinit 'ripcb', size: 280, num: 5, flags: 1, alloc: 0
Net malloc[96] = 0x00073ef0
Net malloc[124] = 0x00073e60
Net malloc[124] = 0x00073dd0
zalloci from socket => 0x00076ad0
zalloci from udpcb => 0x00076610
zfreei to udpcb <= 0x00076610
zfreei to socket <= 0x00076ad0
BOOTP[eth0] op: REPLY
htype: Ethernet
hlen: 6
hops: 0
xid: 0x0
secs: 0
flags: 0x0
hw_addr: 00:60:6e:00:01:07
client IP: 192.168.0.17
my IP: 192.168.0.17
server IP: 192.168.0.5
gateway IP: 192.168.0.1
options:
subnet mask: 255.255.255.0
IP broadcast: 192.168.0.255
gateway: 192.168.0.1
zalloci from socket => 0x00076ad0
zalloci from udpcb => 0x00076610
Net malloc[248] = 0x00073cc0
Net malloc[148] = 0x00073c20
Net malloc[64] = 0x00073bd0
Net malloc[80] = 0x00073b70
Net malloc[88] = 0x00073b00
Net malloc[54] = 0x00073ab0
Net malloc[28] = 0x00073a80
Net malloc[32] = 0x00073a50
Net malloc[28] = 0x00073a20
Net malloc[54] = 0x000739d0
[eth_drv_ioctl] Warning: Driver can't set multi-cast mode
Net malloc[32] = 0x000739a0
[eth_drv_ioctl] Warning: Driver can't set multi-cast mode
Net malloc[148] = 0x00073900
Net malloc[64] = 0x000738b0
Net malloc[88] = 0x00073840
[eth_drv_ioctl] Warning: Driver can't set multi-cast mode
cyg_getmicrotime: = 1.370000
Net malloc[148] = 0x000737a0
Net malloc[64] = 0x00073750
Net malloc[148] = 0x000736b0
Net malloc[88] = 0x00073640
Net malloc[16] = 0x00073620
Net malloc[20] = 0x00073600
Net malloc[16] = 0x000735e0
zfreei to udpcb <= 0x00076610
zfreei to socket <= 0x00076ad0
zalloci from socket => 0x00076ad0
zalloci from udpcb => 0x00076610
Net malloc[248] = 0x000734d0
Net malloc[148] = 0x00073430
Net malloc[64] = 0x000733e0
Net malloc[28] = 0x000733b0
Net malloc[32] = 0x00073380
Net malloc[32] = 0x00073350
cyg_getmicrotime: = 1.540000
Net malloc[148] = 0x000732b0
Net malloc[64] = 0x00073260
Net malloc[80] = 0x00073200
Net malloc[16] = 0x000731e0
zfreei to udpcb <= 0x00076610
zfreei to socket <= 0x00076ad0
zalloci from socket => 0x00076ad0
zalloci from tcpcb => 0x00074ee0
Net malloc[16] = 0x000731c0
ISR: 82
ISR: 82
ISR: 81
zalloci from socket => 0x00076a20
zalloci from tcpcb => 0x00074c78
Net malloc[32] = 0x00073190
Net malloc[148] = 0x00073120
Net malloc[88] = 0x000730b0
Net malloc[20] = 0x00073090
ISR: 83
duplex
ISR: 83
duplex
Net malloc[32] = 0x00073060
Connection from 192.168.0.5[1095]
ISR: 81
Request >GET /index.html HTTP/1.1
<
Accept: */*
Accept-Language: de
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Host: 192.168.0.17
Connection: Keep-Alive
Request filename >/index.html< formdata >-NULL-<
table: 0005fc20...0005fce0
try 0005fc20: /
try 0005fc30: /index.html
calling 0005fc30: /index.html
ISR: 82
ISR: 81
Allocate cluster = 0x000883a4
----
any tip would be appreciated!!
--
DSL Komplett von GMX +++ Supergünstig und stressfrei einsteigen!
AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss