From: Badari Pulavarty <pbadari@us.ibm.com>
To: Andy Whitcroft <andyw@uk.ibm.com>
Cc: haveblue@us.ibm.com, lkml <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM
Date: Wed, 07 Dec 2005 15:22:52 -0800 [thread overview]
Message-ID: <1133997772.21841.62.camel@localhost.localdomain> (raw)
In-Reply-To: <43976AA4.2060606@uk.ibm.com>
On Wed, 2005-12-07 at 23:05 +0000, Andy Whitcroft wrote:
> Badari Pulavarty wrote:
> > Hi Andy,
> >
> > I getting a panic while doing "cat /proc/<pid>/smaps" on
> > a process. I debugged a little to find out that faulting
> > IP is in _nr_to_section() - seems to be getting somehow
> > called by pte_offset_map_lock() from smaps_pte_range
> > (which show_smaps) calls.
> >
> > Any ideas on why or how to debug further ?
>
> From dave's call graph I'd ask the question whether we should be calling
> pfn_valid() before pfn_to_page(). When I reviewed the proposed
> pfn_to_page() implementation I only recall one use and that already had
> the pfn_valid() in it. I'll review -rc4 in the morning.
BTW, the problem seems to be while dealing with shared memory areas
that are backed by largepages.
db2inst1@elm3b157:~> cat /proc/12030/maps
...
100000000-101598000 rw-s 00000000 00:07
589826 /SYSV2a079461 (deleted)
...
db2inst1@elm3b157:~> cat /proc/12030/smaps
...
100000000-101598000 rw-s 00000000 00:07 5Segmentation fault
Thanks,
Badari
next prev parent reply other threads:[~2005-12-07 23:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-07 22:37 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM Badari Pulavarty
2005-12-07 22:52 ` Dave Hansen
2005-12-07 23:05 ` Andy Whitcroft
2005-12-07 23:22 ` Badari Pulavarty [this message]
2005-12-07 23:34 ` Dave Hansen
2005-12-08 0:48 ` Dave Hansen
2005-12-08 16:07 ` Badari Pulavarty
2005-12-08 19:15 ` Dave Hansen
2005-12-08 19:33 ` Hugh Dickins
2005-12-08 19:47 ` Dave Hansen
2005-12-08 19:53 ` Badari Pulavarty
2005-12-08 23:48 ` David Gibson
2005-12-09 0:16 ` Dave Hansen
2005-12-12 16:19 ` Badari Pulavarty
2005-12-12 21:28 ` Dave Hansen
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=1133997772.21841.62.camel@localhost.localdomain \
--to=pbadari@us.ibm.com \
--cc=andyw@uk.ibm.com \
--cc=haveblue@us.ibm.com \
--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 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.