From: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
To: linux-kernel@vger.kernel.org
Subject: Re: kswapd oops reproduced with 2.6.17-rc2 (was Oops with 2.6.15.3 on amd64)
Date: Wed, 26 Apr 2006 19:07:42 +0200 [thread overview]
Message-ID: <20060426170742.GA14280@uio.no> (raw)
In-Reply-To: <20060426161214.GA13689@uio.no>
On Wed, Apr 26, 2006 at 06:12:14PM +0200, Steinar H. Gunderson wrote:
> It isn't, but I hadn't changed the sources, .config or build environment
> since I built it, so I did a straight recompile with CONFIG_DEBUG_INFO set,
> and got:
>
> (gdb) l *(isolate_lru_pages+74)
> 0xffffffff80250c2a is in isolate_lru_pages (list.h:154).
>
> (I had to run gdb on a machine with 64-bit userspace, but I guess just
> copying the vmlinux file should suffice.)
FWIW, I kept on looking at this, and I believe the kernel's symbol table is
borked somehow. The code doesn't match with the disassembly at all, and the
address of isolate_lru_pages in my disassembly doesn't really match what's
in /proc/kallsyms. OTOH, if I disassemble, I can find the exact code fragment
from the "Code" dump at:
ffffffff8025096a <invalidate_mapping_pages>:
<...>
static inline int page_mapped(struct page *page)
{
return atomic_read(&(page)->_mapcount) >= 0;
ffffffff802509cf: 75 0a jne ffffffff802509db <invalidate_mapping_pages+0x71>
ffffffff802509d1: 0f 0b ud2a
ffffffff802509d3: 68 9d 0f 3c 80 pushq $0xffffffff803c0f9d
ffffffff802509d8: c2 4f 02 retq $0x24f
ffffffff802509db: 49 8b 10 mov (%r8),%rdx
ffffffff802509de: 49 8b 40 08 mov 0x8(%r8),%rax
ffffffff802509e2: 48 89 42 08 mov %rax,0x8(%rdx)
ffffffff802509e6: 48 89 10 mov %rdx,(%rax) <-- crash is here
ffffffff802509e9: 41 8b 50 e0 mov 0xffffffffffffffe0(%r8),%edx
ffffffff802509ed: 49 c7 00 00 01 10 00 movq $0x100100,(%r8)
ffffffff802509f4: 49 c7 40 08 00 02 20 movq $0x200200,0x8(%r8)
ffffffff802509fb: 00
which matches the _address_ from the kernel, but not the _symbol_ it spits
out. Something's odd here :-)
/* Steinar */
--
Homepage: http://www.sesse.net/
next prev parent reply other threads:[~2006-04-26 17:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-22 22:12 Oops with 2.6.15.3 on amd64 Steinar H. Gunderson
2006-04-26 15:15 ` kswapd oops reproduced with 2.6.17-rc2 (was Oops with 2.6.15.3 on amd64) Steinar H. Gunderson
2006-04-26 15:40 ` R. J. Wysocki
2006-04-26 16:12 ` Steinar H. Gunderson
2006-04-26 17:07 ` Steinar H. Gunderson [this message]
2006-04-26 20:59 ` Rafael J. Wysocki
2006-04-26 21:01 ` Steinar H. Gunderson
2006-04-26 21:23 ` Rafael J. Wysocki
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=20060426170742.GA14280@uio.no \
--to=sgunderson@bigfoot.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome