Date: Sun, 8 Feb 1998 00:22:56 -0500 (EST) From: "John S. Dyson" <dyson@FreeBSD.ORG> To: grog@lemis.com (Greg Lehey) Cc: hackers@FreeBSD.ORG Subject: Re: ddb/kgdb: How do I find out what a process is doing? Message-ID: <199802080522.AAA12270@dyson.iquest.net> In-Reply-To: <19980208152706.59008@freebie.lemis.com> from Greg Lehey at "Feb 8, 98 03:27:06 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey said: > I'm doing some kernel development work, and I'm using remote kgdb to > debug it with. I currently have a process which is sleeping > (eternally) in biord. How do I do a backtrace on it? > If the debugger doesn't support using alternate kernel stacks, I usually put a timeout in the tsleep, and call the debugger from the tsleep error return. Seldom should a biord take longer than a few seconds, so perhaps a timeout value of 5*hz should be safe. This, of course, works well only for reproduceable problems. -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802080522.AAA12270>