From: "Ky Srinivasan" <ksrinivasan@novell.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>,
xen-devel <xen-devel@lists.xensource.com>,
Ryan Harper <ryanh@us.ibm.com>
Subject: Re: Re: [PATCH] SMP dom0 boot fix
Date: Fri, 28 Oct 2005 11:27:10 -0600 [thread overview]
Message-ID: <4362272C.E57C.0030.0@novell.com> (raw)
In-Reply-To: <537fa3b9fb43e4581f282edb2ced8627@cl.cam.ac.uk>
Thanks Kier. With this fix applied, I am able to boot SMP dom0. The box
I am testing on is x86_64 machine with two hardware threads. However, if
I turn on SMT in the Linux configuration, the kernel takes a fault in
early startup (a NULL pointer reference at find_busiest_group +144). It
appears that the sched domain hierarchy is not correctly set up here.
Looking at the new smpboot.c, is turning on SMT support no longer
valid?
K. Y
>>> Keir Fraser <Keir.Fraser@cl.cam.ac.uk> 10/28/05 11:45 am >>>
On 28 Oct 2005, at 16:15, Keir Fraser wrote:
>
> On 28 Oct 2005, at 15:59, Ryan Harper wrote:
>
>> At this point send_IPI_allbutself() has been invoked and the system
>> just sits and waits on CPU1 to run the function. But, CPU1's
>> evtchn_upcall_mask was set (1), so I'm guessing the pending
interrupt
>> is never acknowledged.
>
> Okay, the good news is that's the same bug I was able to repro last
> week. Turns out that CPU1's upcall mask is getting weirdly set under
> its feet. Since it's waiting on the big kernel lock, which is held by
> CPU0, which is waiting for acknowledgement of an interrupt in CPU1,
we
> have a deadlock.
>
> Given the problem is in that one changeset, this can't be hard to
> track down now.
Now fixed in our staging tree. sizeof_vcpu_shift in
arch/xen/x86_64/xen_entry.S should be 4, not 3.
-- Keir
_______________________________________________
Xen- devel mailing list
Xen- devel@lists.xensource.com
http://lists.xensource.com/xen- devel
next prev parent reply other threads:[~2005-10-28 17:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-28 1:05 [PATCH] SMP dom0 boot fix Kamble, Nitin A
2005-10-28 7:31 ` Keir Fraser
2005-10-28 14:59 ` Ryan Harper
2005-10-28 15:15 ` Keir Fraser
2005-10-28 15:45 ` Keir Fraser
2005-10-28 16:07 ` Ryan Harper
2005-10-28 17:27 ` Ky Srinivasan [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-10-28 14:34 Puthiyaparambil, Aravindh
2005-10-28 17:13 Kamble, Nitin A
2005-10-28 23:52 Ian Pratt
2005-10-31 18:32 ` Ky Srinivasan
2005-10-31 18:32 ` Ky Srinivasan
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=4362272C.E57C.0030.0@novell.com \
--to=ksrinivasan@novell.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=m+Ian.Pratt@cl.cam.ac.uk \
--cc=ryanh@us.ibm.com \
--cc=xen-devel@lists.xensource.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 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.