[CentOS] How do I debug the kernel?

Tue Mar 6 20:46:34 UTC 2007
James Olin Oden <james.oden at gmail.com>

There may be, I just don't know the specics.  I know IBM at one point
was working on something called dprobes, and there have been other
things like it proposed and worked on to some degree:

   http://directory.fsf.org/all/DynamicProbes.html

Hope that helps...james

On 3/6/07, Mark Hull-Richter <mhull-richter at datallegro.com> wrote:
> I thought there was a way to debug the kernel live on its own machine,
> as long as you have more than one processor (we do) and you don't set a
> breakpoint in synchronization code.
>
> > -----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.
> >
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>