Project

General

Profile

Actions

Bug #3605

open

Xen HVM hangs during boot if apix is enabled

Added by Yuri Pankov over 10 years ago. Updated about 5 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
driver - device drivers
Start date:
2013-03-02
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

Xen HVM hangs during boot on Citrix XenServer 6.1 (probably older versions have the same problem) if apix is enabled. With some debugging cruft added it looks like we hang in xs_talkv, but it could be a red herring:

[...]
Feb 13 14:32:09 deneb unix: pcplusmp: irq 0x9 vector 0x80 ioapic 0x1 intin 0x9 is bound to cpu 1
Feb 13 14:32:09 deneb unix: pcplusmp: pci5853,1.1 (xpv) instance 0 irq 0x1e vector 0x81 ioapic 0x1 intin 0x1e is bound to cpu 0
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:enter:num_vecs=2
Feb 13 14:32:09 deneb unix: NOTICE: msg0=control/shutdown
Feb 13 14:32:09 deneb unix: NOTICE: msg1=FFFFFFFFFC06E3A0
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:mutex_enter:before
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:mutex_enter:after
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:enter
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:mutex_enter:before
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:mutex_enter:after
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:interrupt
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:mutex_exit:before
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:mutex_exit:after
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:mutex_exit:before
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:mutex_exit:after
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:exit
Feb 13 14:32:09 deneb unix: PCI-device: pci5853,1@3, xpv0
Feb 13 14:32:09 deneb unix: xpv0 is /pci@0,0/pci5853,1@3
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:enter:num_vecs=2
Feb 13 14:32:09 deneb unix: NOTICE: msg0=guest/xpv/version
Feb 13 14:32:09 deneb unix: NOTICE: msg1=1
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:mutex_enter:before
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:mutex_enter:after
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:enter
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:mutex_enter:before
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:mutex_enter:after
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:interrupt
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:enter:num_vecs=1
Feb 13 14:32:09 deneb unix: NOTICE: msg0=
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:mutex_enter:before                            <-- vm locks up after this line when apix is used
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:mutex_exit:before
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:mutex_exit:after
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:mutex_exit:before
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:mutex_exit:after
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:exit
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:enter:num_vecs=2
Feb 13 14:32:09 deneb unix: NOTICE: msg0=guest/xpvd/version
Feb 13 14:32:09 deneb unix: NOTICE: msg1=1
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:mutex_enter:before
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:mutex_enter:after
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:enter
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:mutex_enter:before
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:mutex_enter:after
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:interrupt
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:mutex_exit:before
Feb 13 14:32:09 deneb unix: NOTICE: read_reply:mutex_exit:after
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:mutex_exit:before
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:mutex_exit:after
Feb 13 14:32:09 deneb unix: NOTICE: xs_talkv:exit
[...]

Workaround is to enable_apix=0.


Related issues

Related to illumos gate - Bug #8079: temporarily disable apix module on Xen HVM platformClosedYuri Pankov2017-04-17

Actions
Has duplicate illumos gate - Bug #8053: illumos won't boot on Xen 4.8 HVM in DomU because o APICClosed2017-04-10

Actions
Actions #1

Updated by Yuri Pankov over 6 years ago

  • Related to Bug #8079: temporarily disable apix module on Xen HVM platform added
Actions #2

Updated by Michal Nowak over 6 years ago

  • Has duplicate Bug #8053: illumos won't boot on Xen 4.8 HVM in DomU because o APIC added
Actions #3

Updated by Yuri Pankov over 5 years ago

  • Category changed from kernel to driver - device drivers
  • Status changed from New to In Progress
  • Assignee set to Yuri Pankov
  • % Done changed from 0 to 50
  • Difficulty changed from Medium to Bite-size
  • Tags deleted (needs-triage)
Actions #4

Updated by Yuri Pankov about 5 years ago

  • Assignee deleted (Yuri Pankov)
  • % Done changed from 50 to 0
Actions

Also available in: Atom PDF