From owner-freebsd-hackers Wed Oct 31 2: 0:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by hub.freebsd.org (Postfix) with ESMTP id 3165837B401 for ; Wed, 31 Oct 2001 02:00:47 -0800 (PST) Received: from laptop.6bone.nl (penguin.ripe.net [193.0.1.232]) by birch.ripe.net (8.11.6/8.11.6) with SMTP id f9VA0Cq06637; Wed, 31 Oct 2001 11:00:12 +0100 Received: (nullmailer pid 543 invoked by uid 1000); Wed, 31 Oct 2001 10:00:11 -0000 Date: Wed, 31 Oct 2001 11:00:11 +0100 From: Mark Santcroos To: Julian Elischer Cc: hackers@FreeBSD.ORG Subject: Re: debugging question Message-ID: <20011031110011.A496@laptop.6bone.nl> References: <20011031092035.A573@laptop.6bone.nl> <3BDFC02B.AE8E3E8F@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BDFC02B.AE8E3E8F@elischer.org>; from julian@elischer.org on Wed, Oct 31, 2001 at 01:11:07AM -0800 X-Handles: MS6-6BONE, MS18417-RIPE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ah great. Thanks alot! Mark On Wed, Oct 31, 2001 at 01:11:07AM -0800, Julian Elischer wrote: > Mark Santcroos wrote: > > > > Thats what I already said in my email :) > > > > I was hoping that there is some way to dump the codepath of the kernel. > > > > Or is it maybe possible from ddb to move the context of a certain process > > and trace from there? > > tr PID > gives you teh stack of that PID > > then set a breakpoint in a location that you know it will go through > (e.g. one of the return addresses given in the trace) and then > continue. > > > > > Mark > > > > ps. I have narrowed it down already a bit more and hope to come with a bug > > report on -current in the coming days. > > > > On Tue, Oct 30, 2001 at 03:38:45PM -0800, Julian Elischer wrote: > > > when the system is looping, hit > > > to drop into the debugger. > > > > > > On Tue, 30 Oct 2001, Andrew R. Reiter wrote: > > > > > > > On Tue, 30 Oct 2001, Mark Santcroos wrote: > > > > > > > > :How can I see in what piece of the kernel it is looping? > > > > :(I know about where it is, but not exactly) > > > > : > > > > > > > > Use ddb to set a break -- you may need to do this upon boot (boot -d) > > > > > > > > *-------------................................................. > > > > | Andrew R. Reiter > > > > | arr@fledge.watson.org > > > > | "It requires a very unusual mind > > > > | to undertake the analysis of the obvious" -- A.N. Whitehead > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > with "unsubscribe freebsd-hackers" in the body of the message > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-hackers" in the body of the message > > > > -- > > Mark Santcroos RIPE Network Coordination Centre > > http://www.ripe.net/home/mark/ New Projects Group/TTM > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > -- > +------------------------------------+ ______ _ __ > | __--_|\ Julian Elischer | \ U \/ / hard at work in > | / \ julian@elischer.org +------>x USA \ a very strange > | ( OZ ) \___ ___ | country ! > +- X_.---._/ presently in San Francisco \_/ \\ > v > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message