9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@coraid.com>
To: 9fans@9fans.net
Subject: [9fans] ps hang
Date: Fri, 21 Aug 2009 12:20:06 -0400	[thread overview]
Message-ID: <16322979e064dd6e89b14d24c02a5ad2@coraid.com> (raw)

i know this has been reported before.  and i've
guessed at exactly this problem, but it's happened
again here.  and this time i have a bit of evidence.

i haven't quite tracked everything down, or
what the original problem is (that is, who
owns the lock and more importantly, why)
but the hang is because of the qlock of
p->debug in procopen.

minooka# acid -k 55053 /n/dump/2009/0819/386/9pccpu
/n/dump/2009/0819/386/9pccpu:386 plan 9 boot image
/sys/lib/acid/port
/sys/lib/acid/386
acid: stk()
sched()+0x12d /sys/src/9/port/proc.c:155
qlock(q=0xf03d9244)+0x141 /sys/src/9/port/qlock.c:48
procopen(omode=0x0,c=0xf6e52ab8)+0x193 /sys/src/9/port/devproc.c:369
namec(aname=0xf709f318,amode=0x3,omode=0x0,perm=0x0)+0x6d9 /sys/src/9/port/chan.c:1491
sysopen(arg=0xf041c1a0)+0xa9 /sys/src/9/port/sysfile.c:279
syscall(ureg=0xf6810e6c)+0x1b5 /sys/src/9/pc/trap.c:712
_syscallintr()+0x18 /sys/src/9/pc/plan9l.s:45
0xf6810e6c ?file?:0

- erik



             reply	other threads:[~2009-08-21 16:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-21 16:20 erik quanstrom [this message]
2009-08-21 18:37 ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16322979e064dd6e89b14d24c02a5ad2@coraid.com \
    --to=quanstro@coraid.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).