kdb with RHEL 6.2

Latest response

How do I configure Red Hat Enterprise Linux 6.2 to use the kdb kernel debugger?

Responses

We don't seem to ship KDB. The tool most commonly used for debugging a live kernel or vmcore is crash.

Thanks, but crash does not allow me to set breakpoints - is kgdb the only supported method of doing this?

There's a method to setup GDB+KGDB documented over at Bug 710668, Comment 15. This uses plain old GDB, which is a supported component. As you'll see from the errata, this only works in RHEL 6.2 (kernel-2.6.32-220) and later.

For specific instrumentation not exposed in existing debugging, we (in support) usually use SystemTap. The syntax is well documented and there are many example tapsets.

Thanks for your help Bainbridge.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.