From: Srinivasa Ds <srinivasa@in.ibm.com>
To: "Siddha, Suresh B" <suresh.b.siddha@intel.com>,
ashok.raj@intel, linux-kernel@vger.kernel.org,
Ingo Molnar <mingo@elte.hu>,
mingo@redhat.com
Subject: [Need Help] Cpuhotplug operations on 32-bit mode of xeon-64bit processor crashes the system.
Date: Mon, 22 Jan 2007 13:42:48 +0530 [thread overview]
Message-ID: <45B47200.6030908@in.ibm.com> (raw)
I saw cpuhotplug operations on 32-bit mode of xeon-64bit processors
crashing the system. This happens on latest 2.6.20-rc5 kernel also. Same
(i386 cpuhotplug code) runs fine on xeon-32bit processors.
Steps to reproduce.
====================
echo 0 > /sys/devices/system/cpu/cpu6/online
echo 1 > /sys/devices/system/cpu/cpu6/online
================================
dmesg shows.
==============
Breaking affinity for irq 4
cpu_mask_to_apicid: Not a valid mask!
CPU 6 is now offline
=======================
On debugging the problem, I found that problem is not in cpuhotplug code
but in apic part. Execution of "stale" IPI's by onlined cpus(which we
offlined earlier) is causing the crash. Now we need to debug,why IPI's
are reaching the offlined cpu's too.
1) During the calculation of apicid's, if cpu to which IPI has to
deliver is not in
same apic cluster,it prints "Not a valid mask" error and returns "0xFF"
which means broadcast the IPI's to all cpus(which are offlined too) and
hence the problem.
2) I booted the system with maxcpus=2 boot parameter, and tried cpu
hotplugging on it.
but still problem recreates(I think there is no concept of apic clusters
if there are only 2 cpus). Hence it makes me to conclude that problem is
in delivery of IPI's.
So Iam completely stuck here. Iam not able to move forward in debugging.
So could someone(may be intel folks) please throw some light on this.
Thanks in advance
Srinivasa DS
LTC-IBM
next reply other threads:[~2007-01-22 7:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-22 8:12 Srinivasa Ds [this message]
2007-01-31 0:30 ` [Need Help] Cpuhotplug operations on 32-bit mode of xeon-64bit processor crashes the system Siddha, Suresh B
2007-01-31 4:51 ` Srinivasa DS
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=45B47200.6030908@in.ibm.com \
--to=srinivasa@in.ibm.com \
--cc=ashok.raj@intel \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mingo@redhat.com \
--cc=suresh.b.siddha@intel.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