[OpenAFS] Re: Debugging opportunity (time-sensitive)

Andrew Deason adeason@sinenomine.net
Wed, 18 May 2011 10:25:06 -0500


This is a multi-part message in MIME format.

--Multipart=_Wed__18_May_2011_10_25_06_-0500_MWvebOrpK8yeK6hW
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Wed, 18 May 2011 11:11:37 -0400
Jeff Blaine <jblaine@kickflop.net> wrote:

> > Does 'cmdebug<client>' return anything?
> 
> Nope.

As in, it hangs, or it exits without any output?

But okay, to see where in libafs you're hanging, you can

dtrace -s traceafs.d -c "ls -ld /afs"

(as root) and give the output, or at least around the spot where it
hangs. I'm assuming 'ls -ld /afs' hangs, though. Just put some other
command in there otherwise.

-- 
Andrew Deason
adeason@sinenomine.net

--Multipart=_Wed__18_May_2011_10_25_06_-0500_MWvebOrpK8yeK6hW
Content-Type: text/x-dsrc;
 name="traceafs.d"
Content-Disposition: attachment;
 filename="traceafs.d"
Content-Transfer-Encoding: 7bit

#pragma D option flowindent

fbt:afs::entry /pid == $target/ {}
fbt:afs::return /pid == $target/ {}

--Multipart=_Wed__18_May_2011_10_25_06_-0500_MWvebOrpK8yeK6hW--