Menu

#198 kgdb ethernet test fails in bf537

master head
closed
None
middle
fixed
BF537-STAMP
2014-07-04
2014-07-03
Vivi Li
No

kgdb ethernet test fails in bf537.

--
Starting Kernel at = 00233d8c
console [ttyBF0] enabled
bootconsole [early_shadow0] disabled
brd: module loaded
libphy: bfin_mii_bus: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=bfin_mii_bus-0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)
bfin_mac bfin_mac.0 eth0: Blackfin on-chip Ethernet MAC driver, Version 1.1
netpoll: kgdboe: local port 6443
netpoll: kgdboe: local IPv4 address 10.100.4.50
netpoll: kgdboe: interface 'eth0'
netpoll: kgdboe: remote port 6442
netpoll: kgdboe: remote IPv4 address 10.100.4.174
netpoll: kgdboe: remote ethernet address ff:ff:ff:ff:ff:ff
netpoll: kgdboe: device eth0 not up yet, forcing it
netpoll: kgdboe: carrier detect appears untrustworthy, waiting 4 seconds
bfin_mac bfin_mac.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
kgdb: Registered I/O driver kgdboe.
kgdboe: debugging over ethernet enabled
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
TCP: cubic registered
NET: Registered protocol family 17
console [netcon0] enabled
netconsole: network logging started
rtc-bfin rtc-bfin: setting system clock to 2004-05-31 22:09:32 UTC (1086041372)
dma_alloc_init: dma_page @ 0x0271e000 - 256 pages at 0x03f00000
Freeing unused kernel memory: 2504K (0022c000 - 0049e000)

BusyBox v1.22.1 (2014-07-03 02:37:53 CST) hush - the humble shell

root:/>successful boot attempt ^[[6nifconfig eth0 10.100.4.50
root:/> ^[[6nEthernet may has been activated already!
random: nonblocking pool is initialized
version
kernel: Linux release 3.15.0-ADI-2014R1-pre-00358-gea73a6a, build #4 Thu Jul 3 08:27:02 CST 2014
toolchain: /home/test/workspace/src/kernel/label/BF537-STAMP-AD1836/output/host/usr/bin/bfin-uclinux-gcc release gcc version 4.3.5 (ADI-master/git-a2bfd7b)
user-dist: release git-809e4dc, build #1 Thu Jul 3 02:42:07 CST 2014
root:/>
Linux version: 3.15.0-ADI-2014R1-pre-00358-gea73a6a
GCC version: 4.3.5 (ADI-master/git-a2bfd7b)
user-dist version: git-809e4dc

** STEP 3: Start KGDB TEST (ethernet)

^[[6nifconfig eth0 10.100.4.50
root:/> ^[[6nspawn bfin-uclinux-gdb /home/test/workspace/src/kernel/label/BF537-STAMP-AD1836/output/build/linux-custom/vmlinux
GNU gdb 6.6
Copyright (C) 2006 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=i686-pc-linux-gnu --target=bfin-uclinux"...
(gdb)
Case 1 ...PASS

Case 1 ...PASS
target remote udp:10.100.4.50:6443
warning: The remote protocol may be unreliable over UDP.
Some events may be lost, rendering further debugging impossible.
Remote debugging using udp:10.100.4.50:6443

Case 2 ...PASS

Case 2 ...PASS
break kgdb_Ignoring packet error, continuing...
test
spawn /bin/sh
$ ps | grep bfin-uclinux-gdb
$ kill -9 pidof bfin-uclinux-gdb
$
Last passed time: 2013-12-18_19-13-20
User-dist commit 2e7df81b4985ba6f112742a8e799af05c855fc9a
Kernel commit 31d7b760fc201006e2a6e420a0307d1aeba4b398
Testsuites commit e44f6f0cf84ce8a68b7deccb439de7c6c47526a6
--

Discussion

  • Sonic Zhang

    Sonic Zhang - 2014-07-03
    • Resolution: none --> fixed
     
  • panmingquan

    panmingquan - 2014-07-04
    • status: open --> closed
     
  • panmingquan

    panmingquan - 2014-07-04

    kgdb over ethernet test on bf537 passes now.close.

     

Log in to post a comment.

MongoDB Logo MongoDB