Hello,
I'm using BBB board A5C, and kernel version 3.15.3-bone3.1. Trying to debug 
vmlinux using KGDB over Serial. 

Uboot args: *netargs setenv bootargs console=${console} ${optargs} 
root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp 
kgdb8250=ttyO0,115200n8 kgdboc=ttyO0,115200n8 kgdbwait*

It gives below error

[    2.202268] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.203793] omap_uart 44e09000.serial: no wakeirq for uart0
[    2.204088] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, 
base_baud = 3000000) is a OMAP UART0
[    3.041678] console [ttyO0] enabled
[    3.045821] omap_uart 48022000.serial: no wakeirq for uart0
[    3.051890] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 89, 
base_baud = 3000000) is a OMAP UART1
[    3.062002] kgdb: Registered I/O driver kgdboc.
[    3.066757] kgdb: Waiting for connection from remote gdb...
*[    3.072631] Internal error: Oops - undefined instruction: 0 [#1] THUMB2*

Entering kdb (current=0xdf058000, pid 1) due to Keyboard Entry
*kdb>go*
Catastrophic error detected
kdb_continue_catastrophic=0, attempting to continue
[  144.265474] Modules linked in:
[  144.268684] CPU: 0 PID: 1 Comm: swapper Not tainted 3.15.3-bone3.1 #2
[  144.275436] task: df058000 ti: df046000 task.ti: df046000
[  144.281104] PC is at kgdb_breakpoint+0x34/0x5c
[  144.285762] LR is at kgdb_register_io_module+0xc9/0xe0
[  144.291147] pc : [<c0079480>]    lr : [<c0079f0d>]    psr: 40000133
[  144.291147] sp : df047ea8  ip : 0000002e  fp : c08d83a9
[  144.303182] r10: 00000000  r9 : df046008  r8 : c0904008
[  144.308656] r7 : c0953b54  r6 : c0904018  r5 : c09e6d6c  r4 : c09e6d68
[  144.315497] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : 0000002f
[  144.322339] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb 
 Segment kernel
[  144.330182] Control: 50c5387d  Table: 80004019  DAC: 00000015
[  144.336202] Process swapper (pid: 1, stack limit = 0xdf046240)
[  144.342315] Stack: (0xdf047ea8 to 0xdf048000)
[  144.346882] 7ea0:                   00000000 c09e6d68 c0953b54 c0079f0d 
00000000 c0953b1c
[  144.355457] 7ec0: c0a687e0 c034256d 00000000 00000000 00000000 c08fa274 
00000006 c0990e00
[  144.364033] 7ee0: c0990e00 c00086af df07ee00 c010a799 1ad03929 c077f410 
df07ee00 c0565400
[  144.372608] 7f00: df00a780 1ad03929 0000008f c010a955 dfefc521 c05bbe38 
000000f7 c0040d5d
[  144.381182] 7f20: 00000000 00000000 00000000 c086d608 dfefc529 c09848f0 
00000006 1ad03929
[  144.389758] 7f40: 00000000 c08fa274 00000006 c0990e00 c0990e00 c08ac409 
c08e8de8 000000f7
[  144.398332] 7f60: c08e8ddc c08aca29 00000006 00000006 c08ac409 75bd7dab 
57d0f594 76a337f9
[  144.406908] 7f80: f67b35ff 00000e00 c0550d19 00000000 00000000 00000000 
00000000 00000000
[  144.415482] 7fa0: 00000000 c0550d23 00000000 c000d1f9 00000000 00000000 
00000000 00000000
[  144.424057] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000
[  144.432632] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 
dffaff96 df7d5fbb
[  144.441223] [<c0079480>] (kgdb_breakpoint) from [<c0079f0d>] 
(kgdb_register_io_module+0xc9/0xe0)
[  144.450453] [<c0079f0d>] (kgdb_register_io_module) from [<c034256d>] 
(configure_kgdboc+0xe9/0x144)
[  144.459854] [<c034256d>] (configure_kgdboc) from [<c00086af>] 
(do_one_initcall+0xb3/0x134)
[  144.468528] [<c00086af>] (do_one_initcall) from [<c08aca29>] 
(kernel_init_freeable+0x141/0x1b8)
[  144.477656] [<c08aca29>] (kernel_init_freeable) from [<c0550d23>] 
(kernel_init+0xb/0xb4)
[  144.486148] [<c0550d23>] (kernel_init) from [<c000d1f9>] 
(ret_from_fork+0x11/0x38)
[  144.494088] Code: 0690 69b3 b103 4798 (deff) e7ff 
[  144.499141] ---[ end trace 2cfec94027b21ac8 ]---
[  144.503978] Kernel panic - not syncing: Fatal exception
PANIC: Fatal exception
[  144.511648] Internal error: Oops - undefined instruction: 0 [#2] THUMB2

Entering kdb (current=0xdf058000, pid 1) due to Keyboard Entry

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to