RE: How do I debug the kernel?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On
> Behalf Of Rodrigo Barbosa
> Sent: Thursday, March 22, 2007 1:34 PM
> To: CentOS mailing list
> Subject: Re:  How do I debug the kernel?
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Thu, Mar 22, 2007 at 04:25:41PM -0400, Lists wrote:
> > On Tue, 6 Mar 2007, Rodrigo Barbosa wrote:
> > >
> > >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.
> > >
> > Would VMWare let you run the kernel you're debugging in a VM and
watch
> it
> > from the host?
> 
> That is a very good question. Last time I used kgdb, it was done using
a
> serial (RS232) cable. These days, I really don't know.
> 

It can be done on certain processors, but I don't have one of them - the
Pentium-D has the necessary 64 bit capability, but this is a mere P-4 -
no such lock (thought of that! :-).

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux