All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Knorr <kraxel@bytesex.org>
To: Werner Almesberger <wa@almesberger.net>
Cc: BlaisorBlade <blaisorblade_spam@yahoo.it>,
	user-mode-linux-devel@lists.sourceforge.net,
	user-mode-linux-user@lists.sourceforge.net,
	Lorenzo Colitti <lorenzo@colitti.com>,
	Massimo Rimondini <rimondin@dia.uniroma3.it>
Subject: Re: [uml-devel] Re: [uml-user] Host processes never terminate on 2.6.9rc3 host (stuck in ptrace_stop)
Date: Tue, 19 Oct 2004 19:58:44 +0200	[thread overview]
Message-ID: <20041019175844.GA13118@bytesex> (raw)
In-Reply-To: <20041019131553.A18872@almesberger.net>

On Tue, Oct 19, 2004 at 01:15:53PM -0300, Werner Almesberger wrote:
> BlaisorBlade wrote:
> > Why? This does not make sense, IMHO - after a SIGCONT it should keep running  
> > until something *requests* it stopping - or not?
> 
> Well, depends on what constellation we have: if the ptracer is
> already dead, this should work.

It's alive.

> If the ptracer is still alive, we may return to the same state quickly
> (e.g. if both sides aren't interactive anyway).

Or if the uml kernel scheduler decides the task should go sleep again
and sends a SIGSTOP for that ...

> Of course, one could argue that, in the latter case, allowing the
> ptracer to override SIGKILL is a feature (in any case, the ptracer
> should be able to keep the dying process for examination).

Yep, but if you want to allow the ptracer override SIGKILL you should
at least notify it about the SIGKILL, which doesn't happen either in
2.6.9-rc2+ ...

> > I remember that on Slackware, when doing "init 1" it sends even kill
> > -CONT to all processes, so either they think it's correct or they
> > want to workaround an issue existing for lots of kernel releases.
> 
> My bet would be on the workaround :-)

Oh well.  As far I can see there is no simple, race-free workaround.
Guess we really have to find that damn bug ...

  Gerd

-- 
return -ENOSIG;


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2004-10-19 17:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4173F1FD.6080004@colitti.com>
     [not found] ` <87d5zgrkm2.fsf@bytesex.org>
2004-10-18 19:18   ` [uml-devel] Re: [uml-user] Host processes never terminate on 2.6.9rc3 host (stuck in ptrace_stop) BlaisorBlade
2004-10-18 21:26     ` Gerd Knorr
2004-10-18 22:23       ` BlaisorBlade
2004-10-19  5:00         ` Werner Almesberger
2004-10-19 15:47           ` BlaisorBlade
2004-10-19 16:15             ` Werner Almesberger
2004-10-19 17:58               ` Gerd Knorr [this message]
2004-10-20 23:54           ` Michael Richardson
2004-10-21  7:57             ` Gerd Knorr
2004-10-19  6:59         ` Henrik Nordstrom
2004-10-19  7:26           ` Gerd Knorr
2004-10-19  8:47             ` Henrik Nordstrom
2004-10-19  9:04               ` Gerd Knorr
2004-10-19  7:18         ` Gerd Knorr

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=20041019175844.GA13118@bytesex \
    --to=kraxel@bytesex.org \
    --cc=blaisorblade_spam@yahoo.it \
    --cc=lorenzo@colitti.com \
    --cc=rimondin@dia.uniroma3.it \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=user-mode-linux-user@lists.sourceforge.net \
    --cc=wa@almesberger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.