[BUG] Assertion '(sp == 0) || (peoi[sp-1].vector < vector)' failed at irq.c:1173

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[BUG] Assertion '(sp == 0) || (peoi[sp-1].vector < vector)' failed at irq.c:1173

Håkon Alstadheim
Getting crashes like the one below once in a while, shortly after boot,
on 4.10.0 rc*. What should I look for to debug? The box does have time
to create a VM or two before it happens. If all VMs are running
properly, it seems the assert will not be triggered at all.

It *may* be this only happens after warm restart, I tend to do a cold
boot when this is triggered, and I've never had them happen after that.

I'm reluctant to provoke this happening more than once in a while for
fear my raid will get out of sync (knock on wood), so I have not tested
my cold-boot theory extensively.

ALSO PASTED BELOW: xl info.

(side note: despite the last line there, the machine does not reboot
after 5 seconds ).

--------


(XEN) [2017-11-01 18:03:43] Assertion '(sp == 0) || (peoi[sp-1].vector <
vector)' failed at irq.c:1173
(XEN) [2017-11-01 18:03:43] ----[ Xen-4.10.0-rc  x86_64  debug=y   Not
tainted ]----
(XEN) [2017-11-01 18:03:43] CPU:    23
(XEN) [2017-11-01 18:03:43] RIP:    e008:[<ffff82d08027d968>]
do_IRQ+0x3ce/0x641
(XEN) [2017-11-01 18:03:43] RFLAGS: 0000000000010046   CONTEXT: hypervisor
(XEN) [2017-11-01 18:03:43] rax: ffff830879bbe4c0   rbx:
ffff830879c07000   rcx: 000000000000003d
(XEN) [2017-11-01 18:03:43] rdx: 000000000000003d   rsi:
0000000000000001   rdi: 0000000000000001
(XEN) [2017-11-01 18:03:43] rbp: ffff83107de57db8   rsp:
ffff83107de57d58   r8:  000000000000003d
(XEN) [2017-11-01 18:03:43] r9:  ffff83077438ab20   r10:
ffff83107de57d30   r11: 00008bca3e89eee8
(XEN) [2017-11-01 18:03:43] r12: ffff830d71832e40   r13:
000000000000003d   r14: 0000000000007000
(XEN) [2017-11-01 18:03:43] r15: 0000000000000070   cr0:
000000008005003b   cr4: 00000000001526e0
(XEN) [2017-11-01 18:03:43] cr3: 0000000070c16000   cr2: 00007f1b29ba67e0
(XEN) [2017-11-01 18:03:43] fsb: 0000000000000000   gsb:
0000000000000000   gss: 0000000000000000
(XEN) [2017-11-01 18:03:43] ds: 0000   es: 0000   fs: 0000   gs: 0000
ss: 0000   cs: e008
(XEN) [2017-11-01 18:03:43] Xen code around <ffff82d08027d968>
(do_IRQ+0x3ce/0x641):
(XEN) [2017-11-01 18:03:43]  44 80 ff 44 39 c1 77 02 <0f> 0b 81 ff be 00
00 00 7e 02 0f 0b 40 0f b6 ce
(XEN) [2017-11-01 18:03:43] Xen stack trace from rsp=ffff83107de57d58:
(XEN) [2017-11-01 18:03:43]    ffff82d000000000 ffff830879c07024
0000000000000000 0000007000000000
(XEN) [2017-11-01 18:03:43]    ffff830d71832d28 ffff83107de57dd0
ffff82d0802fa278 00008bca32280d16
(XEN) [2017-11-01 18:03:43]    0000000000000004 ffff830879bbd540
ffff830879bbd5f8 0000000000000008
(XEN) [2017-11-01 18:03:43]    00007cef821a8217 ffff82d080363ad7
0000000000000008 ffff830879bbd5f8
(XEN) [2017-11-01 18:03:43]    ffff830879bbd540 0000000000000004
ffff83107de57ee0 00008bca32280d16
(XEN) [2017-11-01 18:03:43]    00008bca3e89eee8 ffff83107de57d30
ffff83077438ab20 0000000000000f9e
(XEN) [2017-11-01 18:03:43]    ffff830879bbe02c 20c49ba5e353f7cf
ffff83107de57fff 0000000000007f3b
(XEN) [2017-11-01 18:03:43]    ffff830879bbd570 0000003d00000000
ffff82d0802d0914 000000000000e008
(XEN) [2017-11-01 18:03:43]    0000000000000202 ffff83107de57e70
0000000000000000 000000207de57e80
(XEN) [2017-11-01 18:03:43]    00008bca3222b220 ffff82d080932c00
ffffffffffffffff ffff83107de57fff
(XEN) [2017-11-01 18:03:43]    0000000000000000 0000000000000000
000003e00000033b 0000000000000017
(XEN) [2017-11-01 18:03:43]    0000000000000017 ffff82d08095f270
ffff82d080932c00 ffff83107de57fff
(XEN) [2017-11-01 18:03:43]    ffffffffffffffff ffff83107de57f10
ffff82d08026f948 ffff830075ff5000
(XEN) [2017-11-01 18:03:43]    ffff830879bbe180 ffff830075ff5000
00008bca2eaf1967 ffff83107de57e00
(XEN) [2017-11-01 18:03:43]    ffffffff81a563e0 0000000000000001
ffffffff81c895f0 ffff8802df49afd0
(XEN) [2017-11-01 18:03:43]    ffffc9000082b670 0000000000000001
0000000000000000 ffff8802d4800430
(XEN) [2017-11-01 18:03:43]    ffffc9000082b684 ffff8802d4800248
0000000000000000 0000000000000004
(XEN) [2017-11-01 18:03:43]    ffff8802df136540 deadbeefdeadf00d
deadbeefdeadf00d 0000beef0000beef
(XEN) [2017-11-01 18:03:43]    ffffffff81001408 000000bf0000beef
0000000000000206 ffffc9000082b668
(XEN) [2017-11-01 18:03:43]    000000000000beef 000000000000beef
000000000000beef 000000000000beef
(XEN) [2017-11-01 18:03:43] Xen call trace:
(XEN) [2017-11-01 18:03:43]    [<ffff82d08027d968>] do_IRQ+0x3ce/0x641
(XEN) [2017-11-01 18:03:43]    [<ffff82d080363ad7>]
common_interrupt+0x67/0x70
(XEN) [2017-11-01 18:03:43]    [<ffff82d0802d0914>]
mwait-idle.c#mwait_idle+0x2c1/0x30b
(XEN) [2017-11-01 18:03:43]    [<ffff82d08026f948>]
domain.c#idle_loop+0x9c/0xb3
(XEN) [2017-11-01 18:03:43]
(XEN) [2017-11-01 18:03:44]
(XEN) [2017-11-01 18:03:44] ****************************************
(XEN) [2017-11-01 18:03:44] Panic on CPU 23:
(XEN) [2017-11-01 18:03:44] Assertion '(sp == 0) || (peoi[sp-1].vector <
vector)' failed at irq.c:1173
(XEN) [2017-11-01 18:03:44] ****************************************
(XEN) [2017-11-01 18:03:44]
(XEN) [2017-11-01 18:03:44] Reboot in five seconds...
(XEN) [2017-11-01 18:03:44] [VT-D]iommu.c:1094: Set iommu interrupt
affinity error!
-----
# xl info
host                   : gentoo
release                : 4.13.10-gentoo
version                : #1 SMP Fri Oct 27 21:44:59 CEST 2017
machine                : x86_64
nr_cpus                : 24
max_cpu_id             : 23
nr_nodes               : 2
cores_per_socket       : 6
threads_per_core       : 2
cpu_mhz                : 2394
hw_caps                :
bfebfbff:77fef3ff:2c100800:00000021:00000001:000037ab:00000000:00000100
virt_caps              : hvm hvm_directio
total_memory           : 65379
free_memory            : 14611
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 10
xen_extra              : .0-rc
xen_version            : 4.10.0-rc
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          :
xen_commandline        : ssd-xen-noidle-marker-1 console_timestamps=date
loglvl=warn/warn guest_loglvl=warn/warn iommu=1,intpost,verbose,debug
iommu_inclusive_mapping=1 com1=57600,8n1 com2=57600,8n1 console=com2,vga
dom0_max_vcpus=8 dom0_vcpus_pin=1 dom0_mem=7G,max:7G
cpufreq=xen:performance,verbose sched_smt_power_savings=1
apic_verbosity=debug e820-verbose=1 core_parking=power nmi=dom0
gnttab_max_frames=256 vcpu_migration_delay=2000
cc_compiler            : gcc (Gentoo Hardened 5.4.0-r3 p1.4, pie-0.6.5)
5.4.0
cc_compile_by          : hakon
cc_compile_domain      : alstadheim.priv.no
cc_compile_date        : Wed Nov  1 16:46:12 CET 2017
build_id               : 54c1db6bf87f5fc781c6949a73899c13
xend_config_format     : 4
---end---

_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users