From: "Jan Beulich" Subject: Re: [RESEND] Linux 2.3.23-rc3 on Xen 3.1 crashs Date: Wed, 29 Aug 2007 12:32:00 +0100 Message-ID: <46D57550.76E4.0078.0@novell.com> References: <20070825154617.GA27424@wavehammer.waldi.eu.org> <20070829100259.GA25709@wavehammer.waldi.eu.org> <46D568FD.76E4.0078.0@novell.com> <20070829110216.GA28751@wavehammer.waldi.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20070829110216.GA28751@wavehammer.waldi.eu.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Bastian Blank Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> Bastian Blank 29.08.07 13:02 >>> >On Wed, Aug 29, 2007 at 11:39:25AM +0100, Jan Beulich wrote: >> These aren't really meaningful, as the VM was obviously in a loop = getting >> repeated exceptions (and the stack pointer clearly went bad meanwhile). >> You'd need to catch the state much earlier, when the first (or just = very few) >> of these exceptions happened, so that looking at the stack can actually >> provide some insight. > >How? There seems to be something in tools/debugger/gdb. It seems to >build a special gdbserver. Does this gdbserver stop the domain on an >exception or do I need to break explicitely? I never used it, so I don't know. But you must have been building the = kernel yourself, and given from you testing -rc kernels I also assume you're = familiar with modifying the kernel sources, so it shouldn't be too difficult to = e.g. remove registration of the illegal opcode handler so that Xen dumps the VCPU state (and kills the VM) the first time such an exception occurs in = the guest (of course assuming there are no other instances of 'valid' uses of the exception - you'd see this pretty quickly). Jan