All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chao Gao <chao.gao@intel.com>
To: "Roger Pau Monné" <roger.pau@citrix.com>
Cc: xen-devel@lists.xenproject.org, Paul Durrant <Paul.Durrant@citrix.com>
Subject: Re: an assertion triggered when running Xen on a HSW desktop
Date: Tue, 15 Jan 2019 17:11:59 +0800	[thread overview]
Message-ID: <20190115091158.GA5672@gao-cwp> (raw)
In-Reply-To: <20190115081825.qh6vxvy6bvqwqflb@mac>

On Tue, Jan 15, 2019 at 09:18:25AM +0100, Roger Pau Monné wrote:
>On Tue, Jan 15, 2019 at 04:04:40PM +0800, Chao Gao wrote:
>[...]
>> (XEN) Xen version 4.12-unstable (root@) (gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0) debug=y  Tue Jan 15 07:25:29 UTC 2019
>> (XEN) Latest ChangeSet: Mon Dec 17 09:22:59 2018 +0000 git:a5b0eb3636
>[...]
>> (XEN) *** Building a PVH Dom0 ***
>> (XEN) Assertion 'IS_ALIGNED(dfn_x(dfn), (1ul << page_order))' failed at iommu.c:323
>> (XEN) ----[ Xen-4.12-unstable  x86_64  debug=y   Tainted:  C   ]----
>> (XEN) CPU:    0
>> (XEN) RIP:    e008:[<ffff82d08025ccbc>] iommu_map+0xba/0x176
>> (XEN) RFLAGS: 0000000000010202   CONTEXT: hypervisor
>> (XEN) rax: 0000000000000000   rbx: 0000000000000007   rcx: 0000000000000003
>> (XEN) rdx: 000000000020f081   rsi: 0000000000000001   rdi: ffff830215242000
>> (XEN) rbp: ffff82d080497bb8   rsp: ffff82d080497b58   r8:  0000000000000000
>> (XEN) r9:  ffff82d080497bd4   r10: 0180000000000000   r11: 7fffffffffffffff
>> (XEN) r12: ffff830215242000   r13: 0000000000000000   r14: 0000000000000001
>> (XEN) r15: 0000000000000001   cr0: 000000008005003b   cr4: 00000000001526e0
>> (XEN) cr3: 00000000dbc8d000   cr2: 0000000000000000
>> (XEN) fsb: 0000000000000000   gsb: 0000000000000000   gss: 0000000000000000
>> (XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: 0000   cs: e008
>> (XEN) Xen code around <ffff82d08025ccbc> (iommu_map+0xba/0x176):
>> (XEN)  41 89 c5 e9 a2 00 00 00 <0f> 0b 0f 0b 41 89 c5 41 80 bc 24 c0 01 00 00 00
>> (XEN) Xen stack trace from rsp=ffff82d080497b58:
>> (XEN)    0000000000000020 0000000000000000 ffff82d080497ba8 ffff82d08023d489
>> (XEN)    0000000000000001 ffff82e0041e1000 ffff830215242000 ffff82e0041e1020
>> (XEN)    ffff830215242000 0000000000000000 0000000000000001 0000000000000001
>> (XEN)    ffff82d080497c08 ffff82d0804182d8 ffff82d080497c08 0000000100000000
>> (XEN)    000000000000009d 0000000000000000 0000000000000001 ffff82d080444c68
>> (XEN)    000000000020b43e ffff830215242000 ffff82d080497d58 ffff82d08043716c
>> (XEN)    ffff82d080497fff 0000000100000000 ffff82d08046cbc0 ffff83000009bf40
>> (XEN)    0000000001e33000 ffff83000009bf30 ffff830213525000 000000000010b43e
>> (XEN)    ffff82d00000000b 00000000000001f4 0000000000100000 0000001f15242000
>> (XEN)    00ff82d080497cb8 ffff82d08020a8e4 ffff82d0805cf02c ffff82d08048f740
>> (XEN)    0000000000000092 ffff82d08023dddb ffff82d080497fff ffff82d08048f740
>> (XEN)    ffff82d080497cc8 ffff82d08023de2e ffff82d080497ce8 ffff82d08024016b
>> (XEN)    ffff82d080497ce8 ffff82d08023de78 ffff82d080497d08 ffff82d080240205
>> (XEN)    ffff82d0805a3880 ffff82d0805a3880 ffff82d080497d48 ffff82d08023d489
>> (XEN)    ffff8302152e1550 ffff83000009bf30 0000000001e33000 ffff83000009bf30
>> (XEN)    0000000001e33000 ffff83000009bf40 ffff82d08046cbc0 ffff830215242000
>> (XEN)    ffff82d080497d98 ffff82d08043e53c ffff82d080497d98 ffff82d08046cbc0
>> (XEN)    ffff8302152e1550 0000000000000001 ffff82d0805d00d0 0000000000000008
>> (XEN)    ffff82d080497ee8 ffff82d08042d8ef 0000000000000000 0000000000000002
>> (XEN)    0000000000000002 0000000000000002 0000000000000002 0000000000000002
>> (XEN) Xen call trace:
>> (XEN)    [<ffff82d08025ccbc>] iommu_map+0xba/0x176
>> (XEN)    [<ffff82d0804182d8>] iommu_hwdom_init+0xef/0x220
>> (XEN)    [<ffff82d08043716c>] dom0_construct_pvh+0x189/0x129e
>> (XEN)    [<ffff82d08043e53c>] construct_dom0+0xd4/0xb14
>> (XEN)    [<ffff82d08042d8ef>] __start_xen+0x2710/0x2830
>> (XEN)    [<ffff82d0802000f3>] __high_start+0x53/0x55
>> (XEN) 
>> (XEN) 
>> (XEN) ****************************************
>> (XEN) Panic on CPU 0:
>> (XEN) Assertion 'IS_ALIGNED(dfn_x(dfn), (1ul << page_order))' failed at iommu.c:323
>> (XEN) ****************************************
>
>Oh, this was added by Paul quite recently. You seem to be using a
>rather old commit (a5b0eb3636), is there any reason for using such an
>old baseline?

I was using the master branch. Your patch below did fix this issue.

Thanks
Chao

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

  reply	other threads:[~2019-01-15  9:08 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-15  8:04 an assertion triggered when running Xen on a HSW desktop Chao Gao
2019-01-15  8:18 ` Roger Pau Monné
2019-01-15  9:11   ` Chao Gao [this message]
2019-01-15  9:44     ` Paul Durrant
2019-01-15 10:16       ` Jan Beulich
2019-01-15 10:27         ` Roger Pau Monné
2019-01-15 10:42           ` Andrew Cooper
2019-01-15 10:52             ` Jan Beulich
2019-01-15 10:55               ` Paul Durrant
2019-01-15 11:51                 ` Jan Beulich
2019-01-15 10:49           ` Jan Beulich
2019-01-15 11:07             ` Roger Pau Monné
2019-01-15 11:50               ` Jan Beulich
2019-01-15 11:59                 ` Andrew Cooper
2019-01-15  9:20   ` Paul Durrant

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=20190115091158.GA5672@gao-cwp \
    --to=chao.gao@intel.com \
    --cc=Paul.Durrant@citrix.com \
    --cc=roger.pau@citrix.com \
    --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.