From: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>,
LKML <linux-kernel@vger.kernel.org>,
Roland McGrath <roland@redhat.com>
Subject: Re: mm snapshot broken-out-2007-04-07-03-27.tar.gz uploaded
Date: Sat, 07 Apr 2007 20:09:43 +0200 [thread overview]
Message-ID: <4617DE67.4090801@googlemail.com> (raw)
In-Reply-To: <20070407105328.836902d1.akpm@linux-foundation.org>
Andrew Morton napisał(a):
> On Sat, 07 Apr 2007 14:30:04 +0200 Michal Piotrowski <michal.k.k.piotrowski@gmail.com> wrote:
>
>> akpm@linux-foundation.org napisał(a):
>>> The mm snapshot broken-out-2007-04-07-03-27.tar.gz has been uploaded to
>>>
>>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-04-07-03-27.tar.gz
>>>
>>> It contains the following patches against 2.6.21-rc6:
>>>
>> LTP triggered a ptrace problem.
>>
>> ------------[ cut here ]------------
>> kernel BUG at kernel/ptrace.c:1281!
>
> umm, Roland, if you're going to add assertions which only function with
> CONFIG_PREEMPT enabled, you'd better test with CONFIG_PREEMPT enabled ;)
>
>
> From: Andrew Morton <akpm@linux-foundation.org>
>
> We hold read_lock(tasklist_lock) in here.
>
> Cc: Roland McGrath <roland@redhat.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
> kernel/ptrace.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff -puN kernel/ptrace.c~utrace-fix-bug kernel/ptrace.c
> --- a/kernel/ptrace.c~utrace-fix-bug
> +++ a/kernel/ptrace.c
> @@ -1278,8 +1278,6 @@ found:
> current->pid, tsk->pid, p->pid, exit_code,
> p->exit_state, p->exit_signal);
>
> - NO_LOCKS;
> -
> /*
> * If there was a group exit in progress, all threads report that
> * status. Most will have SIGKILL in their own exit_code.
> _
>
>
>
Thanks.
BTW. I guess that this need a similar fix.
kernel BUG at kernel/ptrace.c:494!
invalid opcode: 0000 [#2]
PREEMPT SMP
last sysfs file: devices/platform/w83627hf.656/temp2_input
Modules linked in: ipt_MASQUERADE iptable_nat nf_nat nfsd exportfs lockd nfs_acl autofs4 sunrpc af_packet nf_conntrack_netbios_ns ipt_REJECT nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink iptable_filter ip_tables ip6t_REJECT xt_tcpudp ip6table_filter ip6_tables x_tables ipv6 binfmt_misc thermal processor fan container nvram snd_intel8x0 snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss intel_agp snd_pcm agpgart evdev snd_timer snd soundcore i2c_i801 snd_page_alloc ide_cd cdrom rtc unix
CPU: 1
EIP: 0060:[<c0163f22>] Not tainted VLI
EFLAGS: 00010202 (2.6.21-rc6-mm1 #1)
EIP is at ptrace_exit+0x29/0x21d
l *0xc0163f22
0xc0163f22 is in ptrace_exit (kernel/ptrace.c:494).
489 ptrace_exit(struct task_struct *tsk)
490 {
491 struct list_head *pos, *n;
492 int restart;
493
494 NO_LOCKS;
495
496 /*
497 * Taking the task_lock after PF_EXITING is set ensures that a
498 * child in ptrace_traceme will not put itself on our list when
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
next prev parent reply other threads:[~2007-04-07 18:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-07 10:29 mm snapshot broken-out-2007-04-07-03-27.tar.gz uploaded akpm
2007-04-07 12:30 ` Michal Piotrowski
2007-04-07 17:53 ` Andrew Morton
2007-04-07 18:09 ` Michal Piotrowski [this message]
2007-04-07 18:38 ` Andrew Morton
2007-04-07 18:48 ` Michal Piotrowski
2007-04-07 20:13 ` Andrew Morton
2007-04-07 20:19 ` Michal Piotrowski
2007-04-07 21:22 ` Michal Piotrowski
2007-04-07 19:43 ` Michal Piotrowski
2007-04-07 20:10 ` Andrew Morton
2007-04-08 12:42 ` Pavel Machek
2007-04-08 13:26 ` Michal Piotrowski
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=4617DE67.4090801@googlemail.com \
--to=michal.k.k.piotrowski@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=roland@redhat.com \
/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.