From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Sander Eikelenboom <linux@eikelenboom.it>,
David Vrabel <david.vrabel@citrix.com>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: xen-unstable + 4.1.0-rc1: Dom0 kernel stalls in early boot
Date: Mon, 27 Apr 2015 16:15:04 -0400 [thread overview]
Message-ID: <553E98C8.3080906@oracle.com> (raw)
In-Reply-To: <403653957.20150427174008@eikelenboom.it>
On 04/27/2015 11:40 AM, Sander Eikelenboom wrote:
> Monday, April 27, 2015, 4:55:06 PM, you wrote:
>
>> Hi David / Konrad,
>> Today i tried upgrading my dom0 kernel to 4.1-rc1, but it stalls in early boot.
>> Xen console was still reponsive so i dumped some info with the debug keys.
>> Serial log is attached.
>> The kernel boots fine on baremetal and my previous test kernel that was pulled
>> and compiled on 20150423 in the mergewindow boots fine (unfortunately my scripts
>> don't add an git commit version to the kernel name yet.
>> (but the 20150423 version has it's own issue when used as a PV guest kernel
>> with pci passthrough, pci-front can't connect somehow, which i was trying
>> to get at .. when i stumbled upon this one :-) ).
>> --
>> Sander
> Hrmm shoot, that even didn't need a full bisection
> (but i looked over it before sending the mails), tested by reverting
> this one commit, after that it boots fine:
>
> 61f01dd941ba9e06d2bf05994450ecc3d61b6b8b
> "x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue"
>
> Question is .. why does it boot on baremetal, but not under Xen ?
> (any ideas before getting this to LKML and x86 maintainers / Linus ?)
We shouldn't be loading __KERNEL_DS to stack segment in PV, which is
what this patch does.
The bug that this commit is trying to fix is not applicable to PV guests
in the first place (and even if it is it would have to be fixed in the
hypervisor) so we essentially need to avoid setting
X86_BUG_SYSRET_SS_ATTRS flag in CPU initialization code. I need to find
a good place to clear it early enough.
-boris
next prev parent reply other threads:[~2015-04-27 20:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-27 14:55 xen-unstable + 4.1.0-rc1: Dom0 kernel stalls in early boot Sander Eikelenboom
2015-04-27 14:57 ` Sander Eikelenboom
2015-04-27 15:40 ` Sander Eikelenboom
2015-04-27 20:15 ` Boris Ostrovsky [this message]
2015-04-27 21:45 ` Boris Ostrovsky
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=553E98C8.3080906@oracle.com \
--to=boris.ostrovsky@oracle.com \
--cc=david.vrabel@citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=linux@eikelenboom.it \
--cc=xen-devel@lists.xenproject.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.