public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Zachary Amsden <zach@vmware.com>
Cc: caglar@pardus.org.tr, linux-kernel@vger.kernel.org,
	Gerd Hoffmann <kraxel@suse.de>, john stultz <johnstul@us.ibm.com>
Subject: Re: [Opps] Invalid opcode
Date: Mon, 6 Nov 2006 00:33:05 +0100	[thread overview]
Message-ID: <200611060033.06100.ak@suse.de> (raw)
In-Reply-To: <454E7008.4020200@vmware.com>

On Monday 06 November 2006 00:13, Zachary Amsden wrote:
> S.Çağlar Onur wrote:
> > Hmm, Novell bugzilla seems has similiar issues, 
> > https://bugzilla.novell.com/show_bug.cgi?id=204647 and its duplicated ones 
> > gaves same or similiar panic outputs.
> >
> >   
> >> Previously we avoided converting i386 cpu bootup fully to the new state
> >> machine because it is very fragile, but it's possible that there
> >> is no other choice than to do it properly. Or maybe another kludge
> >> is possible.
> >>     
> 
> Yes, this is some kind of softirq race during init.

Yes, the callbacks run at the wrong time. Unlike modern architectures
i386 doesn't do callback cpu boot callback repeat, but boot all cpus then callback.

But the strange thing is that the BP hits it. Normally the new CPU
hit it because it tried to run a timer interrupt before the callback
ran and initialized all the per CPU state (this happened often
when dual core CPUs were first introduced for some reason)

In this case it looks like the AP managed to queue a tasklet before 
the cpu up callback runs.

I suppose we'll either need to convert i386 really over to standard
cpu_up() or add some additional spinlocks to stop the APs with interrupts
off before the callbacks start to run.

-Andi

  reply	other threads:[~2006-11-05 23:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-05 13:07 [Opps] Invalid opcode S.Çağlar Onur
2006-11-05 16:40 ` Andi Kleen
2006-11-05 17:17   ` S.Çağlar Onur
2006-11-05 17:25     ` Jan Engelhardt
2006-11-05 17:38       ` S.Çağlar Onur
2006-11-05 18:57     ` Andi Kleen
2006-11-05 19:51       ` S.Çağlar Onur
2006-11-05 23:13         ` Zachary Amsden
2006-11-05 23:33           ` Andi Kleen [this message]
2006-11-30  6:44     ` Fix for OpenSUSE kernel bug (was Re: [Opps] Invalid opcode) Zachary Amsden
2006-11-30 14:21       ` S.Çağlar Onur
2006-11-12  2:39   ` [Opps] Invalid opcode S.Çağlar Onur
2006-11-12  3:32     ` Andi Kleen
2006-11-13  4:20     ` Zachary Amsden
2006-11-13  5:31       ` Andi Kleen
2006-11-15 16:08       ` S.Çağlar Onur

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=200611060033.06100.ak@suse.de \
    --to=ak@suse.de \
    --cc=caglar@pardus.org.tr \
    --cc=johnstul@us.ibm.com \
    --cc=kraxel@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zach@vmware.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