> -----Original Message----- > From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On > Behalf Of Rodrigo Barbosa > Sent: Thursday, March 22, 2007 1:34 PM > To: CentOS mailing list > Subject: Re: [CentOS] 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! :-).