All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>,
	LKML <linux-kernel@vger.kernel.org>,
	the arch/x86 maintainers <x86@kernel.org>
Subject: Re: recent -git: BUG in free_thread_xstate
Date: Fri, 8 Aug 2008 13:40:50 -0700	[thread overview]
Message-ID: <20080808204050.GJ6760@linux.vnet.ibm.com> (raw)
In-Reply-To: <19f34abd0808081146w22a3e5casd0d1fa15f2384000@mail.gmail.com>

On Fri, Aug 08, 2008 at 08:46:21PM +0200, Vegard Nossum wrote:
> On Fri, Aug 1, 2008 at 11:10 PM, Paul E. McKenney
> <paulmck@linux.vnet.ibm.com> wrote:
> > On Wed, Jul 23, 2008 at 01:31:09PM -0700, Suresh Siddha wrote:
> >> On Wed, Jul 23, 2008 at 01:07:04PM -0700, Vegard Nossum wrote:
> >> > Hi,
> >> >
> >> > I just got this on c010b2f76c3032e48097a6eef291d8593d5d79a6 (-git from
> >> > yesterday):
> >>
> >> Do you see this in 2.6.26 aswell? I suspect it is coming from post 2.6.26
> >> changes.
> >>
> >> >
> >> > BUG: unable to handle kernel paging request at 00664381
> >> > IP: [<c010b274>] free_thread_xstate+0x4/0x30
> >> ...
> >>
> >> > EIP is at arch/x86/kernel/process.c:36:
> >> >
> >> >         if (tsk->thread.xstate) {
> >> >
> >>
> >> It looks like the kernel stack of that process got corrupted, corrupting the
> >> task pointer in thread_info. Can you send us your config file?
> >
> > I would also like to see the config file.
> 
> Hi,
> 
> I'm sorry for the late reply.
> 
> I copied you because I saw some RCU entry in the stack trace, but it
> is almost definitely not a problem with (core or "leaf") RCU code.
> Sometimes it also happens that people will say "oh, I recognize this
> problem, the patch has been posted here and here", etc.
> 
> It seems to be a problem with either netpoll, netconsole, or the
> 8139too driver. I find a UDP packet in the task_struct slab, and the
> stacktrace with RCU entries come from unrelated, unfortunate callbacks
> that stumbled upon the corruption.
> 
> My config, if you are still interested, can be found here:
> http://userweb.kernel.org/~vegard/bugs/20080724-fork/config
> 
> I don't know if the problem persists with the latest -git, it is now a
> while since I last tested, but I've checked kernels back to 2.6.20, so
> the problem has existed for a long time.

Well, the config shows preemptable RCU, which was my concern at the time,
but there was certainly no preemptable RCU in mainline in 2.6.20, so...

There -was- a bug in 2.6.26 release candidates that would cause RCU
to fail badly on !HOTPLUG_CPU builds due to a failure to initialize,
but that is fixed in 2.6.26 (thank you, Nick!!!).

							Thanx, Paul

      reply	other threads:[~2008-08-08 20:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-23 20:07 recent -git: BUG in free_thread_xstate Vegard Nossum
2008-07-23 20:23 ` Vegard Nossum
2008-07-23 20:28   ` Vegard Nossum
2008-07-23 21:35     ` Vegard Nossum
2008-07-23 20:31 ` Suresh Siddha
2008-07-23 20:39   ` Vegard Nossum
2008-07-23 20:52   ` Vegard Nossum
2008-07-23 21:22     ` Dmitry Adamushko
2008-07-23 21:35       ` Dmitry Adamushko
2008-07-23 21:45         ` Vegard Nossum
2008-07-23 22:01           ` Dmitry Adamushko
2008-07-23 22:05             ` Vegard Nossum
2008-07-23 22:45               ` Vegard Nossum
2008-07-23 22:50                 ` Vegard Nossum
2008-07-23 23:20                   ` Vegard Nossum
2008-07-23 23:53                     ` Matt Mackall
2008-07-24  0:02                       ` Vegard Nossum
2008-07-23 21:22   ` Vegard Nossum
2008-07-23 22:42     ` Max Krasnyansky
2008-08-01 21:10   ` Paul E. McKenney
2008-08-08 18:46     ` Vegard Nossum
2008-08-08 20:40       ` Paul E. McKenney [this message]

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=20080808204050.GJ6760@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=suresh.b.siddha@intel.com \
    --cc=vegard.nossum@gmail.com \
    --cc=x86@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.