[#4961] kgdb fails to stop at hardware breakpoint now
Submitted By: Mingquan Pan
Open Date
2009-03-04 23:05:00 Close Date
2010-06-11 04:21:38
Priority:
Medium Assignee:
Sonic Zhang
Status:
Closed Fixed In Release:
N/A
Found In Release:
2009R1-RC6 Release:
Category:
N/A Board:
N/A
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Not reproducible
Uboot version or rev.:
Toolchain version or rev.:
Jan 17,2009
App binary format:
N/A
Summary: kgdb fails to stop at hardware breakpoint now
Details:
kgdb fails to stop at hardware breakpoint through both ethernet and uart port.
failed time: 2009_Mar_02_15_33, ucdist ver: 7808, kernel ver: 6139
Last passed time: 2009_Feb_26_18_41, ucdist ver: 7801, kernel ver: 6130
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-2.6.28.7-ADI-2009R1-pre-sv
Created: 2009-03-02 23:13:02 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 3964532 Bytes = 3.8 MB
Load Address: 00001000
Entry Point: 0019a49c
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 0019a49c
Linux version 2.6.28.7-ADI-2009R1-pre-svn6139 (test@uclinux50-bf537-ad9960-ad1836) (gcc version 4.1.2 (ADI svn)) #6 Tue Mar 3 07:12:41 CST 2009
Warning: limiting memory to 56MB due to hardware anomaly 05000263
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x00111e20
rodata = 0x00111e20-0x00165700
bss = 0x00165700-0x0017b4bc
data = 0x0017b4bc-0x0018c000
stack = 0x0018a000-0x0018c000
init = 0x0018c000-0x0078e000
available = 0x0078e000-0x037ff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 0
Reset caused by Software reset
Blackfin support (C) 2004-2009 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 125 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-back)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14223
Kernel command line: console=ttyBF0,57600 kgdboc=ttyBF1,57600n8
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console [ttyBF0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 49024k/65536k RAM, (6152k init code, 1091k kernel code, 489k data, 1024k dma, 7756k reserved)
Calibrating delay loop... 997.37 BogoMIPS (lpj=1994752)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (15 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (41 KB free)
PDA for CPU0 reserved at 00166930
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
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
NET: Registered protocol family 1
msgmni has been set to 95
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 20) is a BFIN-UART
kgdb: Registered I/O driver kgdboc.
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: Blackfin on-chip Ethernet MAC driver, Version 1.1
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7
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 1971-06-18 22:50:55 UTC (46133455)
Freeing unused kernel memory: 6152k 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 Analog Devices Blackfin /
d8" 'Y88b \___________________________________/
:8P ' :888
8a. : _a88P For further information, check out:
._/"Yaa_: .| 88P| - blackfin.uclinux.org/
\ YP" `| 8P `. - docs.blackfin.uclinux.org/
/ \.___.d| .' - www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.13.2 (2009-03-03 04:47:20 CST) built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/>
#### Debugging is through uart port.
************** STEP 3: Start KGDB TEST
ifconfig eth0 10.100.4.50
root:/> PHY: 0:01 - Link is Up - 100/Full
脗SysRq : GDB
Entering KGDB
Prepare KGDB through uart port debug!spawn bfin-uclinux-gdb /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/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
set remotebaud 57600
(gdb)
Case 2 ...PASS
Case 2 ...PASS
target remote /dev/ttyUSB0
Remote debugging using /dev/ttyUSB0
kgdb_breakpoint () at kernel/kgdb.c:1722
Case 2 ...PASS
Case 2 ...PASS
1722 atomic_set(&kgdb_setting_breakpoint, 0);
(gdb) break kgdb_test
Breakpoint 1 at 0x892e: file arch/blackfin/kernel/kgdb_test.c, line 57.
Case 3 ...PASS
Case 3 ...PASS
(gdb) c
Continuing.
Case 4 ...PASS
Case 4 ...PASS
B: not found
root:/> [New Thread 163]
[Switching to Thread 163]
Breakpoint 1, kgdb_test (name=0x11294c "hello world!", len=12, count=85, z=16) at arch/blackfin/kernel/kgdb_test.c:57
Case 5 ...PASS
Case 5 ...PASS
57 printk(KERN_DEBUG "kgdb name(%d): %s, %d, %d\n", len, name, count, z);
(gdb) hbreak 58
Hardware assisted breakpoint 2 at 0x8950: file arch/blackfin/kernel/kgdb_test.c, line 58.
(gdb)
Case 6 ...PASS
Case 6 ...PASS
info b
Num Type Disp Enb Address What
1 breakpoint keep y 0x0000892e in kgdb_test at arch/blackfin/kernel/kgdb_test.c:57
breakpoint already hit 1 time
2 hw breakpoint keep y 0x00008950 in kgdb_test at arch/blackfin/kernel/kgdb_test.c:58
Case 7 ...PASS
Case 7 ...PASS
(gdb) list
52 #endif
53
54
55 int kgdb_test(char *name, int len, int count, int z)
56 {
57 printk(KERN_DEBUG "kgdb name(%d): %s, %d, %d\n", len, name, count, z);
58 count = z;
59 return count;
60 }
61
(gdb)
Case 8 ...PASS
Case 8 ...PASS
bt
#0 kgdb_test (name=0x11294c "hello world!", len=12, count=85, z=16) at arch/blackfin/kernel/kgdb_test.c:57
Case 9 ...PASS
Case 9 ...PASS
#1 0x00008980 in test_proc_output (buf=0x305f000 "") at arch/blackfin/kernel/kgdb_test.c:64
#2 0x000089aa in test_read_proc (page=0x305f000 "", start=0x3055e64, off=0, count=3072, eof=0x3055e68, data=0x0) at arch/blackfin/kernel/kgdb_test.c:80
#3 0x00071e64 in proc_file_read (file=<value optimized out>, buf=0x3168e90 "", nbytes=4096, ppos=0x3055eec) at fs/proc/generic.c:120
#4 0x0006e2d0 in proc_reg_read (file=<value optimized out>, buf=<value optimized out>, count=<value optimized out>, ppos=0x3055eec)
at fs/proc/inode.c:191
#5 0x0004442c in vfs_read (file=0xaf7cc0, buf=0x3168e90 "", count=4096, pos=0x3055eec) at fs/read_write.c:279
#6 0x00044664 in sys_read (fd=<value optimized out>, buf=<value optimized out>, count=4096) at fs/read_write.c:368
#7 0xffa008dc in system_call () at include/linux/rcuclassic.h:122
(gdb) c
Continuing.
cat /proc/kgdbtest
kgdb name(12): hello world!, 85, 16
Case 10 ...PASS
Case 10 ...PASS
Breakpoint 2, kgdb_test (name=0x11294c "hello world!", len=12, count=85, z=16) at arch/blackfin/kernel/kgdb_test.c:58
58 count = z;
Case 11 ...PASS
Case 11 ...PASS
(gdb) print z
$1 = 16
Case 12 ...PASS
Case 12 ...PASS
(gdb) c
Continuing.
L1(before change) : data variable addr = 0xff800000, data value is 0
L1 : code function addr = 0xffa003a4
L1(after change) : data variable addr = 0xff800000, data val
Case 12 ...PASS
Case 12 ...PASS
[New Thread 164]
[Switching to Thread 164]
Breakpoint 1, kgdb_test (name=0x11294c "hello world!", len=12, count=85, z=16) at arch/blackfin/kernel/kgdb_test.c:57
57 printk(KERN_DEBUG "kgdb name(%d): %s, %d, %d\n", len, name, count, z);
(gdb) hbreak kgdb_l1_test
Hardware assisted breakpoint 3 at 0xffa003a8: file arch/blackfin/kernel/kgdb_test.c, line 30.
Case 13 ...PASS
Case 13 ...PASS
(gdb) break 33
Breakpoint 4 at 0xffa003fc: file arch/blackfin/kernel/kgdb_test.c, line 33.
Case 14 ...PASS
Case 14 ...PASS
(gdb) c
Continuing.
Breakpoint 2, kgdb_test (name=0x11294c "hello world!", len=12, count=85, z=16) at arch/blackfin/kernel/kgdb_test.c:58
58 count = z;
(gdb) ue is 10
root:/> cat /proc/kgdbtest
kgdb name(12): hello world!, 85, 16
Case 14 ...PASS
Case 14 ...PASS
c
Continuing.
Breakpoint 3, kgdb_l1_test () at arch/blackfin/kernel/kgdb_test.c:30
30 printk(KERN_ALERT "L1(before change) : data variable addr = 0x%p, data value is %d\n", &num1, num1);
(gdb) print num1
$2 = 10
Case 15 ...PASS
Case 15 ...PASS
(gdb) c
Continuing.
Breakpoint 4, kgdb_l1_test () at arch/blackfin/kernel/kgdb_test.c:33
33 printk(KERN_ALERT "L1(after change) : data variable addr = 0x%p, data value is %d\n", &num1, num1);
(gdb) print num1
$3 = 20
Case 16 ...PASS
Case 16 ...PASS
(gdb) L1(before change) : data variable addr = 0xff800000, data value is 10
L1 : code function addr = 0xffa003a4
x/1xw 0xff808010
0xff808010: Cannot access memory at address 0xff808010
Case 17 ...PASS
Case 17 ...PASS
(gdb) set *0xff808020 = 23
Cannot access memory at address 0xff808020
Case 18 ...PASS
Case 18 ...PASS
(gdb) x/1xw 0xffc00400
0xffc00400: 0x000d000d
Case 19 ...PASS
Case 19 ...PASS
(gdb) set *0xffe08100=0x456
(gdb) x/1xw 0xffe08100
0xffe08100: 0x00000456
Case 20 ...PASS
Case 20 ...PASS
(gdb) d 1
(gdb) d 2
(gdb) info break
Num Type Disp Enb Address What
3 hw breakpoint keep y 0xffa003a8 in kgdb_l1_test at arch/blackfin/kernel/kgdb_test.c:30
breakpoint already hit 1 time
4 breakpoint keep y 0xffa003fc in kgdb_l1_test at arch/blackfin/kernel/kgdb_test.c:33
Case 21 ...PASS
Case 21 ...PASS
breakpoint already hit 1 time
(gdb) info reg
r0 0x14 20
r1 0x1f 31
r2 0xffffff68 -152
r3 0x1f 31
r4 0x37b9000 58429440
r5 0x0 0
r6 0x7fffffff 2147483647
r7 0x0 0
p0 0xa 0xa
p1 0x17dc18 0x17dc18
p2 0xff800000 0xff800000
p3 0x3168e90 0x3168e90
p4 0xc00 0xc00
p5 0x1000 0x1000
sp 0x3055dfc 0x3055dfc
fp 0x3055e0c 0x3055e0c
i0 0xf 15
i1 0x0 0
i2 0x11a5b8 1156536
i3 0x1b 27
m0 0x0 0
m1 0x0 0
m2 0x0 0
m3 0x0 0
b0 0x0 0
b1 0x0 0
b2 0x0 0
b3 0x0 0
l0 0x0 0
l1 0x0 0
l2 0x0 0
l3 0x0 0
a0x 0x0 0
a0w 0x0 0
a1x 0x0 0
a1w 0x0 0
astat 0x2002000 33562624
rets 0xffa003e6 0xffa003e6 <kgdb_l1_test+66>
lc0 0x7 7
lt0 0x310ce76 51433078
lb0 0x310ce7f 51433087
lc1 0x0 0
lt1 0x91ac8 596680
lb1 0x91ad8 596696
cycles 0x0 0
cycles2 0x0 0
usp 0x3168e4c 0x3168e4c
seqstat 0x62001 401409
syscfg 0x6 6
reti 0xffa003fe -6290434
retx 0x480 1152
retn 0x3055e00 50683392
rete 0x0 0
---Type <return> to continue, or q <return> to quit---
pc 0xffa003fc 0xffa003fc <kgdb_l1_test+88>
cc 0x0 0
text_addr 0x0 0
text_end_addr 0x0 0
data_addr 0x0 0
fdpic_exec 0x0 0
fdpic_interp 0x0 0
ipend 0x8030 32816
(gdb)
Case 22 ...PASS
Case 22 ...PASS
(gdb) disassemble
Dump of assembler code for function kgdb_l1_test:
0xffa003a4 <kgdb_l1_test+0>: LINK 0xc; /* (12) */
0xffa003a8 <kgdb_l1_test+4>: P2.H = 0xff80; /* (-128) P2=0x0xff800000 <num1> */
0xffa003ac <kgdb_l1_test+8>: P2.L = 0x0; /* ( 0) P2=0x0xff800000 <num1> */
0xffa003b0 <kgdb_l1_test+12>: R2 = [P2];
0xffa003b2 <kgdb_l1_test+14>: R0.H = 0x11; /* ( 17) R0=0x0x110000 <fib_net_exit+4>(1114112) */
0xffa003b6 <kgdb_l1_test+18>: R0.L = 0x2880; /* (10368) R0=0x0x112880(1124480) */
0xffa003ba <kgdb_l1_test+22>: R1.H = 0xff80; /* (-128) R1=0x0xff800000 <num1>(-8388608) */
0xffa003be <kgdb_l1_test+26>: R1.L = 0x0; /* ( 0) R1=0x0xff800000 <num1>(-8388608) */
0xffa003c2 <kgdb_l1_test+30>: P2.H = 0x1; /* ( 1) P2=0x0x10000 <copy_process+2476> */
0xffa003c6 <kgdb_l1_test+34>: P2.L = 0x1258; /* (4696) P2=0x0x11258 <printk> */
0xffa003ca <kgdb_l1_test+38>: CALL (P2);
0xffa003cc <kgdb_l1_test+40>: R0.H = 0x11; /* ( 17) R0=0x0x112880(1124480) */
0xffa003d0 <kgdb_l1_test+44>: R0.L = 0x28c4; /* (10436) R0=0x0x1128c4(1124548) */
0xffa003d4 <kgdb_l1_test+48>: R1.H = 0xffa0; /* (-96) R1=0x0xffa00000 <ret_from_fork>(-6291456) */
0xffa003d8 <kgdb_l1_test+52>: R1.L = 0x3a4; /* (932) R1=0x0xffa003a4 <kgdb_l1_test>(-6290524) */
0xffa003dc <kgdb_l1_test+56>: P2.H = 0x1; /* ( 1) P2=0x0x11258 <printk> */
0xffa003e0 <kgdb_l1_test+60>: P2.L = 0x1258; /* (4696) P2=0x0x11258 <printk> */
0xffa003e4 <kgdb_l1_test+64>: CALL (P2);
0xffa003e6 <kgdb_l1_test+66>: P2.H = 0xff80; /* (-128) P2=0x0xff801258 */
0xffa003ea <kgdb_l1_test+70>: P2.L = 0x0; /* ( 0) P2=0x0xff800000 <num1> */
0xffa003ee <kgdb_l1_test+74>: R0 = [P2];
0xffa003f0 <kgdb_l1_test+76>: R0 += 0xa; /* ( 10) */
0xffa003f2 <kgdb_l1_test+78>: P2.H = 0xff80; /* (-128) P2=0x0xff800000 <num1> */
0xffa003f6 <kgdb_l1_test+82>: P2.L = 0x0; /* ( 0) P2=0x0xff800000 <num1> */
0xffa003fa <kgdb_l1_test+86>: [P2] = R0;
0xffa003fc <kgdb_l1_test+88>: P2.H = 0xff80; /* (-128) P2=0x0xff800000 <num1> */
0xffa00400 <kgdb_l1_test+92>: P2.L = 0x0; /* ( 0) P2=0x0xff800000 <num1> */
Case 22 ...PASS
Case 22 ...PASS
0xffa00404 <kgdb_l1_test+96>: R2 = [P2];
0xffa00406 <kgdb_l1_test+98>: R0.H = 0x11; /* ( 17) R0=0x0x1128c4(1124548) */
0xffa0040a <kgdb_l1_test+102>: R0.L = 0x28e8; /* (10472) R0=0x0x1128e8(1124584) */
0xffa0040e <kgdb_l1_test+106>: R1.H = 0xff80; /* (-128) R1=0x0xff8003a4(-8387676) */
0xffa00412 <kgdb_l1_test+110>: R1.L = 0x0; /* ( 0) R1=0x0xff800000 <num1>(-8388608) */
0xffa00416 <kgdb_l1_test+114>: P2.H = 0x1; /* ( 1) P2=0x0x10000 <copy_process+2476> */
0xffa0041a <kgdb_l1_test+118>: P2.L = 0x1258; /* (4696) P2=0x0x11258 <printk> */
0xffa0041e <kgdb_l1_test+122>: CALL (P2);
0xffa00420 <kgdb_l1_test+124>: UNLINK;
0xffa00424 <kgdb_l1_test+128>: RTS;
End of assembler dump.
(gdb)
Dump of assembler code for function kgdb_l1_test:
0xffa003a4 <kgdb_l1_test+0>: LINK 0xc; /* (12) */
0xffa003a8 <kgdb_l1_test+4>: P2.H = 0xff80; /* (-128) P2=0x0xff801258 */
0xffa003ac <kgdb_l1_test+8>: P2.L = 0x0; /* ( 0) P2=0x0xff800000 <num1> */
0xffa003b0 <kgdb_l1_test+12>: R2 = [P2];
0xffa003b2 <kgdb_l1_test+14>: R0.H = 0x11; /* ( 17) R0=0x0x1128e8(1124584) */
0xffa003b6 <kgdb_l1_test+18>: R0.L = 0x2880; /* (10368) R0=0x0x112880(1124480) */
0xffa003ba <kgdb_l1_test+22>: R1.H = 0xff80; /* (-128) R1=0x0xff800000 <num1>(-8388608) */
0xffa003be <kgdb_l1_test+26>: R1.L = 0x0; /* ( 0) R1=0x0xff800000 <num1>(-8388608) */
0xffa003c2 <kgdb_l1_test+30>: P2.H = 0x1; /* ( 1) P2=0x0x10000 <copy_process+2476> */
0xffa003c6 <kgdb_l1_test+34>: P2.L = 0x1258; /* (4696) P2=0x0x11258 <printk> */
0xffa003ca <kgdb_l1_test+38>: CALL (P2);
0xffa003cc <kgdb_l1_test+40>: R0.H = 0x11; /* ( 17) R0=0x0x112880(1124480) */
0xffa003d0 <kgdb_l1_test+44>: R0.L = 0x28c4; /* (10436) R0=0x0x1128c4(1124548) */
0xffa003d4 <kgdb_l1_test+48>: R1.H = 0xffa0; /* (-96) R1=0x0xffa00000 <ret_from_fork>(-6291456) */
0xffa003d8 <kgdb_l1_test+52>: R1.L = 0x3a4; /* (932) R1=0x0xffa003a4 <kgdb_l1_test>(-6290524) */
0xffa003dc <kgdb_l1_test+56>: P2.H = 0x1; /* ( 1) P2=0x0x11258 <printk> */
0xffa003e0 <kgdb_l1_test+60>: P2.L = 0x1258; /* (4696) P2=0x0x11258 <printk> */
0xffa003e4 <kgdb_l1_test+64>: CALL (P2);
0xffa003e6 <kgdb_l1_test+66>: P2.H = 0xff80; /* (-128) P2=0x0xff801258 */
0xffa003ea <kgdb_l1_test+70>: P2.L = 0x0; /* ( 0) P2=0x0xff800000 <num1> */
0xffa003ee <kgdb_l1_test+74>: R0 = [P2];
0xffa003f0 <kgdb_l1_test+76>: R0 += 0xa; /* ( 10) */
0xffa003f2 <kgdb_l1_test+78>: P2.H = 0xff80; /* (-128) P2=0x0xff800000 <num1> */
0xffa003f6 <kgdb_l1_test+82>: P2.L = 0x0; /* ( 0) P2=0x0xff800000 <num1> */
0xffa003fa <kgdb_l1_test+86>: [P2] = R0;
0xffa003fc <kgdb_l1_test+88>: P2.H = 0xff80; /* (-128) P2=0x0xff800000 <num1> */
0xffa00400 <kgdb_l1_test+92>: P2.L = 0x0; /* ( 0) P2=0x0xff800000 <num1> */
0xffa00404 <kgdb_l1_test+96>: R2 = [P2];
0xffa00406 <kgdb_l1_test+98>: R0.H = 0x11; /* ( 17) R0=0x0x1128c4(1124548) */
0xffa0040a <kgdb_l1_test+102>: R0.L = 0x28e8; /* (10472) R0=0x0x1128e8(1124584) */
0xffa0040e <kgdb_l1_test+106>: R1.H = 0xff80; /* (-128) R1=0x0xff8003a4(-8387676) */
0xffa00412 <kgdb_l1_test+110>: R1.L = 0x0; /* ( 0) R1=0x0xff800000 <num1>(-8388608) */
0xffa00416 <kgdb_l1_test+114>: P2.H = 0x1; /* ( 1) P2=0x0x10000 <copy_process+2476> */
0xffa0041a <kgdb_l1_test+118>: P2.L = 0x1258; /* (4696) P2=0x0x11258 <printk> */
0xffa0041e <kgdb_l1_test+122>: CALL (P2);
0xffa00420 <kgdb_l1_test+124>: UNLINK;
0xffa00424 <kgdb_l1_test+128>: RTS;
End of assembler dump.
(gdb) si
info reg
0xffa00400 33 printk(KERN_ALERT "L1(after change) : data variable addr = 0x%p, data value is %d\n", &num1, num1);
(gdb) info reg
r0 0x14 20
r1 0x1f 31
r2 0xffffff68 -152
r3 0x1f 31
r4 0x37b9000 58429440
r5 0x0 0
r6 0x7fffffff 2147483647
r7 0x0 0
p0 0xa 0xa
p1 0x17dc18 0x17dc18
p2 0xff800000 0xff800000
p3 0x3168e90 0x3168e90
p4 0xc00 0xc00
p5 0x1000 0x1000
sp 0x3055dfc 0x3055dfc
fp 0x3055e0c 0x3055e0c
i0 0xf 15
i1 0x0 0
i2 0x11a5b8 1156536
i3 0x1b 27
m0 0x0 0
m1 0x0 0
m2 0x0 0
m3 0x0 0
b0 0x0 0
b1 0x0 0
b2 0x0 0
b3 0x0 0
l0 0x0 0
l1 0x0 0
l2 0x0 0
l3 0x0 0
a0x 0x0 0
a0w 0x0 0
a1x 0x0 0
a1w 0x0 0
astat 0x2002000 33562624
rets 0xffa003e6 0xffa003e6 <kgdb_l1_test+66>
lc0 0x7 7
lt0 0x310ce76 51433078
lb0 0x310ce7f 51433087
lc1 0x0 0
lt1 0x91ac8 596680
lb1 0x91ad8 596696
cycles 0x0 0
cycles2 0x0 0
usp 0x3168e4c 0x3168e4c
seqstat 0x62010 401424
syscfg 0x6 6
reti 0xffa00400 -6290432
retx 0x480 1152
retn 0x3055e00 50683392
rete 0x0 0
---Type <return> to continue, or q <return> to quit---
pc 0xffa00400
Case 24 ...PASS
Case 24 ...PASS
SI case pass!
0xffa00400 <kgdb_l1_test+92>
cc 0x0 0
text_addr 0x0 0
text_end_addr 0x0 0
data_addr 0x0 0
fdpic_exec 0x0 0
fdpic_interp 0x0 0
ipend 0x8030 32816
(gdb)
(gdb) print len
$4 = 0
Case 25 ...PASS
Case 25 ...PASS
(gdb) c
Continuing.
Double Fault
Kernel OOPS in progress
Deferred Exception context
CURRENT PROCESS:
COMM=cat PID=164
CPU = 0
TEXT = 0x03100040-0x0314b0e0 DATA = 0x0314b0e4-0x0315eaf4
BSS = 0x0315eaf4-0x03160464 USER-STACK = 0x03169f78
return address: [0x000095da]; contents of:
0x000095b0: 6501 5281 4e2a 320a 3200 e0b2 1003 0258
0x000095c0: 0270 0010 6302 5410 67f9 5451 6501 5281
0x000095d0: 4e2a 320a 3200 e0b2 1002 [0268] 0010 0000
0x000095e0: 6302 5410 67f9 5451 6501 5281 4e2a 320a
SEQUENCER STATUS: Not tainted
SEQSTAT: 00062027 IPEND: ffe02108 SYSCFG: 0006
EXCAUSE : 0x27
physical IVG3 asserted : <0xffa0076c> { _trap + 0x0 }
phy
######## Kgdb stress test: this is the 3 round.#########
spawn /bin/sh
uclinux50-bf537-ad9960-ad1836:~/work/cruise/checkouts/uclinux-dist/testsuites/kgdb> ps aux | grep bfin-uclinux-gdb
test 13461 0.6 6.0 35436 30460 pts/4 Ss+ 07:14 0:00 bfin-uclinux-gdb /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/vmlinux
test 13521 0.0 0.1 3064 732 pts/5 S+ 07:15 0:00 grep bfin-uclinux-gdb
uclinux50-bf537-ad9960-ad1836:~/work/cruise/checkouts/uclinux-dist/testsuites/kgdb> kill -9 `pidof bfin-uclinux-gdb`
uclinux50-bf537-ad9960-ad1836:~/work/cruise/checkouts/uclinux-dist/testsuites/kgdb>
Last passed time: 2009_Feb_26_18_41, ucdist ver: 7801, kernel ver: 6130
Case 25 ...FAIL
Follow-ups
--- Sonic Zhang 2009-03-24 04:57:37
Can't replicate on SVN trunk
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found