xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: Michael Young <m.a.young@durham.ac.uk>, Adi Pircalabu <adi@ddns.com.au>
Cc: xen-devel@lists.xenproject.org
Subject: Re: kernel-ml-4.15.0-1.el7.elrepo.x86_64 doesn't boot as Xen PV domU
Date: Thu, 1 Feb 2018 08:25:36 +0100	[thread overview]
Message-ID: <622013c5-512d-1810-56fb-df21fafb8bc3@suse.com> (raw)
In-Reply-To: <alpine.LFD.2.21.1802010000420.2821@austen3.home>

On 01/02/18 01:17, Michael Young wrote:
> On Wed, 31 Jan 2018, Michael Young wrote:
> 
>> (XEN) Guest stack trace from rsp=ffffffff82203e20:
>> (XEN)    0000000000000000 0000000000000000 0000000000000000
>> ffffffff81036a89
>> (XEN)    000000010000e030 0000000000010092 ffffffff82203e68
>> 000000000000e02b
>> (XEN)    0000000000000000 0000000000000000 0000000000000000
>> 0000000000000000
> 
> I have just spotted this is truncated. The full Guest stack trace is
> 
> (XEN) Guest stack trace from rsp=ffffffff82203e20:
> (XEN)    0000000000000000 0000000000000000 0000000000000000
> ffffffff81036a89
> (XEN)    000000010000e030 0000000000010092 ffffffff82203e68
> 000000000000e02b
> (XEN)    0000000000000000 0000000000000000 0000000000000000
> 0000000000000000
> (XEN)    ffffffff823777e0 0000000000000000 0000000000000000
> 0000000000000000
> (XEN)    0000000000000000 0000000000000000 ffffffff823777e0
> ffffffff82203f08
> (XEN)    ffffffff82203f0c ffffffff82203f04 ffffffff82203f00
> ffffffff82203f1c
> (XEN)    ffffffff81037673 ffffffff82203f10 ffffffff82203f14
> ffffffff82203f18
> (XEN)    0000000000003024 0000000000000000 0000000080000008
> 0000000000000000
> (XEN)    ffffffff81029d10 0000000000000000 0000000000000000
> 0000000000000000
> (XEN)    0000000000000000 0000000000000000 ffffffff82727b49
> 0000000000000000
> (XEN)    0000000000000000 0000000000000000 0000000000000000
> 0000000000000000
> (XEN)    0000000000000000 0000000000000000 0000000000000000
> 0000000000000000
> (XEN)    0000000000000000 0000000000000000 0000000000000000
> 0000000000000000
> (XEN)    0000000000000000 0000000000000000 0000000000000000
> 0000000000000000
> (XEN)    0000000000000000 0000000000000000 0000000000000000
> 0000000000000000
> (XEN)    0f00000060c0c748 ccccccccccccc305 cccccccccccccccc
> cccccccccccccccc
> (XEN)    cccccccccccccccc cccccccccccccccc cccccccccccccccc
> cccccccccccccccc
> (XEN)    cccccccccccccccc cccccccccccccccc cccccccccccccccc
> cccccccccccccccc
> (XEN)    cccccccccccccccc cccccccccccccccc cccccccccccccccc
> cccccccccccccccc
> (XEN)    cccccccccccccccc cccccccccccccccc cccccccccccccccc
> cccccccccccccccc
> 
> Some addresses from this that look like they might be relevant are
> 0xffffffff82203e20 <init_thread_union+15904>:    add    %al,(%rax)
> 0xffffffff81036a89 <init_scattered_cpuid_features+41>:
>     mov    %gs:0x28,%rax

Hmm, my compiler doesn't generate this instruction here. OTOH it does so
in many other functions, but those seem to be called only later.

Seems as if it would be a good idea to setup the GDT and %gs segment as
early as possible.

I'll have a try how far we can move the call of xen_setup_gdt() up in
the boot process.


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

      reply	other threads:[~2018-02-01  7:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-31  0:18 kernel-ml-4.15.0-1.el7.elrepo.x86_64 doesn't boot as Xen PV domU Adi Pircalabu
2018-01-31 22:13 ` Michael Young
2018-02-01  0:17   ` Michael Young
2018-02-01  7:25     ` Juergen Gross [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=622013c5-512d-1810-56fb-df21fafb8bc3@suse.com \
    --to=jgross@suse.com \
    --cc=adi@ddns.com.au \
    --cc=m.a.young@durham.ac.uk \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).