Questions tagged [kgdb]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
0answers
471 views

How to run kernel in debug mode and wait for KGDB with Virtualbox and Kali Linux?

I am trying to debug a Linux kernel using Virtualbox, but I cannot get it working. Here is what I've done. Compile Kernel with the following configuration CONFIG_HAVE_ARCH_KGDB=y CONFIG_KGDB=y ...
1
vote
0answers
1k views

Linux Kernel module Remote Debugging with GDB + KGDB, Remote 'g' packet reply is too long

I am trying to remotely debug Linux Kernel and I am having issues. My setup: Target machine with Ubnutu Linux with my custom kernel 4.3 which I built with debugging information and KGDB. ...
1
vote
0answers
1k views

“disagrees about version” message

I get a message "disagrees about version" on boot time, after compiling kernel and modules with KGDB. Why should this happen ? Is there any problem with KGDB ? This is the relevant log at boot: ...
1
vote
1answer
221 views

kgdb fail to start

I'm struglling for some time to make kgdb work in my sytsem, but meanwhile it does not. I'm using TI's SDK which based on 2.6.37 git. When trying to work with serial, I always get the following ...
2
votes
1answer
560 views

sysrq-trigger doesn't accept parameter 'g'

I'm trying to debug the kernel. But I couldn't trigger kgdb with echo g > /proc/sysrq-trigger, it just prints help message. I have enabled kernel debugging, kgdb over serial, frame pointer etc. ...