From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?H=c3=a5kon_Alstadheim?= Subject: [BUG] Xen BUG at irq.c:1705 after [VT-D]d1:PCIe: unmap Date: Sat, 5 Mar 2016 13:22:44 +0100 Message-ID: <56DACF94.9080502@alstadheim.priv.no> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030500090401010200020805" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Xen Devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------030500090401010200020805 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit This has happened in 2 out of four recent shutdowns of a specific domU "garbo.hvm", domid=1. ------- domU specs (no tmem in cmdline arg to domU): ----- Linux garbo 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 garbo:~# cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=042054cf-2a70-46de-bd90-c712fbedbf81 ro intel_iommu=on 3 console=ttyS0 console=vga -------- serial log: (XEN) [2016-03-04 23:38:48] tmem: allocating persistent-private tmem pool for domid=3...<2>pool_id=0 (XEN) [2016-03-04 23:39:12] grant_table.c:1491:d2v1 Expanding dom (2) grant table from (5) to (6) frames. (XEN) [2016-03-04 23:40:28] [VT-D]d1:PCIe: unmap 0000:08:00.0 (XEN) [2016-03-04 23:40:28] [VT-D]d0:PCIe: map 0000:08:00.0 (XEN) [2016-03-04 23:40:30] tmem: flushing tmem pools for domid=1 (XEN) [2016-03-04 23:40:30] Destroying persistent-private tmem pool domid=1 pool_id=0 (XEN) [2016-03-04 23:40:30] Xen BUG at irq.c:1705 (XEN) [2016-03-04 23:40:30] ----[ Xen-4.6.1 x86_64 debug=y Tainted: C ]---- (XEN) [2016-03-04 23:40:30] CPU: 0 (XEN) [2016-03-04 23:40:30] RIP: e008:[] __pirq_guest_unbind+0x83/0x273 (XEN) [2016-03-04 23:40:30] RFLAGS: 0000000000010046 CONTEXT: hypervisor (d0v0) (XEN) [2016-03-04 23:40:30] rax: 0000000000000001 rbx: ffff8304caaee350 rcx: 0000000000000001 (XEN) [2016-03-04 23:40:30] rdx: ffff8304caaee398 rsi: ffff8304c0791e80 rdi: ffff8304caa6f000 (XEN) [2016-03-04 23:40:30] rbp: ffff83006e907c08 rsp: ffff83006e907bb8 r8: ffff83006e907c48 (XEN) [2016-03-04 23:40:30] r9: 0000000000000040 r10: ffff8304c0786010 r11: ffffffffffffffc0 (XEN) [2016-03-04 23:40:30] r12: ffff830839c01300 r13: ffff8304c0791e80 r14: ffff83006e907ca8 (XEN) [2016-03-04 23:40:30] r15: 0000000000000000 cr0: 0000000080050033 cr4: 00000000001526e0 (XEN) [2016-03-04 23:40:30] cr3: 00000004d3ac5000 cr2: 00007f1d1d38ca00 (XEN) [2016-03-04 23:40:30] ds: 0000 es: 0000 fs: 0000 gs: 0000 ss: e010 cs: e008 (XEN) [2016-03-04 23:40:30] Xen stack trace from rsp=ffff83006e907bb8: (XEN) [2016-03-04 23:40:30] ffff82d08012cf3e ffff830839c01300 ffff83006e907c08 ffff82d080170501 (XEN) [2016-03-04 23:40:30] 0000000000000206 ffff830839c01300 ffff8304c0791e80 ffff8304caa6f000 (XEN) [2016-03-04 23:40:30] ffff83006e907ca8 0000000000000000 ffff83006e907c38 ffff82d080170f0a (XEN) [2016-03-04 23:40:30] 0000000000000003 ffff8304c0791ea8 0000000000000008 ffff83006e907ca8 (XEN) [2016-03-04 23:40:30] ffff83006e907c78 ffff82d080149406 0000000000000018 0000000000000003 (XEN) [2016-03-04 23:40:30] 0000000000000013 0000000000000008 ffff83006e907ca8 0000000000000000 (XEN) [2016-03-04 23:40:30] ffff83006e907d18 ffff82d0801489e0 ffff8304caa6f100 0000000000000000 (XEN) [2016-03-04 23:40:30] ffff82d0801493e9 ffff8304caa6f000 ffff8304c0786f00 ffff83091583c080 (XEN) [2016-03-04 23:40:30] ffff83091583c180 ffff8304c0791e80 ffff83091583c280 ffff83091583c380 (XEN) [2016-03-04 23:40:30] ffff83091583c500 ffff83091583c600 0000000000000000 ffff8304caa6f000 (XEN) [2016-03-04 23:40:30] ffff8304caa6f0dc ffff8304caa6f000 ffff8304c0786240 00007f1d1e399004 (XEN) [2016-03-04 23:40:30] ffff83006e907d58 ffff82d08014aa43 ffff83083ff44108 ffff8304caa6f000 (XEN) [2016-03-04 23:40:30] ffff8304caa6f000 ffff880071f4cb00 0000000000305000 00007f1d1e399004 (XEN) [2016-03-04 23:40:30] ffff83006e907d78 ffff82d0801652e7 ffff8304caa6f000 ffff8304caa6f000 (XEN) [2016-03-04 23:40:30] ffff83006e907da8 ffff82d080106a6e ffff82d08012cfcb 0000000000000000 (XEN) [2016-03-04 23:40:30] ffff8304caa6f000 ffff880071f4cb00 ffff83006e907ef8 ffff82d080103bdb (XEN) [2016-03-04 23:40:30] 00000000000000e0 ffff830839c01300 ffff830839b0f000 ffff8304c074f400 (XEN) [2016-03-04 23:40:30] ffff83006e907df8 ffff82d08016a1c1 ffff83006e907df8 ffff82d08012cf72 (XEN) [2016-03-04 23:40:30] ffff83006e907e38 ffff82d080170811 ffff83006e6fb000 0000000000000100 (XEN) [2016-03-04 23:40:30] ffff83006e907e78 0000000000000046 ffff830839b0f100 00000000001526e0 (XEN) [2016-03-04 23:40:30] Xen call trace: (XEN) [2016-03-04 23:40:30] [] __pirq_guest_unbind+0x83/0x273 (XEN) [2016-03-04 23:40:30] [] pirq_guest_unbind+0x9e/0xd4 (XEN) [2016-03-04 23:40:30] [] pci_clean_dpci_irq+0x1d/0xc8 (XEN) [2016-03-04 23:40:30] [] pt_pirq_iterate+0xa6/0xe8 (XEN) [2016-03-04 23:40:30] [] pci_release_devices+0x6e/0x13f (XEN) [2016-03-04 23:40:30] [] domain_relinquish_resources+0x4d/0x2c2 (XEN) [2016-03-04 23:40:30] [] domain_kill+0x9e/0x13a (XEN) [2016-03-04 23:40:30] [] do_domctl+0xa42/0x1d3e (XEN) [2016-03-04 23:40:30] [] lstar_enter+0xe2/0x13c (XEN) [2016-03-04 23:40:30] (XEN) [2016-03-04 23:40:30] (XEN) [2016-03-04 23:40:30] **************************************** (XEN) [2016-03-04 23:40:30] Panic on CPU 0: (XEN) [2016-03-04 23:40:30] Xen BUG at irq.c:1705 (XEN) [2016-03-04 23:40:30] **************************************** (XEN) [2016-03-04 23:40:30] (XEN) [2016-03-04 23:40:30] Reboot in five seconds... ----------------------------------------------------------------------------------------------------------------- I do have qemu-dm logs for the domain, but I'm not certain which log goes with which run. Attaching what I THINK are correct. My timezone is GMT+1, xen seems to be at GMT, so qemu-dm with file-system timestamp Mar 5 00:40 ought to be right. --------------------------- Pci device info: # xl pci-list garbo.hvm Vdev Device 05.0 0000:08:00.0 # lspci -vv -s 0000:08:00.0 08:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03) Subsystem: ASUSTeK Computer Inc. I210 Gigabit Network Connection Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-