lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sun, 2 Sep 2007 23:47:12 +0400
From:	"Alexander Shishkin" <alexander.shishckin@...il.com>
To:	"Philippe De Muyter" <phdm@...qel.be>
Cc:	linux-kernel@...r.kernel.org, uclinux-dev@...inux.org
Subject: Re: Hint needed : how to debug sempahore's problem

On 9/2/07, Philippe De Muyter <phdm@...qel.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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ