mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Vegard Nossum" <vegard.nossum@gmail.com>
To: "Ingo Molnar" <mingo@elte.hu>
Cc: "Yinghai Lu" <yhlu.kernel@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>,
	"Mike Travis" <travis@sgi.com>
Subject: Re: per-cpu related?
Date: Sun, 13 Jul 2008 12:46:51 +0200	[thread overview]
Message-ID: <19f34abd0807130346p58872bado5d7217fe85e74c1f@mail.gmail.com> (raw)
In-Reply-To: <20080713092613.GB12749@elte.hu>

On Sun, Jul 13, 2008 at 11:26 AM, Ingo Molnar <mingo@elte.hu> wrote:
> [    9.270000] BUG: unable to handle kernel paging request at ffff88080101c1f8
> [    9.270000] IP: [<ffffffff80230576>] dequeue_task+0x73/0xf0

[...]

> [    9.270000] RIP: 0010:[<ffffffff80230576>]  [<ffffffff80230576>] dequeue_task+0x73/0xf0
> [    9.270000] RSP: 0018:ffff88003f9b7420  EFLAGS: 00010046
> [    9.270000] RAX: ffff88000101c200 RBX: ffff88003f9b4000 RCX: ffffffff80db5d40
> [    9.270000] RDX: 00000000ffffffff RSI: ffff88003f9b6000 RDI: ffff880001026d40

I don't think this is per-cpu related.

It seems that task_thread_info(p)->cpu returns -1. This is the number
that is loaded into %rdx:

mov    0x1c(%rsi),%edx
mov    (%rax,%rdx,8),%rax <-- faulting instruction

You also had this:

[    9.270000] Thread overran stack, or stack corrupted

so it seems likely that your thread_info was corrupted as well.


Vegard

-- 
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
	-- E. W. Dijkstra, EWD1036

  reply	other threads:[~2008-07-13 10:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-13  8:16 Yinghai Lu
2008-07-13  9:26 ` Ingo Molnar
2008-07-13 10:46   ` Vegard Nossum [this message]
2008-07-13 11:55 ` Vegard Nossum
2008-07-13 18:34   ` Yinghai Lu
2008-07-13 18:55     ` Ingo Molnar
2008-07-13 21:01       ` Yinghai Lu
2008-07-13 21:04         ` Ingo Molnar
2008-07-13 22:20           ` Yinghai Lu

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=19f34abd0807130346p58872bado5d7217fe85e74c1f@mail.gmail.com \
    --to=vegard.nossum@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=travis@sgi.com \
    --cc=yhlu.kernel@gmail.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

all inboxes | Powered by JetHome®