[#4044] test https connection would be frequently stuck

Document created by Aaronwu Employee on Aug 28, 2013
Version 1Show Document
  • View in full screen mode

[#4044] test https connection would be frequently stuck

Submitted By: Mingquan Pan

Open Date

2008-04-18 06:20:27     Close Date

2008-05-05 02:28:33

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

N/A

Uboot version or rev.:

    Toolchain version or rev.:

08r1-8

App binary format:

N/A     

Summary: test https connection would be frequently stuck

Details:

 

When running pound in trunk head kernel to test https connection,it would be frequently stuck in middle.

 

like:

 

fin> bootelf^M

Loading .text @ 0x00001000 (1047296 bytes)^M

Loading .exit.text.refok @ 0x00100b00 (296 bytes)^M

Loading .rodata @ 0x00100c40 (249736 bytes)^M

Loading __ksymtab @ 0x0013dbc8 (14888 bytes)^M

Loading __ksymtab_gpl @ 0x001415f0 (4168 bytes)^M

Loading __ksymtab_strings @ 0x00142638 (45848 bytes)^M

Loading __param @ 0x0014d950 (300 bytes)^M

Clearing .bss @ 0x0014da80 (55556 bytes)^M

Loading .data @ 0x0015b384 (76924 bytes)^M

Loading .init.text @ 0x0016e000 (97932 bytes)^M

Loading .init.data @ 0x00185e8c (13176 bytes)^M

Loading .init.setup @ 0x00189204 (612 bytes)^M

Loading .initcall.init @ 0x00189468 (448 bytes)^M

Loading .con_initcall.init @ 0x00189628 (4 bytes)^M

Loading .init.ramfs @ 0x0018962c (4194835 bytes)^M

Loading .text_l1 @ 0xffa00000 (6984 bytes)^M

sh_addr: FFA00000, p_paddr: 0058983F^M

Loading from: 0257D000 to 0058983F, size: 6984^M

Loading .data_l1 @ 0xff800000 (192 bytes)^M

sh_addr: FF800000, p_paddr: 0058B387^M

Loading from: 0257F000 to 0058B387, size: 192^M

## Starting application at 0x0016e000 ...^M

Linux version 2.6.24.4-ADI-2008R2-pre-svn4591 (test@uclinux51-ad9960-ad1836) (gcc version 4.1.2 (ADI svn)) #67 Tue Apr 15 03:45:05 CST 2008^M

console [early_BFuart0] enabled^M

early printk enabled on early_BFuart0^M

Warning: limiting memory to 56MB due to hardware anomaly 05000263^M

Board Memory: 64MB^M

Kernel Managed Memory: 64MB^M

Memory map:^M

  fixedcode = 0x00000400-0x00000490^M

  text      = 0x00001000-0x00100b00^M

  rodata    = 0x00100c40-0x0014da7c^M

  bss       = 0x0014da80-0x0015b384^M

  data      = 0x0015b384-0x0016e000^M

    stack   = 0x0016c000-0x0016e000^M

  init      = 0x0016e000-0x0058c000^M

  available = 0x0058c000-0x037ff000^M

  DMA Zone  = 0x03f00000-0x04000000^M

Hardware Trace Active and Enabled^M

Reset caused by Software reset^M

Blackfin support (C) 2004-2008 Analog Devices, Inc.^M

Compiled for ADSP-BF537 Rev 0.2^M

Blackfin Linux support by   blackfin.uclinux.org/^M

Processor Speed: 500 MHz core clock and 100 MHz System Clock^M

NOMPU: setting up cplb tables for global access^M

Instruction Cache Enabled^M

Data Cache Enabled (write-through)^M

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 14224^M

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600^M

Configuring Blackfin Priority Driven Interrupts^M

PID hash table entries: 256 (order: 8, 1024 bytes)^M

console handover: boot [early_BFuart0] -> real [ttyBF0]^M

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)^M

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)^M

Memory available: 51080k/65536k RAM, (4216k init code, 1022k kernel code, 438k data, 1024k dma, 7756k reserved)^M

Blackfin Scratchpad data SRAM: 4 KB^M

Blackfin Data A SRAM: 16 KB (15 KB free)^M

Blackfin Data B SRAM: 16 KB (16 KB free)^M

Blackfin Instruction SRAM: 48 KB (41 KB free)^M

Security Framework initialized^M

Mount-cache hash table entries: 512^M

net_namespace: 64 bytes^M

NET: Registered protocol family 16^M

Blackfin GPIO Controller^M

Blackfin DMA Controller^M

stamp_init(): registering device resources^M

NET: Registered protocol family 2^M

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)^M

TCP established hash table entries: 2048 (order: 2, 16384 bytes)^M

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)^M

TCP: Hash tables configured (established 2048 bind 2048)^M

TCP reno registered^M

io scheduler noop registered^M

io scheduler anticipatory registered (default)^M

io scheduler cfq registered^M

Serial: Blackfin serial driver^M

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART^M

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize^M

bfin_mac_mdio: probed^M

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)^M

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1^M

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7^M

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0^M

bfin-wdt: initialized: timeout=20 sec (nowayout=0)^M

TCP cubic registered^M

NET: Registered protocol family 1^M

NET: Registered protocol family 17^M

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 03:37:08 UTC (13028)^M

Freeing unused kernel memory: 4216k freed^M

dma_alloc_init: dma_page @ 0x00589000 - 256 pages at 0x03f00000^M

                           _____________________________________^M

        a8888b.           / Welcome to the uClinux distribution \^M

       d888888b.         /       _     _                         \^M

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |^M

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |^M

       8'    .88       \        | |   | |  _ \| | | | \  /        |^M

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |^M

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |^M

     dP   .    Y8b.       \   For embedded processors including   |^M

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /^M

   d8"         'Y88b        \___________________________________/^M

  :8P    '      :888^M

   8a.   :     _a88P         For further information, check out:^M

._/"Yaa_:   .| 88P|            -   blackfin.uclinux.org/^M

\    YP"    `| 8P  `.          -   docs.blackfin.uclinux.org/^M

/     \.___.d|    .'           -   www.uclinux.org/^M

`--..__)8888P`._.'  jgs/a:f    -   www.analog.com/blackfin^M

^M

Have a lot of fun...^M

^M

^M

BusyBox v1.10.0 (2008-04-14 20:35:33 CST) built-in shell (msh)^M

Enter 'help' for a list of built-in commands.^M

^M

root:/>

************** STEP 4: Start testing.

 

ls /etc/pound/mycert.pem^M

^[[0;0m/etc/pound/mycert.pem^[[0m^M

root:/> ls /usr/local/etc/pound.cfg^M

^[[0;0m/usr/local/etc/pound.cfg^[[0m^M

root:/> ifconfig eth0 10.100.4.50^M

root:/> PHY: 0:01 - Link is Up - 100/Full^M

boa -c /etc -d &^M

125^M

root:/> [01/Jan/1970:03:37:12 +0000] boa: server version Boa/0.94.14rc21^M

[01/Jan/1970:03:37:12 +0000] boa: server built Apr 14 2008 at 20:35:25.^M

[01/Jan/1970:03:37:12 +0000] boa: starting server pid=125, port 80^M

pound &^M

126^M

root:/> ps aux^M

  PID USER       VSZ STAT COMMAND^M

    1 root         0 S  /init ^M

    2 root         0 S  [kthreadd]^M

    3 root         0 S  [ksoftirqd/0]^M

    4 root         0 S  [events/0]^M

    5 root         0 S  [khelper]^M

   28 root         0 S  [kblockd/0]^M

   52 root         0 S  [pdflush]^M

   53 root         0 S  [pdflush]^M

   54 root         0 S  [kswapd0]^M

   52 root         0 S  [pdflush]^M

   53 root         0 S  [pdflush]^M

   54 root         0 S  [kswapd0]^M

   55 root         0 S  [aio/0]^M

   84 root         0 S  [mtdblockd]^M

   86 root         0 S  [bfin-spi.0]^M

  116 root         0 S  inetd ^M

  118 root         0 S  -/bin/sh ^M

  119 root         0 S  /bin/watchdogd -f -s ^M

  120 root         0 S  /sbin/syslogd -n ^M

  121 root         0 S  /sbin/klogd -n ^M

  125 root         0 S  boa -c /etc -d ^M

  126 root         0 S  pound ^M

  127 root         0 S  pound ^M

  128 root         0 S  pound ^M

  129 root         0 S  pound ^M

  130 rootADI ucLinux Group^M

https://10.100.4.50/test^M

rcp -rp ../test root@10.100.4.50:/home/httpd/^M

rcp ok! Start webserver test.^M

Try 0^M

    /index.html   ----OK!^M

Try 0^M

    /BlackfinUboot.htm   ----OK!^M

Try 0^M

    /BlackfinuClinux.htm   ----OK!^M

Try 1^M

    /index.html   ----OK!^M

Try 1^M

    /BlackfinUboot.htm   ----OK!^M

Try 1^M

    /BlackfinuClinux.htm   ----OK!^M

Try 2^M

    /index.html   ----OK!^M

Try 2^M

    /BlackfinUboot.htm   ----OK!^M

Try 2^M

    /BlackfinuClinux.htm   ----OK!^M

Try 3^M

    /index.html   ----OK!^M

Try 3^M

    /BlackfinUboot.htm   ----OK!^M

Try 3^M

    /BlackfinuClinux.htm   ----OK!^M

Try 4^M

...

 

Try 8^M

    /index.html   ----OK!^M

Try 8^M

    /BlackfinUboot.htm   ----OK!^M

Try 8^M

pound test fail to exit.

Case 1 ...FAIL

 

Case 1 ...FAIL

 

POUND TEST FAIL

POUND TEST ............[FAIL]

 

It used to be running until 999 times.

 

Follow-ups

 

--- Mingquan Pan                                             2008-05-05 02:28:33

This bug doesn't occour now on trunk, and runs ok. So close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.pound    application/octet-stream    29286    Mingquan Pan

Attachments

Outcomes