linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: Markus <M4rkusXXL@web.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: BUG: unable to handle kernel paging request
Date: Sun, 23 May 2010 23:17:17 +0200	[thread overview]
Message-ID: <20100523211717.GD1408@liondog.tnic> (raw)
In-Reply-To: <201005232244.41977.M4rkusXXL@web.de>

From: Markus <M4rkusXXL@web.de>
Date: Sun, May 23, 2010 at 10:44:41PM +0200

> It is 0000000001912178.
> http://img256.imageshack.us/img256/4370/shotn.gif

True story, the fact that this value is not what it is expected to be
judging from the code it happens might actually be a clue:

[64112.502507] Code: 8b bf b0 00 00 00 31 ed 48 8d 50 f0 48 85 c0 48 0f 45 ea 48 85 ff 74 10 48 89 ee e8 8d d3 ff ff 85 c0 0f 8e c5 00 00 00 48 89 eb <49> 8b bd b8 00 00 00 48 85 ff 74 10 48 89 ee e8 6e d3 ff ff 85
All code
========
   0:   8b bf b0 00 00 00       mov    0xb0(%rdi),%edi
   6:   31 ed                   xor    %ebp,%ebp
   8:   48 8d 50 f0             lea    -0x10(%rax),%rdx
   c:   48 85 c0                test   %rax,%rax
   f:   48 0f 45 ea             cmovne %rdx,%rbp
  13:   48 85 ff                test   %rdi,%rdi
  16:   74 10                   je     0x28
  18:   48 89 ee                mov    %rbp,%rsi
  1b:   e8 8d d3 ff ff          callq  0xffffffffffffd3ad
  20:   85 c0                   test   %eax,%eax
  22:   0f 8e c5 00 00 00       jle    0xed
  28:   48 89 eb                mov    %rbp,%rbx
  2b:*  49 8b bd b8 00 00 00    mov    0xb8(%r13),%rdi     <-- trapping instruction
  32:   48 85 ff                test   %rdi,%rdi
  35:   74 10                   je     0x47
  37:   48 89 ee                mov    %rbp,%rsi
  3a:   e8 6e d3 ff ff          callq  0xffffffffffffd3ad
  3f:   85                      .byte 0x85

Code starting with the faulting instruction
===========================================
   0:   49 8b bd b8 00 00 00    mov    0xb8(%r13),%rdi
   7:   48 85 ff                test   %rdi,%rdi
   a:   74 10                   je     0x1c
   c:   48 89 ee                mov    %rbp,%rsi
   f:   e8 6e d3 ff ff          callq  0xffffffffffffd382
  14:   85                      .byte 0x85


and %r13 contains 00000000019129c0 in the register snapshot. Hmm...

> Serial console is no option, but this "netconsole"-thing looks
> promising. I'll set that up and try to catch the next one with this.

That'll help. Also let me make sure: Is this a vanilla kernel or are
there any distribution patches on top of it? I see it says 2.6.34-gentoo
but just in case. If it is not a vanilla kernel please try a vanilla one
from kernel.org.

Also, please send the whole dmesg of the system, there might be
something suspicious there and also the output of 'cat /proc/cpuinfo'
and 'dmidecode', the last one run as root.

Thanks.

-- 
Regards/Gruss,
    Boris.

  reply	other threads:[~2010-05-23 21:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-23 16:29 BUG: unable to handle kernel paging request Markus
2010-05-23 18:38 ` Borislav Petkov
2010-05-23 20:44   ` Markus
2010-05-23 21:17     ` Borislav Petkov [this message]
2010-05-23 21:48       ` Markus
2010-05-24 11:44       ` Markus
2010-05-25 13:09       ` Markus
2010-05-25 14:31         ` Borislav Petkov
2010-05-25 14:54           ` Markus
  -- strict thread matches above, loose matches on Subject: below --
2011-03-27  9:16 Anca Emanuel
2011-03-27 15:37 ` Linus Torvalds
2011-03-27 16:00   ` Américo Wang
2011-03-27 17:44     ` Anca Emanuel
2011-03-27 17:52     ` Stephen Wilson
2010-05-31  1:24 Thomas Fjellstrom
2008-05-05 22:33 thomas
2008-05-07  6:55 ` Andrew Morton

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=20100523211717.GD1408@liondog.tnic \
    --to=bp@alien8.de \
    --cc=M4rkusXXL@web.de \
    --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;
as well as URLs for NNTP newsgroup(s).