From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.19-rc2-mm2: reproducible hang on shutdown on i386
Date: Mon, 23 Oct 2006 23:00:45 +0200 [thread overview]
Message-ID: <200610232300.45462.rjw@sisk.pl> (raw)
In-Reply-To: <20061023103448.7c35063b.akpm@osdl.org>
On Monday, 23 October 2006 19:34, Andrew Morton wrote:
> > On Mon, 23 Oct 2006 16:43:31 +0200 "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
> > On Saturday, 21 October 2006 19:30, Rafael J. Wysocki wrote:
> > > On Friday, 20 October 2006 10:56, Andrew Morton wrote:
> > > >
> > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.19-rc2/2.6.19-rc2-mm2/
> > > >
> > > > - Added the IOAT tree as git-ioat.patch (Chris Leech)
> > > >
> > > > - I worked out the git magic to make the wireless tree work
> > > > (git-wireless.patch). Hopefully it will be in -mm more often now.
> > >
> > > [Margin note: bcm43xx doesn't work on my test boxes although it used to on one
> > > of them, but I have to play with it a bit more.]
> > >
> > > It looks like i386 cannot shut down cleanly with this kernel. On my test
> > > boxes (2 of them) it hangs after killing all processes, 100% of the time.
> >
> > I've carried out a binary search which shows that
> >
> > add-process_session-helper-routine-deprecate-old-field-fix-warnings.patch
> >
> > causes this to happen.
>
> Thanks. That patch had one bug - this will hopefully fi things up:
>
> From: Jeff Dike <jdike@addtoit.com>
>
> add-process_session-helper-routine-deprecate-old-field-fix-warnings.patch
> in -mm causes UML to hang at shutdown - init is sitting in a select on the
> initctl socket.
>
> This patch fixes it for me.
>
> Signed-off-by: Jeff Dike <jdike@addtoit.com>
> Cc: Cedric Le Goater <clg@fr.ibm.com>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> ---
>
> fs/proc/array.c | 2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
> diff -puN fs/proc/array.c~add-process_session-helper-routine-deprecate-old-field-fix-warnings-fix fs/proc/array.c
> --- a/fs/proc/array.c~add-process_session-helper-routine-deprecate-old-field-fix-warnings-fix
> +++ a/fs/proc/array.c
> @@ -388,7 +388,7 @@ static int do_task_stat(struct task_stru
> stime = cputime_add(stime, sig->stime);
> }
>
> - signal_session(sig);
> + sid = signal_session(sig);
> pgid = process_group(task);
> ppid = rcu_dereference(task->real_parent)->tgid;
>
> _
>
Yes, this fixes the issue. Thanks.
--
You never change things by fighting the existing reality.
R. Buckminster Fuller
next prev parent reply other threads:[~2006-10-23 21:01 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-20 8:56 2.6.19-rc2-mm2 Andrew Morton
2006-10-20 9:34 ` 2.6.19-rc2-mm2 Cornelia Huck
2006-10-20 13:19 ` 2.6.19-rc2-mm2 Alan Cox
2006-10-20 11:39 ` 2.6.19-rc2-mm2 Mariusz Kozlowski
2006-10-20 13:32 ` 2.6.19-rc2-mm2 Anton Vorontsov
2006-10-20 14:57 ` 2.6.19-rc2-mm2 Mariusz Kozlowski
2006-10-20 16:19 ` 2.6.19-rc2-mm2 Andrew Morton
2006-10-20 16:54 ` 2.6.19-rc2-mm2 Mariusz Kozlowski
2006-10-20 17:25 ` 2.6.19-rc2-mm2 Andrew Morton
2006-10-20 22:37 ` 2.6.19-rc2-mm2 Matthew Frost
2006-10-21 0:16 ` 2.6.19-rc2-mm2 Andi Kleen
2006-10-21 0:50 ` 2.6.19-rc2-mm2 Greg KH
2006-10-21 2:13 ` 2.6.19-rc2-mm2 Andi Kleen
2006-10-21 3:55 ` 2.6.19-rc2-mm2 Greg KH
2006-10-22 0:34 ` 2.6.19-rc2-mm2 Matthew Frost
2006-10-21 0:48 ` 2.6.19-rc2-mm2 Greg KH
2006-10-23 7:58 ` 2.6.19-rc2-mm2 Cornelia Huck
2006-10-24 7:40 ` 2.6.19-rc2-mm2 Greg KH
2006-10-20 11:59 ` 2.6.19-rc2-mm2 Gabriel C
2006-10-20 12:04 ` 2.6.19-rc2-mm2 Jiri Kosina
2006-10-20 12:33 ` 2.6.19-rc2-mm2 Gabriel C
2006-10-20 22:43 ` 2.6.19-rc2-mm2 Andrew Morton
2006-10-23 3:29 ` 2.6.19-rc2-mm2 Mauro Carvalho Chehab
2006-10-20 15:34 ` [PATCH 2.6.19-rc2-mm2] fix tty_ioctl powerpc build Hugh Dickins
2006-10-20 17:59 ` Alan Cox
2006-10-20 19:52 ` Andy Whitcroft
2006-10-20 15:54 ` 2.6.19-rc2-mm2 Martin J. Bligh
2006-10-20 16:30 ` 2.6.19-rc2-mm2 Badari Pulavarty
2006-10-20 17:31 ` 2.6.19-rc2-mm2 Andy Whitcroft
2006-10-22 2:16 ` 2.6.19-rc2-mm2 Martin J. Bligh
2006-10-22 3:15 ` 2.6.19-rc2-mm2 Dave Jones
2006-10-22 3:24 ` 2.6.19-rc2-mm2 Randy Dunlap
2006-10-22 22:18 ` 2.6.19-rc2-mm2 Andy Whitcroft
2006-10-21 0:24 ` 2.6.19-rc2-mm2 J.A. Magallón
2006-10-21 0:37 ` 2.6.19-rc2-mm2 Jiri Kosina
2006-10-21 0:41 ` 2.6.19-rc2-mm2 Randy Dunlap
2006-10-21 17:30 ` 2.6.19-rc2-mm2: reproducible hang on shutdown on i386 Rafael J. Wysocki
2006-10-23 14:43 ` Rafael J. Wysocki
2006-10-23 17:34 ` Andrew Morton
2006-10-23 21:00 ` Rafael J. Wysocki [this message]
2006-10-22 13:32 ` [Nasty crash on boot] was Re: 2.6.19-rc2-mm2 Reuben Farrelly
2006-10-22 18:13 ` Andrew Morton
2006-10-22 22:37 ` Andi Kleen
2006-10-23 20:54 ` 2.6.19-rc2-mm2 Magnus Määttä
2006-10-23 21:04 ` 2.6.19-rc2-mm2 Andrew Morton
2006-10-23 21:22 ` 2.6.19-rc2-mm2 Magnus Määttä
2006-10-24 8:04 ` WARNING: Do not use with EFI-based (e.g. IA64) systems. Bootloader may get eaten Mel Gorman
2006-10-26 6:11 ` 2.6.19-rc2-mm2 Joseph Fannin
2006-10-28 3:18 ` 2.6.19-rc2-mm2 - process_session-helper breaks /sbin/killall5 Valdis.Kletnieks
2006-10-28 4:47 ` Andrew Morton
2006-10-28 17:53 ` Valdis.Kletnieks
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=200610232300.45462.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=akpm@osdl.org \
--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®