[CentOS] How do I debug the kernel?

Mark Hull-Richter mhull-richter at datallegro.com
Wed Mar 7 01:28:26 UTC 2007


Okay, if I do it that way, is there a how-to somewhere on this, or does
kgdb come with something like that or am I on my own here?  :-)

> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Rodrigo Barbosa
> Sent: Tuesday, March 06, 2007 11:01 AM
> To: CentOS mailing list
> Subject: Re: [CentOS] How do I debug the kernel?
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Using gdb to debug the kernel is not an easy trick. You will need
> a kgdb patch for the kernel, and 2 computers. 1 for running the
kernel,
> and one for the debuger. These computers should be connected using a
> serial (RS232) cable.
> 
> Please take notice I haven't done this since the 2.0 days, so things
> might have changed, but I don't expect they changed much.
> 



More information about the CentOS mailing list