From: "Alexander Shishkin" <alexander.shishckin@gmail.com>
To: "Philippe De Muyter" <phdm@macqel.be>
Cc: linux-kernel@vger.kernel.org, uclinux-dev@uclinux.org
Subject: Re: Hint needed : how to debug sempahore's problem
Date: Sun, 2 Sep 2007 23:47:12 +0400 [thread overview]
Message-ID: <71a0d6ff0709021247uefb4695y13a24523900e1b91@mail.gmail.com> (raw)
In-Reply-To: <20070902194031.GA24800@ingate.macqel.be>
On 9/2/07, Philippe De Muyter <phdm@macqel.be> wrote:
> Hi all,
Hi,
> Can someone give me some hint or link for the following question :
>
> I have several processes blocked in 'D' state, and I surmise they are
> waiting for a semaphore (in the `down' routine). How is it possible :
> - to verify the processes are really blocked on a semaphore,
> - to see which semaphore they are waiting on,
> - to find out which process/driver/whatever holds those semaphores.
I'm sure there might be a better solution, but the easiest one I've
found for myself is enabling sysrq and sending sysrq-p or sysrq-t
combination to the board's console and see the callpaths that lead to
a deadlock (or other incorrect locking situation) in the kernel.
--
I like long walks, especially when they are taken by people who annoy me.
prev parent reply other threads:[~2007-09-02 19:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-13 10:26 [PATCH] fs : mark nibblemap const Philippe De Muyter
2007-09-02 19:40 ` Hint needed : how to debug sempahore's problem Philippe De Muyter
2007-09-02 19:47 ` Alexander Shishkin [this message]
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=71a0d6ff0709021247uefb4695y13a24523900e1b91@mail.gmail.com \
--to=alexander.shishckin@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=phdm@macqel.be \
--cc=uclinux-dev@uclinux.org \
/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
all inboxes | Powered by JetHome®