From: dann frazier <dannf@debian.org>
To: Hugh Dickins <hughd@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org,
Rik van Riel <riel@redhat.com>,
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>,
Nick Piggin <npiggin@suse.de>, Mel Gorman <mel@csn.ul.ie>,
Minchan Kim <minchan.kim@gmail.com>,
Ralf Baechle <ralf@linux-mips.org>
Subject: Re: ia64 hang/mca running gdb 'make check'
Date: Tue, 27 Jul 2010 01:19:15 -0600 [thread overview]
Message-ID: <20100727071914.GB22945@lackof.org> (raw)
In-Reply-To: <alpine.DEB.1.00.1007202106420.12760@tigran.mtv.corp.google.com>
On Tue, Jul 20, 2010 at 09:19:50PM -0700, Hugh Dickins wrote:
> On Tue, 20 Jul 2010, dann frazier wrote:
> > On Wed, Jul 21, 2010 at 10:51:36AM +0900, KAMEZAWA Hiroyuki wrote:
> > > On Tue, 20 Jul 2010 11:35:12 -0600
> > > dann frazier <dannf@debian.org> wrote:
> > >
> > > > Debian's ia64 autobuilders have been experiencing system crashes while
> > > > trying to run the gdb test suite:
> > > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588574
> > > >
> > > > I was able to reproduce this w/ the latest git tree, and bisected it
> > > > down to this commit, introduced in 2.6.32:
> > > >
> > > > commit 62eede62dafb4a6633eae7ffbeb34c60dba5e7b1
> > > > Author: Hugh Dickins <hugh.dickins@tiscali.co.uk>
> > > > Date: Mon Sep 21 17:03:34 2009 -0700
> > > >
> > > > mm: ZERO_PAGE without PTE_SPECIAL
> > > >
> > > > Reinstate anonymous use of ZERO_PAGE to all architectures, not just to
> > > > those which __HAVE_ARCH_PTE_SPECIAL: as suggested by Nick Piggin.
> > > >
> > > > Contrary to how I'd imagined it, there's nothing ugly about this, just a
> > > > zero_pfn test built into one or another block of vm_normal_page().
> > > >
> > > > But the MIPS ZERO_PAGE-of-many-colours case demands is_zero_pfn() and
> > > > my_zero_pfn() inlines. Reinstate its mremap move_pte() shuffling of
> > > > ZERO_PAGEs we did from 2.6.17 to 2.6.19? Not unless someone shouts for
> > > > that: it would have to take vm_flags to weed out some cases.
> > > >
> > > > fyi, I found this to not be reproducible on SLES11 SP1 (which is
> > > > 2.6.32-based). I compared the .configs and found that the relevant
> > > > difference is the PAGE_SIZE. It does not fail w/ 64KB pages, but
> > > > reliably fails w/ 16KB pages.
> > > >
> > >
> > > Sorry, I have no idea...
> > > Hmm, what is the address of empty_zero_page[] on your debian(16kb-page) ?
> >
> >
> > dannf@krebs:~$ grep empty_zero_page /boot/System.map-2.6.32-5-mckinley
> > a0000001008784c0 d __ksymtab_empty_zero_page
> > a000000100882688 d __kcrctab_empty_zero_page
> > a000000100884ca4 r __kstrtab_empty_zero_page
> > a000000100974000 D empty_zero_page
>
> Thanks a lot for reporting this, but I too have no idea yet.
>
> It is likely that the bug is not to be found in that 62eede62, but
> rather in one of the preceding patches to mm/memory.c which 62eede62
> was extending to ia64 and other architectures without PTE_SPECIAL.
>
> I wonder, from looking at that gdb testsuite log, is it plausible
> that all these hangs/crashes occurred when writing out a coredump?
> Is that something you could check for us? or rule out the possibility.
Yep, seems so. I've reduced it down to this test case:
dannf@rx2600:~> cat > foo.c
int leaf(void) {
return 0;
}
int main(void) {
leaf();
}
dannf@rx2600:~> gcc -g foo.c -o foo
dannf@rx2600:~> gdb ./foo
GNU gdb (GDB) SUSE (7.0-0.4.16)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "ia64-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/dannf/foo...done.
(gdb) break leaf
Breakpoint 1 at 0x40000000000005c1: file foo.c, line 2.
(gdb) run
Starting program: /home/dannf/foo
Missing separate debuginfo for /lib/ld-linux-ia64.so.2
Try: zypper install -C "debuginfo(build-id)=d5bfb8b5940e174d54b978ca515dc0df76c7618c"
Missing separate debuginfo for /lib/libc.so.6.1
Try: zypper install -C "debuginfo(build-id)=ca78657bd9173653d95f8504a313d2b6db8cb1d6"
Breakpoint 1, leaf () at foo.c:2
2 return 0;
(gdb) gcore /tmp/save
[bang]
> I was rather proud of the get_dump_page() simplification,
> but perhaps there's something nasty lurking in there.
>
> Hugh
>
--
dann frazier
next prev parent reply other threads:[~2010-07-27 7:19 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-20 17:35 ia64 hang/mca running gdb 'make check' dann frazier
2010-07-21 1:51 ` KAMEZAWA Hiroyuki
2010-07-21 3:06 ` dann frazier
2010-07-21 4:19 ` Hugh Dickins
2010-07-21 12:54 ` KOSAKI Motohiro
2010-07-27 7:19 ` dann frazier [this message]
2010-07-27 9:03 ` KAMEZAWA Hiroyuki
2010-07-27 14:43 ` dann frazier
2010-07-29 3:50 ` Hugh Dickins
2010-07-29 19:22 ` dann frazier
2010-07-30 0:41 ` KAMEZAWA Hiroyuki
2010-07-30 2:01 ` Hugh Dickins
2010-07-30 4:34 ` dann frazier
2010-07-30 17:52 ` Hugh Dickins
2010-07-30 17:58 ` [PATCH] mm: fix ia64 crash when gcore reads gate area Hugh Dickins
2010-07-29 7:38 ` ia64 hang/mca running gdb 'make check' Luming Yu
2010-07-29 7:58 ` KAMEZAWA Hiroyuki
2010-07-29 8:40 ` Luming Yu
2010-07-29 8:44 ` KAMEZAWA Hiroyuki
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=20100727071914.GB22945@lackof.org \
--to=dannf@debian.org \
--cc=hughd@google.com \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mel@csn.ul.ie \
--cc=minchan.kim@gmail.com \
--cc=npiggin@suse.de \
--cc=ralf@linux-mips.org \
--cc=riel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox