Menu

#223 After wake up from standby or mem mode, ethernet fails to work in bf609

master head
closed
None
low
fixed
ALL
2014-09-11
2014-07-21
Vivi Li
No

After wake up from standby or mem mode, ethernet fails to work in bf609-ezkit.

--
Linux version 3.16.0-rc4-ADI-2014R1-pre-00376-gb6f3b82-dirty (test@linux83-bf609-usbhost) (gcc version 4.3.5 (ADI-master/git-db9494f) ) #4 Fri 4
register early platform devices
bootconsole [early_shadow0] enabled
ERROR: Not running on ADSP-BF609: unknown CPUID 0x0000 Rev 0.0
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 128MB
Kernel Managed Memory: 128MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x00202d30
rodata = 0x00202d54-0x002af760
bss = 0x002b0000-0x002c8bc0
data = 0x002c8bc0-0x002f4000
stack = 0x002f2000-0x002f4000
init = 0x002f4000-0x008e1000
available = 0x008e1000-0x07f00000
DMA Zone = 0x07f00000-0x08000000
Hardware Trace active and enabled
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF609 Rev 0.0
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock, 125 MHz SCLk, 125 MHz SCLK0, 125 MHz SCLK1 and 250 MHz DCLK
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
L2 SRAM : uncacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
L2 SRAM : uncacheable in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 32258
Kernel command line: root=/dev/mtdblock0 rw clkin_hz=(25000000) earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174f
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 119788K/130048K available (2055K kernel code, 173K rwdata, 690K rodata, 6068K init, 98K bss, 10260K reserved, 1024K DMA)
NR_IRQS:291
Configuring Blackfin Priority Driven Interrupts
Console: colour dummy device 80x25
Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
devtmpfs: initialized
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (9 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 64 KB (49 KB free)
Blackfin L2 SRAM: 256 KB (256 KB free)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
Blackfin DMA Controller
ezkit_init(): registering device resources
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01e00
i2c-bfin-twi i2c-bfin-twi.1: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01f00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
PTP clock support registered
NET: Registered protocol family 23
Switched to clocksource bfin_cs_cycles
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
msgmni has been set to 233
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc02000 (irq = 88, base_baud = 7812500) is a BFIN-UART
console [ttyBF0] enabled
console [ttyBF0] enabled
bootconsole [early_BFuart0] disabled
bootconsole [early_BFuart0] disabled
bootconsole [early_shadow0] disabled
physmap platform flash device: 01000000 at b0000000
physmap-flash physmap-flash.0: map_probe failed
CAN device driver interface
bfin_can bfin_can.0: bfin_can device registered(&reg_base=ffc00a00, rx_irq=47, tx_irq=48, err_irq=49, sclk=125000000)
stmmaceth stmmaceth.0: no reset control found
stmmac - user ID: 0x10, Synopsys ID: 0x36
Ring mode enabled
DMA HW capability register supported
Enhanced/Alternate descriptors
Enabled extended descriptors
RX Checksum Offload Engine supported (type 2)
Wake-Up On Lan supported
Enable RX Mitigation via HW Watchdog Timer
libphy: stmmac: probed
eth0: PHY ID 20005c90 at 1 IRQ POLL (stmmac-0:01) active
usbcore: registered new interface driver usb-storage
input: bfin-rotary as /devices/platform/bfin-rotary/input/input0
i2c /dev entries driver
bfin_wdt: initialized: timeout=20 sec (nowayout=0)
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
eth0: device MAC address 02:80:ad:20:31:e8
dma_alloc_init: dma_page @ 0x04fa4000 - 256 pages at 0x07f00000
IP-Config: Complete:
device=eth0, hwaddr=02:80:ad:20:31:e8, ipaddr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174
host="bf609-ezkit", domain=, nis-domain=(none)
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
Freeing unused kernel memory: 6068K (002f4000 - 008e1000)

BusyBox v1.22.1 (2014-07-17 23:53:04 CST) hush - the humble shell

root:/> stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx

root:/> echo mem > /sys/power/state
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.011 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
random: nonblocking pool is initialized
PM: suspend of devices complete after 1.539 msecs
PM: late suspend of devices complete after 0.458 msecs
PM: noirq suspend of devices complete after 0.657 msecs
PM: noirq resume of devices complete after 0.489 msecs
PM: early resume of devices complete after 0.405 msecs
PM: resume of devices complete after 13.898 msecs
Restarting tasks ... done.
root:/>
root:/>
root:/>
root:/>
root:/> ifconfig
eth0 Link encap:Ethernet HWaddr 02:80:AD:20:31:E8
inet addr:10.100.4.50 Bcast:10.100.4.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:75

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root:/> ping 10.100.4.174
PING 10.100.4.174 (10.100.4.174): 56 data bytes
--- 10.100.4.174 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
root:/>
--

Discussion

  • andre

    andre - 2014-07-24

    Hi Vivi,

    Is this bug from the power_ethernet test? If so, I can take a look at it.

    Regards,
    Andre.

     
  • Sonic Zhang

    Sonic Zhang - 2014-07-24
    • assigned_to: andre
    • Resolution: none --> assigned
     
  • Steven Miao

    Steven Miao - 2014-08-08

    need reset priv->oldlink priv->speed after phy_stop

     
  • Steven Miao

    Steven Miao - 2014-08-08
    • Resolution: assigned --> fixed
     
  • panmingquan

    panmingquan - 2014-08-15
    • Resolution: fixed --> under_debugging
     
  • panmingquan

    panmingquan - 2014-08-15

    It looks from the regression log that the results gets better, but still doesn't go to the end of the test.

    root:/>successful boot attempt ifconfig ethstmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    0 10.100.4.50
    root:/> Ethernet may has been activated already!
    random: nonblocking pool is initialized
    version
    kernel: Linux release 3.16.0-ADI-2014R1-pre-00401-gce2a0f2-dirty, build #2 Thu Aug 14 23:15:04 CST 2014
    toolchain: /home/test/workspace/src/kernel/label/BF609-EZKIT-USBHOST/output/host/usr/bin/bfin-linux-uclibc-gcc release gcc version 4.3.5 (ADI-master/git-46c6a72)
    user-dist: release git-de663ec, build #1 Thu Aug 14 23:11:25 CST 2014
    root:/> 
    Linux version: 3.16.0-ADI-2014R1-pre-00401-gce2a0f2-dirty
    GCC version: 4.3.5 (ADI-master/git-46c6a72)
    user-dist version: git-de663ec

    ** STEP 3: Start testing

    [6n
    root:/> ping 10.100.4.174 -c 5
    PING 10.100.4.174 (10.100.4.174): 56 data bytes
    64 bytes from 10.100.4.174: seq=0 ttl=64 time=1.989 ms
    64 bytes from 10.100.4.174: seq=1 ttl=64 time=1.032 ms
    64 bytes from 10.100.4.174: seq=2 ttl=64 time=1.022 ms
    64 bytes from 10.100.4.174: seq=3 ttl=64 time=1.032 ms
    64 bytes from 10.100.4.174: seq=4 ttl=64 time=1.038 ms

    --- 10.100.4.174 ping statistics ---
    5 packets transmitted, 5 packets received, 0% packet loss
    round-trip min/avg/max = 1.022/1.222/1.989 ms
    root:/>
    Case 1 ...PASS

    Case 1 ...PASS
    cat /proc/mounts
    rootfs / rootfs rw 0 0
    devtmpfs /dev devtmpfs rw,relatime,mode=0755 0 0
    proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
    sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    mdev /dev tmpfs rw,nosuid,relatime,mode=0755,size=10M 0 0
    devpts /dev/pts devpts rw,nosuid,noexec,relatime,mode=600 0 0
    var /var tmpfs rw,relatime 0 0
    tmp /tmp tmpfs rw,nosuid,nodev,relatime,mode=777 0 0
    debugfs /sys/kernel/debug debugfs rw,relatime 0 0
    root:/>
    Case 2 ...PASS

    Case 2 ...PASS
    ls /sys/power
    pm_async pm_freeze_timeout state wakeup_count
    root:/> 
    Case 3 ...PASS

    Case 3 ...PASS
    spawn /bin/bash
    suites/power_ethernet$ sut:~/workspace/src/kernel/label/BF609-EZKIT-USBHOST/tests
    Password:
    root@linux83-bf609-usbhost:power_ethernet#
    Case 4 ...PASS

    Case 4 ...PASS
    [6necho mem > /sys/power/state
    PM: Syncing filesystems ... done.
    Freezing user space processes ... (elapsed 0.011 seconds) done.
    Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    Suspending console(s) (use no_console_suspend to debug)

    Case 5 ...PASS

    Case 5 ...PASS
    reset_board 4
    powering OFF board attached to printer port pin 4
    powering ON board attached to printer port pin 4

    Case 6 ...PASS

    Case 6 ...PASS
    PM: suspend of devices complete after 1.395 msecs
    PM: late suspend of devices complete after 0.528 msecs
    PM: noirq suspend of devices complete after 0.725 msecs
    PM: noirq resume of devices complete after 0.627 msecs
    PM: early resume of devices complete after 0.454 msecs
    PM: resume of devices complete after 13.857 msecs
    Restarting tasks ... done.
    root:/>
    Case 7 ...PASS

    Case 7 ...PASS
    stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    ifconfig
    eth0 Link encap:Ethernet HWaddr 02:80:AD:20:31:E8
    inet addr:10.100.4.50 Bcast:10.100.4.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:7 errors:0 dropped:0 overruns:0 frame:0
    TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:610 (610.0 B) TX bytes:574 (574.0 B)
    Interrupt:75

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    root:/>
    Case 8 ...PASS

    Case 8 ...PASS
    ping 10.100.4.174 -c 5
    PING 10.100.4.174 (10.100.4.174): 56 data bytes
    64 bytes from 10.100.4.174: seq=0 ttl=64 time=1.073 ms
    64 bytes from 10.100.4.174: seq=1 ttl=64 time=1.028 ms
    64 bytes from 10.100.4.174: seq=2 ttl=64 time=1.039 ms
    64 bytes from 10.100.4.174: seq=3 ttl=64 time=1.012 ms
    64 bytes from 10.100.4.174: seq=4 ttl=64 time=1.037 ms

    --- 10.100.4.174 ping statistics ---
    5 packets transmitted, 5 packets received, 0% packet loss
    round-trip min/avg/max = 1.012/1.037/1.073 ms
    root:/>
    Case 8 ...PASS

    Case 8 ...PASS

    PM test case 1 round 1 pass

    echo mem > /sys/power/state
    PM: Syncing filesystems ... done.
    Freezing user space processes ... (elapsed 0.000 seconds) done.
    Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    Suspending console(s) (use no_console_suspend to debug)

    Case 9 ...PASS

    Case 9 ...PASS
    root@linux83-bf609-usbhost:power_ethernet# reset_board 4
    powering OFF board attached to printer port pin 4
    powering ON board attached to printer port pin 4

    Case 10 ...PASS

    Case 10 ...PASS
    PM: suspend of devices complete after 1.381 msecs
    PM: late suspend of devices complete after 0.532 msecs
    PM: noirq suspend of devices complete after 0.729 msecs
    PM: noirq resume of devices complete after 0.600 msecs
    PM: early resume of devices complete after 0.459 msecs
    PM: resume of devices complete after 13.916 msecs
    Restarting tasks ... done.
    root:/>
    Case 11 ...PASS

    Case 11 ...PASS
    stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    ifconfig
    eth0 Link encap:Ethernet HWaddr 02:80:AD:20:31:E8
    inet addr:10.100.4.50 Bcast:10.100.4.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:12 errors:0 dropped:0 overruns:0 frame:0
    TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1100 (1.0 KiB) TX bytes:1064 (1.0 KiB)
    Interrupt:75

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    root:/>
    Case 12 ...PASS

    Case 12 ...PASS
    ping 10.100.4.174 -c 5
    PING 10.100.4.174 (10.100.4.174): 56 data bytes
    64 bytes from 10.100.4.174: seq=0 ttl=64 time=1.071 ms
    64 bytes from 10.100.4.174: seq=1 ttl=64 time=1.041 ms
    64 bytes from 10.100.4.174: seq=2 ttl=64 time=1.034 ms
    64 bytes from 10.100.4.174: seq=3 ttl=64 time=1.032 ms
    64 bytes from 10.100.4.174: seq=4 ttl=64 time=1.031 ms

    --- 10.100.4.174 ping statistics ---
    5 packets transmitted, 5 packets received, 0% packet loss
    round-trip min/avg/max = 1.031/1.041/1.071 ms
    root:/>
    Case 12 ...PASS

    Case 12 ...PASS

    PM test case 1 round 2 pass

    echo mem > /sys/power/state
    PM: Syncing filesystems ... done.
    Freezing user space processes ... (elapsed 0.001 seconds) done.
    Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    Suspending console(s) (use no_console_suspend to debug)

    Case 13 ...PASS

    Case 13 ...PASS
    root@linux83-bf609-usbhost:power_ethernet# reset_board 4
    powering OFF board attached to printer port pin 4
    powering ON board attached to printer port pin 4

    Case 14 ...PASS

    Case 14 ...PASS
    PM: suspend of devices complete after 1.384 msecs
    PM: late suspend of devices complete after 0.536 msecs
    PM: noirq suspend of devices complete after 0.734 msecs
    PM: noirq resume of devices complete after 0.542 msecs
    PM: early resume of devices complete after 0.459 msecs
    PM: resume of devices complete after 13.953 msecs
    Restarting tasks ... done.
    root:/>
    Case 15 ...PASS

    Case 15 ...PASS
    stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    ifconfig
    eth0 Link encap:Ethernet HWaddr 02:80:AD:20:31:E8
    inet addr:10.100.4.50 Bcast:10.100.4.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:17 errors:0 dropped:0 overruns:0 frame:0
    TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1590 (1.5 KiB) TX bytes:1596 (1.5 KiB)
    Interrupt:75

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    root:/>
    Case 16 ...PASS

    Case 16 ...PASS
    ping 10.100.4.174 -c 5
    PING 10.100.4.174 (10.100.4.174): 56 data bytes
    64 bytes from 10.100.4.174: seq=0 ttl=64 time=1.096 ms
    64 bytes from 10.100.4.174: seq=1 ttl=64 time=0.979 ms
    64 bytes from 10.100.4.174: seq=2 ttl=64 time=1.034 ms
    64 bytes from 10.100.4.174: seq=3 ttl=64 time=1.028 ms
    64 bytes from 10.100.4.174: seq=4 ttl=64 time=1.019 ms

    --- 10.100.4.174 ping statistics ---
    5 packets transmitted, 5 packets received, 0% packet loss
    round-trip min/avg/max = 0.979/1.031/1.096 ms
    root:/>
    Case 16 ...PASS

    Case 16 ...PASS

    PM test case 1 round 3 pass

    echo mem > /sys/power/state
    PM: Syncing filesystems ... done.
    Freezing user space processes ... (elapsed 0.000 seconds) done.
    Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    Suspending console(s) (use no_console_suspend to debug)

    Case 17 ...PASS

    Case 17 ...PASS
    root@linux83-bf609-usbhost:power_ethernet# reset_board 4
    powering OFF board attached to printer port pin 4
    powering ON board attached to printer port pin 4

    Case 18 ...PASS

    Case 18 ...PASS
    PM: suspend of devices complete after 1.390 msecs
    PM: late suspend of devices complete after 0.540 msecs
    PM: noirq suspend of devices complete after 0.738 msecs
    PM: noirq resume of devices complete after 0.607 msecs
    PM: early resume of devices complete after 0.464 msecs
    PM: resume of devices complete after 13.935 msecs
    Restarting tasks ... done.
    root:/>
    Case 19 ...PASS

    Case 19 ...PASS
    stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    ifconfig
    eth0 Link encap:Ethernet HWaddr 02:80:AD:20:31:E8
    inet addr:10.100.4.50 Bcast:10.100.4.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:23 errors:0 dropped:0 overruns:0 frame:0
    TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:2140 (2.0 KiB) TX bytes:2128 (2.0 KiB)
    Interrupt:75

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    root:/>
    Case 20 ...PASS

    Case 20 ...PASS
    ping 10.100.4.174 -c 5
    PING 10.100.4.174 (10.100.4.174): 56 data bytes
    64 bytes from 10.100.4.174: seq=0 ttl=64 time=1.811 ms
    64 bytes from 10.100.4.174: seq=1 ttl=64 time=1.013 ms
    64 bytes from 10.100.4.174: seq=2 ttl=64 time=1.028 ms
    64 bytes from 10.100.4.174: seq=3 ttl=64 time=1.053 ms
    64 bytes from 10.100.4.174: seq=4 ttl=64 time=1.023 ms

    --- 10.100.4.174 ping statistics ---
    5 packets transmitted, 5 packets received, 0% packet loss
    round-trip min/avg/max = 1.013/1.185/1.811 ms
    root:/>
    Case 20 ...PASS

    Case 20 ...PASS

    PM test case 1 round 4 pass

    echo mem > /sys/power/state
    PM: Syncing filesystems ... done.
    Freezing user space processes ... (elapsed 0.000 seconds) done.
    Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    Suspending console(s) (use no_console_suspend to debug)

    Case 21 ...PASS

    Case 21 ...PASS
    root@linux83-bf609-usbhost:power_ethernet# reset_board 4
    powering OFF board attached to printer port pin 4
    powering ON board attached to printer port pin 4

    Case 22 ...PASS

    Case 22 ...PASS
    PM: suspend of devices complete after 1.394 msecs
    PM: late suspend of devices complete after 0.544 msecs
    PM: noirq suspend of devices complete after 0.742 msecs
    PM: noirq resume of devices complete after 0.610 msecs
    PM: early resume of devices complete after 0.467 msecs
    PM: resume of devices complete after 13.897 msecs
    Restarting tasks ... done.
    root:/>
    Case 23 ...PASS

    Case 23 ...PASS
    stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    ifconfig
    eth0 Link encap:Ethernet HWaddr 02:80:AD:20:31:E8
    inet addr:10.100.4.50 Bcast:10.100.4.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:29 errors:0 dropped:0 overruns:0 frame:0
    TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:2690 (2.6 KiB) TX bytes:2660 (2.5 KiB)
    Interrupt:75

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    root:/>
    Case 24 ...PASS

    Case 24 ...PASS
    ping 10.100.4.174 -c 5
    PING 10.100.4.174 (10.100.4.174): 56 data bytes
    64 bytes from 10.100.4.174: seq=0 ttl=64 time=1.057 ms
    64 bytes from 10.100.4.174: seq=1 ttl=64 time=1.040 ms
    64 bytes from 10.100.4.174: seq=2 ttl=64 time=1.023 ms
    64 bytes from 10.100.4.174: seq=3 ttl=64 time=1.036 ms
    64 bytes from 10.100.4.174: seq=4 ttl=64 time=1.027 ms

    --- 10.100.4.174 ping statistics ---
    5 packets transmitted, 5 packets received, 0% packet loss
    round-trip min/avg/max = 1.023/1.036/1.057 ms
    root:/>
    Case 24 ...PASS

    Case 24 ...PASS

    PM test case 1 round 5 pass

    ping 10.100.4.174&
    [1] 381 ping 10.100.4.174
    root:/> PING 10.100.4.174 (10.100.4.174): 56 data bytes
    64 bytes from 10.100.4.174: seq=0 ttl=64 time=1.000 ms
    64 bytes from 10.100.4.174: seq=1 ttl=64 time=1.036 ms
    64 bytes from 10.100.4.174: seq=2 ttl=64 time=1.
    Case 25 ...PASS

    Case 25 ...PASS
    055 ms
    echo mem > /sys/power/state
    PM: Syncing filesystems ... done.
    Freezing user space processes ... (elapsed 0.001 seconds) done.
    Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    Suspending console(s) (use no_console_suspend to debug)

    Case 26 ...PASS

    Case 26 ...PASS
    root@linux83-bf609-usbhost:power_ethernet# reset_board 4
    powering OFF board attached to printer port pin 4
    powering ON board attached to printer port pin 4

    Case 27 ...PASS

    Case 27 ...PASS
    PM: suspend of devices complete after 1.398 msecs
    PM: late suspend of devices complete after 0.549 msecs
    PM: noirq suspend of devices complete after 0.746 msecs
    PM: noirq resume of devices complete after 0.551 msecs
    PM: early resume of devices complete after 0.471 msecs
    PM: resume of devices complete after 13.905 msecs
    Restarting tasks ... done.
    root:/>
    Case 28 ...PASS

    Case 28 ...PASS
    stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    64 bytes from 10.100.4.174: seq=5 ttl=64 time=1.053 ms
    64 bytes from 10.100.4.174: seq=6 ttl=64 time=1.057 ms
    64 bytes from 10.100.4.174: seq=7 ttl=64 time=1.024 ms
    64 bytes from 10.100.4.174: seq=8 ttl=64 time=1.028 ms
    64 bytes from 10.100.4.174: seq=9 ttl=64 time=1.039 ms
    64 bytes from 10.100.4.174: seq=10 ttl=64 time=1.029 ms
    64 bytes from 10.100.4.174: seq=11 ttl=64 time=1.037 ms
    64 bytes from 10.100.4.174: seq=12 ttl=64 time=1.027 ms
    64 bytes from 10.100.4.174: seq=13 ttl=64 time=1.019 ms
    64 bytes from 10.100.4.174: seq=14 ttl=64 time=1.016 ms
    64 bytes from 10.100.4.174: seq=15 ttl=64 time=1.035 ms
    64 bytes from 10.100.4.174: seq=16 ttl=64 time=1.027 ms
    64 bytes from 10.100.4.174: seq=17 ttl=64 time=1.026 ms
    64 bytes from 10.100.4.174: seq=18 ttl=64 time=1.123 ms
    64 bytes from 10.100.4.174: seq=19 ttl=64 time=1.025 ms
    64 bytes from 10.100.4.174: seq=20 ttl=64 time=1.038 ms
    64 bytes from 10.100.4.174: seq=21 ttl=64 time=1.018 ms
    64 bytes from 10.100.4.174: seq=22 ttl=64 time=1.027 ms
    64 bytes from 10.100.4.174: seq=23 ttl=64 time=1.035 ms
    64 bytes from 10.100.4.174: seq=24 ttl=64 time=1.019 ms
    64 bytes from 10.100.4.174: seq=25 ttl=64 time=1.022 ms
    64 bytes from 10.100.4.174: seq=26 ttl=64 time=0.964 ms
    64 bytes from 10.100.4.174: seq=27 ttl=64 time=1.020 ms
    64 bytes from 10.100.4.174: seq=28 ttl=64 time=0.993 ms
    64 bytes from 10.100.4.174: seq=29 ttl=64 time=1.042 ms
    64 bytes from 10.100.4.174: seq=30 ttl=64 time=1.008 ms
    64 bytes from 10.100.4.174: seq=31 ttl=64 time=1.156 ms
    64 bytes from 10.100.4.174: seq=32 ttl=64 time=1.025 ms
    64 bytes from 10.100.4.174: seq=33 ttl=64 time=1.035 ms
    64 bytesping 10.100.4.174 failed
    Last passed time: 2013-12-18_19-27-20
    User-dist commit 2e7df81b4985ba6f112742a8e799af05c855fc9a
    Kernel commit 31d7b760fc201006e2a6e420a0307d1aeba4b398
    Testsuites commit e44f6f0cf84ce8a68b7deccb439de7c6c47526a6

    Case 28 ...FAIL

    Case 28 ...FAIL

    POWER ETHERNET TEST (mem) FAIL

     
  • Sonic Zhang

    Sonic Zhang - 2014-08-15
    • assigned_to: andre --> Steven Miao
     
  • panmingquan

    panmingquan - 2014-09-11

    power ethernet can pass on bf609 ezkit now after fixing in code and testscripts.

    Booting kernel from Legacy Image at 02000000 ...

    Image Name: bf609-0.0-3.16.0-ADI-2014R1-pre-
    Image Type: Blackfin Linux Kernel Image (gzip compressed)
    Data Size: 7758579 Bytes = 7.4 MiB
    Load Address: 00001000
    Entry Point: 002fba6c
    Verifying Checksum ... OK
    Uncompressing Kernel Image ... OK
    Starting Kernel at = 002fba6c
    Linux version 3.16.0-ADI-2014R1-pre-00412-ga08e6b6-dirty (test@linux83-bf609-usbhost) (gcc version 4.3.5 (ADI-master/git-46c6a72) ) #4 Tue Sep 9 15:33:05 CST 2014
    register early platform devices
    bootconsole [early_shadow0] enabled
    ERROR: Not running on ADSP-BF609: unknown CPUID 0x0000 Rev 0.0
    bootconsole [early_BFuart0] enabled
    early printk enabled on early_BFuart0
    Board Memory: 128MB
    Kernel Managed Memory: 128MB
    Memory map:
    fixedcode = 0x00000400-0x00000490
    text = 0x00001000-0x00205300
    rodata = 0x00205324-0x002b27a4
    bss = 0x002b3000-0x002cbbc0
    data = 0x002cbbc0-0x002f8000
    stack = 0x002f6000-0x002f8000
    init = 0x002f8000-0x008e5000
    available = 0x008e5000-0x07f00000
    DMA Zone = 0x07f00000-0x08000000
    Hardware Trace active and enabled
    Blackfin support (C) 2004-2010 Analog Devices, Inc.
    Compiled for ADSP-BF609 Rev 0.0
    Blackfin Linux support by http://blackfin.uclinux.org/
    Processor Speed: 500 MHz core clock, 125 MHz SCLk, 125 MHz SCLK0, 125 MHz SCLK1 and 250 MHz DCLK
    NOMPU: setting up cplb tables
    Instruction Cache Enabled for CPU0
    External memory: cacheable in instruction cache
    L2 SRAM : uncacheable in instruction cache
    Data Cache Enabled for CPU0
    External memory: cacheable (write-back) in data cache
    L2 SRAM : uncacheable in data cache
    Built 1 zonelists in Zone order, mobility grouping off. Total pages: 32258
    Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:"bf609-ezkit":eth0:off
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 119772K/130048K available (2064K kernel code, 177K rwdata, 693K rodata, 6068K init, 98K bss, 10276K reserved, 1024K DMA)
    NR_IRQS:291
    Configuring Blackfin Priority Driven Interrupts
    Console: colour dummy device 80x25
    Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    devtmpfs: initialized
    Blackfin Scratchpad data SRAM: 4 KB
    Blackfin L1 Data A SRAM: 16 KB (9 KB free)
    Blackfin L1 Data B SRAM: 16 KB (16 KB free)
    Blackfin L1 Instruction SRAM: 64 KB (49 KB free)
    Blackfin L2 SRAM: 256 KB (256 KB free)
    pinctrl core: initialized pinctrl subsystem
    NET: Registered protocol family 16
    Blackfin DMA Controller
    ezkit_init(): registering device resources
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01e00
    i2c-bfin-twi i2c-bfin-twi.1: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01f00
    pps_core: LinuxPPS API ver. 1 registered
    pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
    PTP clock support registered
    NET: Registered protocol family 23
    Switched to clocksource bfin_cs_cycles
    NET: Registered protocol family 2
    TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    TCP: Hash tables configured (established 1024 bind 1024)
    TCP: reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    msgmni has been set to 233
    io scheduler noop registered (default)
    bfin-uart: Blackfin serial driver
    bfin-uart.0: ttyBF0 at MMIO 0xffc02000 (irq = 88, base_baud = 7812500) is a BFIN-UART
    console [ttyBF0] enabled
    console [ttyBF0] enabled
    bootconsole [early_BFuart0] disabled
    bootconsole [early_BFuart0] disabled
    bootconsole [early_shadow0] disabled
    physmap platform flash device: 01000000 at b0000000
    physmap-flash physmap-flash.0: map_probe failed
    m25p80 spi0.59: w25q32 (4096 Kbytes)
    Creating 3 MTD partitions on "m25p80":
    0x000000000000-0x000000080000 : "bootloader(spi)"
    0x000000080000-0x000000200000 : "linux kernel(spi)"
    0x000000200000-0x000000400000 : "file system(spi)"
    CAN device driver interface
    bfin_can bfin_can.0: bfin_can device registered(&reg_base=ffc00a00, rx_irq=47, tx_irq=48, err_irq=49, sclk=125000000)
    stmmaceth stmmaceth.0: no reset control found
    stmmac - user ID: 0x10, Synopsys ID: 0x36
    Ring mode enabled
    DMA HW capability register supported
    Enhanced/Alternate descriptors
    Enabled extended descriptors
    RX Checksum Offload Engine supported (type 2)
    Wake-Up On Lan supported
    Enable RX Mitigation via HW Watchdog Timer
    libphy: stmmac: probed
    eth0: PHY ID 20005c90 at 1 IRQ POLL (stmmac-0:01) active
    usbcore: registered new interface driver usb-storage
    input: bfin-rotary as /devices/platform/bfin-rotary/input/input0
    i2c /dev entries driver
    bfin_wdt: initialized: timeout=20 sec (nowayout=0)
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    TCP: cubic registered
    NET: Registered protocol family 17
    can: controller area network core (rev 20120528 abi 9)
    NET: Registered protocol family 29
    can: raw protocol (rev 20120528)
    can: broadcast manager protocol (rev 20120528 t)
    can: netlink gateway (rev 20130117) max_hops=1
    eth0: device MAC address 02:80:ad:20:31:e8
    dma_alloc_init: dma_page @ 0x04fc5000 - 256 pages at 0x07f00000
    IP-Config: Complete:
    device=eth0, hwaddr=02:80:ad:20:31:e8, ipaddr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174
    host="bf609-ezkit", domain=, nis-domain=(none)
    bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
    Freeing unused kernel memory: 6068K (002f8000 - 008e5000)

    BusyBox v1.22.1 (2014-09-09 01:18:38 CST) hush - the humble shell

    root:/>successful boot attempt ifconfig ethstmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    0 10.100.4.50
    root:/> Ethernet may has been activated already!
    random: nonblocking pool is initialized
    version
    kernel: Linux release 3.16.0-ADI-2014R1-pre-00412-ga08e6b6-dirty, build #4 Tue Sep 9 15:33:05 CST 2014
    toolchain: /home/test/workspace/src/kernel/label/BF609-EZKIT-USBHOST/output/host/usr/bin/bfin-linux-uclibc-gcc release gcc version 4.3.5 (ADI-master/git-46c6a72)
    user-dist: release git-426e749, build #2 Tue Sep 9 15:29:55 CST 2014
    root:/>
    inux version: 3.16.0-ADI-2014R1-pre-00412-ga08e6b6-dirty
    GCC version: 4.3.5 (ADI-master/git-46c6a72)
    user-dist version: git-426e749

    ** STEP 3: Start testing

    n
    root:/> ping 10.100.4.174 -c 5
    PING 10.100.4.174 (10.100.4.174): 56 data bytes
    64 bytes from 10.100.4.174: seq=0 ttl=64 time=2.013 ms
    64 bytes from 10.100.4.174: seq=1 ttl=64 time=1.020 ms
    64 bytes from 10.100.4.174: seq=2 ttl=64 time=1.019 ms
    64 bytes from 10.100.4.174: seq=3 ttl=64 time=1.029 ms
    64 bytes from 10.100.4.174: seq=4 ttl=64 time=1.032 ms

    --- 10.100.4.174 ping statistics ---
    5 packets transmitted, 5 packets received, 0% packet loss
    round-trip min/avg/max = 1.019/1.222/2.013 ms
    root:/>
    Case 1 ...PASS

    Case 1 ...PASS
    cat /proc/mounts
    rootfs / rootfs rw 0 0
    devtmpfs /dev devtmpfs rw,relatime,mode=0755 0 0
    proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
    sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    mdev /dev tmpfs rw,nosuid,relatime,mode=0755,size=10M 0 0
    devpts /dev/pts devpts rw,nosuid,noexec,relatime,mode=600 0 0
    var /var tmpfs rw,relatime 0 0
    tmp /tmp tmpfs rw,nosuid,nodev,relatime,mode=777 0 0
    debugfs /sys/kernel/debug debugfs rw,relatime 0 0
    root:/>
    Case 2 ...PASS

    Case 2 ...PASS
    ls /sys/power
    pm_async pm_freeze_timeout state wakeup_count
    root:/>
    ase 3 ...PASS

    Case 3 ...PASS
    spawn /bin/bash
    suites/power_ethernet$ sut:~/workspace/src/kernel/label/BF609-EZKIT-USBHOST/tests
    Password:
    root@linux83-bf609-usbhost:power_ethernet#
    Case 4 ...PASS

    Case 4 ...PASS
    [6necho mem > /sys/power/state
    PM: Syncing filesystems ... done.
    Freezing user space processes ... (elapsed 0.012 seconds) done.
    Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    ...
    Case 20 ...PASS

    PM test case 1 round 4 pass

    echo mem > /sys/power/state
    PM: Syncing filesystems ... done.
    Freezing user space processes ... (elapsed 0.001 seconds) done.
    Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    Suspending console(s) (use no_console_suspend to debug)

    Case 21 ...PASS

    Case 21 ...PASS
    root@linux83-bf609-usbhost:power_ethernet# reset_board 4
    powering OFF board attached to printer port pin 4
    powering ON board attached to printer port pin 4

    Case 22 ...PASS

    Case 22 ...PASS
    PM: suspend of devices complete after 1.433 msecs
    PM: late suspend of devices complete after 0.569 msecs
    PM: noirq suspend of devices complete after 0.766 msecs
    PM: noirq resume of devices complete after 0.567 msecs
    PM: early resume of devices complete after 0.484 msecs
    PM: resume of devices complete after 13.921 msecs
    Restarting tasks ... done.
    root:/>
    Case 23 ...PASS

    Case 23 ...PASS
    stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    ifconfig
    eth0 Link encap:Ethernet HWaddr 02:80:AD:20:31:E8
    inet addr:10.100.4.50 Bcast:10.100.4.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:29 errors:0 dropped:0 overruns:0 frame:0
    TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:2690 (2.6 KiB) TX bytes:2660 (2.5 KiB)
    Interrupt:75

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    root:/>
    Case 24 ...PASS

    Case 24 ...PASS
    ping 10.100.4.174 -c 5
    PING 10.100.4.174 (10.100.4.174): 56 data bytes
    64 bytes from 10.100.4.174: seq=0 ttl=64 time=1.061 ms
    64 bytes from 10.100.4.174: seq=1 ttl=64 time=1.027 ms
    64 bytes from 10.100.4.174: seq=2 ttl=64 time=1.029 ms
    64 bytes from 10.100.4.174: seq=3 ttl=64 time=1.033 ms
    64 bytes from 10.100.4.174: seq=4 ttl=64 time=1.040 ms

    --- 10.100.4.174 ping statistics ---
    5 packets transmitted, 5 packets received, 0% packet loss
    round-trip min/avg/max = 1.027/1.038/1.061 ms
    root:/>
    Case 24 ...PASS

    Case 24 ...PASS

    PM test case 1 round 5 pass

    ping 10.100.4.174&
    [1] 389 ping 10.100.4.174
    root:/> PING 10.100.4.174 (10.100.4.174): 56 data bytes
    64 bytes from 10.100.4.174: seq=0 ttl=64 time=1.036 ms
    64 bytes from 10.100.4.174: seq=1 ttl=64 time=1.055 ms
    64 bytes from 10.100.4.174: seq=2 ttl=64 time=1.
    Case 25 ...PASS

    Case 25 ...PASS
    039 ms
    echo mem > /sys/power/state
    PM: Syncing filesystems ... done.
    Freezing user space processes ... (elapsed 0.001 seconds) done.
    Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    Suspending console(s) (use no_console_suspend to debug)

    Case 26 ...PASS

    Case 26 ...PASS
    root@linux83-bf609-usbhost:power_ethernet# reset_board 4
    powering OFF board attached to printer port pin 4
    powering ON board attached to printer port pin 4

    Case 27 ...PASS

    Case 27 ...PASS
    PM: suspend of devices complete after 1.436 msecs
    PM: late suspend of devices complete after 0.572 msecs
    PM: noirq suspend of devices complete after 0.850 msecs
    PM: noirq resume of devices complete after 0.572 msecs
    PM: early resume of devices complete after 0.488 msecs
    PM: resume of devices complete after 13.918 msecs
    Restarting tasks ... done.
    root:/>
    Case 28 ...PASS

    Case 28 ...PASS
    stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    64 bytes from 10.100.4.174: seq=5 ttl=64 time=1.805 ms
    64 bytes from 10.100.4.174: seq=6 ttl=64 time=1.029 ms
    64 bytes from 10.100.4.174: seq=7 ttl=64 time=1.026 ms
    64 bytes from 10.100.4.174: seq=8 ttl=64 time=1.039 ms
    64 bytes from 10.100.4.174: seq=9 ttl=64 time=1.028 ms
    64 bytes from 10.100.4.174: seq=10 ttl=64 time=1.017 ms
    64 bytes from 10.100.4.174: seq=11 ttl=64 time=1.017 ms
    64 bytes from 10.100.4.174: seq=12 ttl=64 time=1.021 ms
    64 bytes from 10.100.4.174: seq=13 ttl=64 time=1.033 ms
    64 bytes from 10.100.4.174: seq=14 ttl=64 time=1.037 ms
    64 bytes from 10.100.4.174: seq=15 ttl=64 time=1.013 ms
    64 bytes from 10.100.4.174: seq=16 ttl=64 time=1.021 ms
    64 bytes from 10.100.4.174: seq=17 ttl=64 time=0.984 ms
    64 bytes from 10.100.4.174: seq=18 ttl=64 time=1.132 ms
    64 bytes from 10.100.4.174: seq=19 ttl=64 time=1.020 ms
    64 bytes from 10.100.4.174: seq=20 ttl=64 time=1.048 ms
    64 bytes from 10.100.4.174: seq=21 ttl=64 time=1.030 ms
    64 bytes from 10.100.4.174: seq=22 ttl=64 time=1.037 ms
    64 bytes from 10.100.4.174: seq=23 ttl=64 time=1.013 ms
    64 bytes from 10.100.4.174: seq=24 ttl=64 time=1.034 ms
    64 bytes from 10.100.4.174: seq=25 ttl=64 time=1.027 ms
    64 bytes from 10.100.4.174: seq=26 ttl=64 time=0.990 ms
    64 bytes from 10.100.4.174: seq=27 ttl=64 time=1.033 ms
    64 bytes from 10.100.4.174: seq=28 ttl=64 time=1.019 ms
    64 bytes from 10.100.4.174: seq=29 ttl=64 time=1.016 ms
    64 bytes from 10.100.4.174: seq=30 ttl=64 time=1.034 ms
    64 bytes from 10.100.4.174: seq=31 ttl=64 time=1.143 ms
    64 bytes from 10.100.4.174: seq=32 ttl=64 time=1.025 ms
    64 bytes from 10.100.4.174: seq=33 ttl=64 time=1.028 ms
    64 bytes from 10.100.4.174: seq=34 ttl=64 time=1.010 ms
    64 bytes from 10.100.4.174: seq=35 ttl=64 time=1
    Case 28 ...PASS

    Case 28 ...PASS

    PM test case 2 round 1 pass

    .029 ms
    echo mem > /sys/power/state
    PM: Syncing filesystems ... done.
    Freezing user space processes ... (elapsed 0.001 seconds) done.
    Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    Suspending console(s) (use no_console_suspend to debug)

    Case 29 ...PASS

    Case 29 ...PASS
    root@linux83-bf609-usbhost:power_ethernet# reset_board 4
    powering OFF board attached to printer port pin 4
    powering ON board attached to printer port pin 4

    Case 30 ...PASS

    Case 30 ...PASS
    PM: suspend of devices complete after 1.440 msecs
    PM: late suspend of devices complete after 0.577 msecs
    PM: noirq suspend of devices complete after 0.855 msecs
    PM: noirq resume of devices complete after 0.577 msecs
    PM: early resume of devices complete after 0.491 msecs
    PM: resume of devices complete after 13.979 msecs
    Restarting tasks ... done.
    root:/>
    Case 31 ...PASS
    ...
    64 bytes from 10.100.4.174: seq=107 ttl=64 time=1.029 ms
    64 bytes from 10.100.4.174: seq=108 ttl=64 time=1.037 ms
    64 bytes from 10.100.4.174: seq=109 ttl=64 time=1.135 ms
    64 bytes from 10.100.4.174: seq=110 ttl=64 time=
    Case 37 ...PASS

    Case 37 ...PASS

    PM test case 2 round 4 pass

    1.039 ms
    echo mem > /sys/power/state
    PM: Syncing filesystems ... done.
    Freezing user space processes ... (elapsed 0.001 seconds) done.
    Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    Suspending console(s) (use no_console_suspend to debug)

    Case 38 ...PASS

    Case 38 ...PASS
    root@linux83-bf609-usbhost:power_ethernet# reset_board 4
    powering OFF board attached to printer port pin 4
    powering ON board attached to printer port pin 4

    Case 39 ...PASS

    Case 39 ...PASS
    PM: suspend of devices complete after 1.456 msecs
    PM: late suspend of devices complete after 0.590 msecs
    PM: noirq suspend of devices complete after 0.870 msecs
    PM: noirq resume of devices complete after 0.587 msecs
    PM: early resume of devices complete after 0.502 msecs
    PM: resume of devices complete after 13.918 msecs
    Restarting tasks ... done.
    root:/>
    Case 40 ...PASS

    Case 40 ...PASS
    stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    64 bytes from 10.100.4.174: seq=113 ttl=64 time=1.048 ms
    64 bytes from 10.100.4.174: seq=114 ttl=64 time=1.038 ms
    64 bytes from 10.100.4.174: seq=115 ttl=64 time=1.024 ms
    64 bytes from 10.100.4.174: seq=116 ttl=64 time=1.052 ms
    64 bytes from 10.100.4.174: seq=117 ttl=64 time=1.011 ms
    64 bytes from 10.100.4.174: seq=118 ttl=64 time=1.030 ms
    64 bytes from 10.100.4.174: seq=119 ttl=64 time=1.025 ms
    64 bytes from 10.100.4.174: seq=120 ttl=64 time=1.043 ms
    64 bytes from 10.100.4.174: seq=121 ttl=64 time=1.033 ms
    64 bytes from 10.100.4.174: seq=122 ttl=64 time=1.133 ms
    64 bytes from 10.100.4.174: seq=123 ttl=64 time=1.029 ms
    64 bytes from 10.100.4.174: seq=124 ttl=64 time=1.033 ms
    64 bytes from 10.100.4.174: seq=125 ttl=64 time=1.094 ms
    64 bytes from 10.100.4.174: seq=126 ttl=64 time=1.030 ms
    64 bytes from 10.100.4.174: seq=127 ttl=64 time=1.014 ms
    64 bytes from 10.100.4.174: seq=128 ttl=64 time=1.064 ms
    64 bytes from 10.100.4.174: seq=129 ttl=64 time=1.017 ms
    64 bytes from 10.100.4.174: seq=130 ttl=64 time=1.038 ms
    64 bytes from 10.100.4.174: seq=131 ttl=64 time=1.030 ms
    64 bytes from 10.100.4.174: seq=132 ttl=64 time=1.038 ms
    64 bytes from 10.100.4.174: seq=133 ttl=64 time=1.025 ms
    64 bytes from 10.100.4.174: seq=134 ttl=64 time=1.039 ms
    64 bytes from 10.100.4.174: seq=135 ttl=64 time=
    Case 40 ...PASS

    Case 40 ...PASS

    PM test case 2 round 5 pass

    Wake up pass

    Case 41 ...PASS

    Case 41 ...PASS

    POWER ETHERNET TEST (mem) ............[PASS]
    Test Period is: 380 seconds.
    Ending ./power_ethernet_test.exp

    close.

     
  • panmingquan

    panmingquan - 2014-09-11
    • status: open --> closed
    • Resolution: under_debugging --> fixed
     

Log in to post a comment.

MongoDB Logo MongoDB