[#6395] Kgdb test fail after kernel update
Submitted By: Vivi Li
Open Date
2010-12-03 03:31:59 Close Date
2011-01-04 21:29:25
Priority:
Medium Assignee:
Vivi Li
Status:
Closed Fixed In Release:
N/A
Found In Release:
2011R1 Release:
Category:
N/A Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
latest trunk
App binary format:
N/A
Summary: Kgdb test fail after kernel update
Details:
Kgdb test fail after kernel update to 2.6.36.1.
Bellow is the log:
--
Starting Kernel at = 001a21fc
console [ttyBF0] enabled, bootconsole disabled
Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (35 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
stamp_init(): registering device resources
bio: create slab <bio-0> at 0
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7
Switching to clocksource bfin_cs_cycles
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
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
debug-mmrs: setting up Blackfin MMR debugfs
msgmni has been set to 93
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
brd: module loaded
bfin_mii_bus: probed
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=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
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2026-05-29 05:50:52 UTC (1780033852)
dma_alloc_init: dma_page @ 0x02905000 - 256 pages at 0x03f00000
Freeing unused kernel memory: 7228k freed
_____________________________________
a8888b. / Welcome to the uClinux distribution \
d888888b. / _ _ \
8P"YP"Y88 / | | |_| __ __ (TM) |
8|o||o|88 _____/ | | _ ____ _ _ \ \/ / |
8' .88 \ | | | | _ \| | | | \ / |
8`._.' Y8. \ | |__ | | | | | |_| | / \ |
d/ `8b. \ \____||_|_| |_|\____|/_/\_\ |
dP . Y8b. \ For embedded processors including |
d8:' " `::88b \ the AnaloÏDevices Blackfin /
d8" 'Y88b \___________________________________/
:8P ' :888
8a. : _a88P For further information, check out:
._/"Yaa_: .| 88P| - http://blackfin.uclinux.org/
\ YP" `| 8P `. - http://docs.blackfin.uclinux.org/
/ \.___.d| .' - http://www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - http://www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.17.4 (2010-11-28 05:37:05 GMT) hush - the humble shell
root:/> ^[[6nversion
kernel: Linux release 2.6.36.1-ADI-2011R1-pre-svn9514, build #28 Sun Nov 28 10:54:36 GMT 2010
toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-5013)
user-dist: release svn-9990, build #494 Sun Nov 28 10:53:28 GMT 2010
root:/> ^[[6nsuccessful boot attempt
************** STEP 3: Start KGDB TEST (ethernet)
ifconfig eth0 10.100.4.50
root:/> ^[[6nspawn bfin-uclinux-gdb /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/vmlinux
^[[?1034hGNU 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
Remote communication error: Connection refused.
(gdb) break kgdb_test
Remote communication error: Success.
(gdb) spawn /bin/sh
^[[?1034huclinux59-kernel-perf:~/work/cruise/checkouts/uclinux-dist/testsuites/kgdb> ps a ux | grep bfin-uclinux-gdb
test 20550 1.1 2.6 32984 26824 pts/2 Ss+ 10:56 0:00 bfin-uclinux-gdb /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/vmlinux
test 20565 0.0 0.0 3064 716 pts/3 R+ 10:56 0:00 grep bfin-uclinux-gdb
uclinux59-kernel-perf:~/work/cruise/checkouts/uclinux-dist/testsuites/kgdb> kill -9 `pidof bfin-uclinux-gdb`
uclinux59-kernel-perf:~/work/cruise/checkouts/uclinux-dist/testsuites/kgdb>
Last passed time: 2010_Oct_16_03_57, ucdist ver: 9856, kernel ver: 9205
Case 3 ...FAIL
Case 3 ...FAIL
KGDB TEST (ethernet) FAIL
--
Follow-ups
--- Vivi Li 2010-12-30 22:59:52
Configuration description is changed so CONFIG_KGDB is not selected. Test script
is updated.
Recheck the result later.
--- Sonic Zhang 2010-12-30 23:04:31
Not a bug. The kgdb test building script need to be updated according to the new
kernel config options.
--- Vivi Li 2011-01-04 21:29:25
Fixed and close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.linux.kgdb application/octet-stream 37660 Vivi Li