Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Apr 1999 15:06:27 -0700
From:      Warner Losh <imp@harmony.village.org>
To:        Bob Bishop <rb@gid.co.uk>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Any way to... 
Message-ID:  <199904032206.PAA50844@harmony.village.org>
In-Reply-To: Your message of "Sat, 03 Apr 1999 20:02:09 GMT." <l03020914b32c241fe04f@[194.32.164.2]> 
References:  <l03020914b32c241fe04f@[194.32.164.2]>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <l03020914b32c241fe04f@[194.32.164.2]> Bob Bishop writes:
: >... get a kernel stack trace of a running process?
: gdb -k /kernel /dev/mem, I expect

How to I get that from gdb?  gdb will tell me where in the kernel
things are now, but not where a process may be sleeping or stuck.

Actually, looking at the "top" output, shows that pppd is stuck in
"select" state, so getting a kernel stack trace of that wouldn't be
helpful.  I don't know how ppp works in the kernel, but am trying to
track down problems where it wedges our serial line and we have to
kill pppd with SIGKILL in order for it to notice (SIGTERM and SIGHUP
don't seem to produce any effect).

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904032206.PAA50844>