mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rokas Masiulis <roma1390@uosis.mif.vu.lt>
To: linux-kernel@vger.kernel.org
Subject: Examine user space locks
Date: Wed, 1 Aug 2007 22:07:54 +0300	[thread overview]
Message-ID: <20070801190754.GA31656@uosis.mif.vu.lt> (raw)

Hi

sometimes user space program hangs forever.
In old days i remeber there was unkillable dosemu.
May be there are good how to. Some one can point to it?

This is problem/solution isn't related to current kernel. This
is question: what to do in this sitaution. 

Now i have eject(1)

 $ ps uax | grep eject
 root     12662  0.0  0.0   1528   560 ?        D    Jul31   0:00 eject
 root     12866  0.0  0.0   1532   560 pts/10   D    Jul31   0:00 eject
 $ date
 Wed Aug  1 21:56:59 EEST 2007

That same eject worked on that same hardware and kernel before.

 # strace -p 12662
 Process 12662 attached - interrupt to quit

dosn't show which syscall is called.

kill -9 12662 doesn't help to.

No ops, no other info in dmesg.

How to find problem? How to kill/stop proces without reboot?
How to find which lock is taken by kernel to complete user space
request/syscalls? 

kernel: 2.6.17-gentoo-r4-20061014-00
dmesg: http://89.190.108.145/~rokas/dmesg.txt
config: http://89.190.108.145/~rokas/config.txt

Thanks for any hints.

roma139

             reply	other threads:[~2007-08-01 19:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-01 19:07 Rokas Masiulis [this message]
2007-08-01 19:51 ` Jan Engelhardt
2007-08-01 20:52   ` Rokas Masiulis
2007-08-02  2:35     ` Satyam Sharma

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=20070801190754.GA31656@uosis.mif.vu.lt \
    --to=roma1390@uosis.mif.vu.lt \
    --cc=linux-kernel@vger.kernel.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®