116178: regressions - FAIL
flight 116178 xen-unstable real [real]
http://logs.test-lab.xenproject.org/osstest/logs/116178/
Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-armhf-armhf-libvirt-raw 15 guest-start/debian.repeat fail REGR. vs. 116161
Tests which did not succeed, but are not blocking:
test-armhf-armhf-libvirt-xsm 14 saverestore-support-check fail like 116161 test-armhf-armhf-libvirt 14 saverestore-support-check fail like 116161 test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-localmigrate/x10 fail like 116161 test-amd64-i386-xl-qemuu-ws16-amd64 17 guest-stop fail like 116161 test-amd64-i386-xl-qemut-win7-amd64 17 guest-stop fail like 116161 test-amd64-amd64-xl-qemut-win7-amd64 16 guest-localmigrate/x10 fail like 116161 test-amd64-i386-xl-qemuu-win7-amd64 17 guest-stop fail like 116161 test-armhf-armhf-libvirt-raw 13 saverestore-support-check fail like 116161 test-amd64-amd64-xl-qemuu-ws16-amd64 17 guest-stop fail like 116161 test-amd64-amd64-xl-qemut-ws16-amd64 17 guest-stop fail like 116161 test-amd64-amd64-xl-pvhv2-intel 12 guest-start fail never pass test-amd64-amd64-xl-pvhv2-amd 12 guest-start fail never pass test-amd64-i386-libvirt-xsm 13 migrate-support-check fail never pass test-amd64-amd64-libvirt-xsm 13 migrate-support-check fail never pass test-amd64-amd64-libvirt 13 migrate-support-check fail never pass test-amd64-i386-libvirt 13 migrate-support-check fail never pass test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 11 migrate-support-check fail never pass test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 11 migrate-support-check fail never pass test-armhf-armhf-xl-arndale 13 migrate-support-check fail never pass test-amd64-i386-libvirt-qcow2 12 migrate-support-check fail never pass test-armhf-armhf-xl-arndale 14 saverestore-support-check fail never pass test-amd64-amd64-libvirt-vhd 12 migrate-support-check fail never pass test-amd64-amd64-qemuu-nested-amd 17 debian-hvm-install/l1/l2 fail never pass test-armhf-armhf-xl-credit2 13 migrate-support-check fail never pass test-armhf-armhf-xl-credit2 14 saverestore-support-check fail never pass test-armhf-armhf-xl-xsm 13 migrate-support-check fail never pass test-armhf-armhf-xl-xsm 14 saverestore-support-check fail never pass test-armhf-armhf-libvirt-xsm 13 migrate-support-check fail never pass test-armhf-armhf-libvirt 13 migrate-support-check fail never pass test-armhf-armhf-xl-multivcpu 13 migrate-support-check fail never pass test-armhf-armhf-xl-multivcpu 14 saverestore-support-check fail never pass test-armhf-armhf-xl-cubietruck 13 migrate-support-check fail never pass test-armhf-armhf-xl-cubietruck 14 saverestore-support-check fail never pass test-armhf-armhf-xl 13 migrate-support-check fail never pass test-armhf-armhf-xl 14 saverestore-support-check fail never pass test-armhf-armhf-xl-vhd 12 migrate-support-check fail never pass test-armhf-armhf-xl-vhd 13 saverestore-support-check fail never pass test-armhf-armhf-xl-rtds 13 migrate-support-check fail never pass test-armhf-armhf-xl-rtds 14 saverestore-support-check fail never pass test-amd64-i386-xl-qemut-ws16-amd64 17 guest-stop fail never pass test-armhf-armhf-libvirt-raw 12 migrate-support-check fail never pass test-amd64-i386-xl-qemut-win10-i386 10 windows-install fail never pass test-amd64-amd64-xl-qemuu-win10-i386 10 windows-install fail never pass test-amd64-i386-xl-qemuu-win10-i386 10 windows-install fail never pass test-amd64-amd64-xl-qemut-win10-i386 10 windows-install fail never pass
version targeted for testing:
xen b9ee1fd7b98064cf27d0f8f1adf1f5359b72c97f
baseline version:
xen 36c80e29e36eee02f20f18e7f32267442b18c8bd
Last test of basis 116161 2017-11-14 16:48:27 Z 0 days Testing same since 116178 2017-11-15 00:51:31 Z 0 days 1 attempts
------------------------------------------------------------
People who touched revisions under test:
Eric Chanudet <[email protected]>
Min He <[email protected]>
Yi Zhang <[email protected]>
Yu Zhang <[email protected]>
jobs:
build-amd64-xsm pass build-armhf-xsm pass build-i386-xsm pass build-amd64-xtf pass build-amd64 pass build-armhf pass build-i386 pass build-amd64-libvirt pass build-armhf-libvirt pass build-i386-libvirt pass build-amd64-prev pass build-i386-prev pass build-amd64-pvops pass build-armhf-pvops pass build-i386-pvops pass build-amd64-rumprun pass build-i386-rumprun pass test-xtf-amd64-amd64-1 pass test-xtf-amd64-amd64-2 pass test-xtf-amd64-amd64-3 pass test-xtf-amd64-amd64-4 pass test-xtf-amd64-amd64-5 pass test-amd64-amd64-xl pass test-armhf-armhf-xl pass test-amd64-i386-xl pass test-amd64-amd64-xl-qemut-debianhvm-amd64-xsm pass test-amd64-i386-xl-qemut-debianhvm-amd64-xsm pass test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm pass test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm pass test-amd64-amd64-xl-qemuu-debianhvm-amd64-xsm pass test-amd64-i386-xl-qemuu-debianhvm-amd64-xsm pass test-amd64-amd64-xl-qemut-stubdom-debianhvm-amd64-xsm pass test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm pass test-amd64-amd64-libvirt-xsm pass test-armhf-armhf-libvirt-xsm pass test-amd64-i386-libvirt-xsm pass test-amd64-amd64-xl-xsm pass test-armhf-armhf-xl-xsm pass test-amd64-i386-xl-xsm pass test-amd64-amd64-qemuu-nested-amd fail test-amd64-amd64-xl-pvhv2-amd fail test-amd64-i386-qemut-rhel6hvm-amd pass test-amd64-i386-qemuu-rhel6hvm-amd pass test-amd64-amd64-xl-qemut-debianhvm-amd64 pass test-amd64-i386-xl-qemut-debianhvm-amd64 pass test-amd64-amd64-xl-qemuu-debianhvm-amd64 pass test-amd64-i386-xl-qemuu-debianhvm-amd64 pass test-amd64-i386-freebsd10-amd64 pass test-amd64-amd64-xl-qemuu-ovmf-amd64 pass test-amd64-i386-xl-qemuu-ovmf-amd64 pass test-amd64-amd64-rumprun-amd64 pass test-amd64-amd64-xl-qemut-win7-amd64 fail test-amd64-i386-xl-qemut-win7-amd64 fail test-amd64-amd64-xl-qemuu-win7-amd64 fail test-amd64-i386-xl-qemuu-win7-amd64 fail test-amd64-amd64-xl-qemut-ws16-amd64 fail test-amd64-i386-xl-qemut-ws16-amd64 fail test-amd64-amd64-xl-qemuu-ws16-amd64 fail test-amd64-i386-xl-qemuu-ws16-amd64 fail test-armhf-armhf-xl-arndale pass test-amd64-amd64-xl-credit2 pass test-armhf-armhf-xl-credit2 pass test-armhf-armhf-xl-cubietruck pass test-amd64-amd64-examine pass test-armhf-armhf-examine pass test-amd64-i386-examine pass test-amd64-i386-freebsd10-i386 pass test-amd64-i386-rumprun-i386 pass test-amd64-amd64-xl-qemut-win10-i386 fail test-amd64-i386-xl-qemut-win10-i386 fail test-amd64-amd64-xl-qemuu-win10-i386 fail test-amd64-i386-xl-qemuu-win10-i386 fail test-amd64-amd64-qemuu-nested-intel pass test-amd64-amd64-xl-pvhv2-intel fail test-amd64-i386-qemut-rhel6hvm-intel pass test-amd64-i386-qemuu-rhel6hvm-intel pass test-amd64-amd64-libvirt pass test-armhf-armhf-libvirt pass test-amd64-i386-libvirt pass test-amd64-amd64-livepatch pass test-amd64-i386-livepatch pass test-amd64-amd64-migrupgrade pass test-amd64-i386-migrupgrade pass test-amd64-amd64-xl-multivcpu pass test-armhf-armhf-xl-multivcpu pass test-amd64-amd64-pair pass test-amd64-i386-pair pass test-amd64-amd64-libvirt-pair pass test-amd64-i386-libvirt-pair pass test-amd64-amd64-amd64-pvgrub pass test-amd64-amd64-i386-pvgrub pass test-amd64-amd64-pygrub pass test-amd64-i386-libvirt-qcow2 pass test-amd64-amd64-xl-qcow2 pass test-armhf-armhf-libvirt-raw fail test-amd64-i386-xl-raw pass test-amd64-amd64-xl-rtds pass test-armhf-armhf-xl-rtds pass test-amd64-amd64-libvirt-vhd pass test-armhf-armhf-xl-vhd pass
------------------------------------------------------------
sg-report-flight on osstest.test-lab.xenproject.org
logs: /home/logs/logs
images: /home/logs/images
Logs, config files, etc. are available at
http://logs.test-lab.xenproject.org/osstest/logs
Explanation of these reports, and of osstest in general, is at
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README.email;hb=master
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README;hb=master
Test harness code can be found at
http://xenbits.xen.org/gitweb?p=osstest.git;a=summary
Not pushing.
------------------------------------------------------------
commit b9ee1fd7b98064cf27d0f8f1adf1f5359b72c97f
Author: Yu Zhang <[email protected]> Date: Tue Nov 14 17:11:26 2017 +0100
x86/mm: fix race condition in modify_xen_mappings()
In modify_xen_mappings(), a L1/L2 page table shall be freed, if all entries of this page table are empty. Corresponding L2/L3 PTE will need be cleared in such scenario.
However, concurrent paging structure modifications on different CPUs may cause the L2/L3 PTEs to be already be cleared or set to reference a superpage.
Therefore the logic to enumerate the L1/L2 page table and to reset the corresponding L2/L3 PTE need to be protected with spinlock. And the _PAGE_PRESENT and _PAGE_PSE flags need be checked after the lock is obtained.
commit a5114662297ad03efc36b52ad365ffa05fb357b7
Author: Min He <[email protected]> Date: Tue Nov 14 17:10:56 2017 +0100
x86/mm: fix race conditions in map_pages_to_xen()
In map_pages_to_xen(), a L2 page table entry may be reset to point to a superpage, and its corresponding L1 page table need be freed in such scenario, when these L1 page table entries are mapping to consecutive page frames and having the same mapping flags.
However, variable pl1e is not protected by the lock before L1 page table is enumerated. A race condition may happen if this code path is invoked simultaneously on different CPUs.
For example, pl1e value on CPU0 may hold an obsolete value, pointing to a page which has just been freed on CPU1. Besides, before this page is reused, it will still be holding the old PTEs, referencing consecutive page frames. Consequently the free_xen_pagetable(l2e_to_l1e(ol2e)) will be triggered on CPU0, resulting the unexpected free of a normal page.
This patch fixes the above problem by protecting the pl1e with the lock.
Also, there're other potential race conditions. For instance, the L2/L3 entry may be modified concurrently on different CPUs, by routines such as map_pages_to_xen(), modify_xen_mappings() etc. To fix this, this patch will check the _PAGE_PRESENT and _PAGE_PSE flags, after the spinlock is obtained, for the corresponding L2/L3 entry.
commit 015d6738ddff4074668c1d4887bbffd507ed1a7f
Author: Eric Chanudet <[email protected]> Date: Tue Nov 14 17:09:50 2017 +0100
x86/hvm: do not register hpet mmio during s3 cycle
Do it once at domain creation (hpet_init).
Sleep -> Resume cycles will end up crashing an HVM guest with hpet as the sequence during resume takes the path:
-> hvm_s3_suspend
-> hpet_reset
-> hpet_deinit
-> hpet_init
-> register_mmio_handler
-> hvm_next_io_handler
register_mmio_handler will use a new io handler each time, until eventually it reaches NR_IO_HANDLERS, then hvm_next_io_handler calls domain_crash.
(qemu changes not included)
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Hi,
Quoted 8 lines · osstest service owner
flight 116178 xen-unstable real [real]
http://logs.test-lab.xenproject.org/osstest/logs/116178/Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-armhf-armhf-libvirt-raw 15 guest-start/debian.repeat fail REGR. vs. 116161
The kernel is hitting a BUG() in gnttab_batch_copy() (see stack trace). This seems to be because GNTTABOP_copy is failing. Looking at the serial log, this seems to happen time to time on the Arndale (not on the cubietruck) with different version of the kernel.
I have reported a similar error last year ([1]), and still have no clue why page-table translation might fail...
I am going to send a patch adding a bit more debug in the function doing the translation from the guest PA to the host PA. Hopefully, it might tell us a bit more what's going on.
Cheers,
[1] https://lists.xen.org/archives/html/xen-devel/2016-07/msg02571.htm
Nov 15 05:23:47.715172 [ 2156.529661] ------------[ cut here ]------------
Nov 15 05:24:04.483235 [ 2156.532899] kernel BUG at drivers/xen/grant-table.c:770!
Nov 15 05:24:04.491191 [ 2156.538281] Internal error: Oops - BUG: 0 [#1] SMP ARM
Nov 15 05:24:04.491233 [ 2156.543488] Modules linked in: xen_gntalloc snd_soc_i2s snd_soc_idma snd_soc_s3c_dma snd_soc_core snd_pcm_dmaengine snd_pcm wm8994_regulator snd_timer snd s5p_mfc wm8994 soundcore ac97_bus videobuf2_dma_contig videobuf2_memops pwm_samsung videobuf2_v4l2 videobuf2_core v4l2_common videodev media s5p_sss usb3503 rtc_s3c dwc3 dwc3_exynos clk_s2mps11 s5m8767 dw_mmc_exynos dw_mmc_pltfm dw_mmc phy_exynos5250_sata phy_exynos_usb2 ohci_exynos ehci_exynos phy_exynos5_usbdrd
Nov 15 05:24:04.531197 [ 2156.584721] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.20+ #1
Nov 15 05:24:04.539232 [ 2156.590793] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
Nov 15 05:24:04.547155 [ 2156.596957] task: c1207540 task.stack: c1200000
Nov 15 05:24:04.547179 [ 2156.601564] PC is at gnttab_batch_copy+0xd0/0xe4
Nov 15 05:24:04.555165 [ 2156.606246] LR is at gnttab_batch_copy+0x1c/0xe4
Nov 15 05:24:04.563145 [ 2156.610932] pc : [<c06dba3c>] lr : [<c06db988>] psr: a0000113
Nov 15 05:24:04.563169 [ 2156.610932] sp : c1201d98 ip : deadbeef fp : e160c000
Nov 15 05:24:04.571111 [ 2156.622563] r10: c1201e90 r9 : 00000040 r8 : 00000040
Nov 15 05:24:04.579105 [ 2156.627858] r7 : e160c000 r6 : 00000001 r5 : e1610e00 r4 : e160e6d8
Nov 15 05:24:04.587154 [ 2156.634453] r3 : e160e6d8 r2 : deadbeef r1 : deadbeef r0 : fffffff2
Nov 15 05:24:04.587189 [ 2156.641054] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Nov 15 05:24:04.595168 [ 2156.648256] Control: 10c5387d Table: 7684006a DAC: 00000051
Nov 15 05:24:04.603139 [ 2156.654072] Process swapper/0 (pid: 0, stack limit = 0xc1200220)
Nov 15 05:24:04.611224 [ 2156.660147] Stack: (0xc1201d98 to 0xc1202000)
Nov 15 05:24:04.611279 [ 2156.664574] 1d80: e160e6d8 00000000
Nov 15 05:24:04.619248 [ 2156.672824] 1da0: e1610e00 00000000 e160c000 c08b65a0 da3cb580 00000000 00000002 c039c1f8
Nov 15 05:24:04.627228 [ 2156.681080] 1dc0: c8c27db0 c039c85c 000f4240 00000000 c1201df4 e160e6d8 0e29ffbb 000001f6
Nov 15 05:24:04.635141 [ 2156.689314] 1de0: f26f65f2 20000193 00000000 c8c27d48 00000008 00000000 00000001 0000005f
Nov 15 05:24:04.643124 [ 2156.697561] 1e00: c8c27dfc 60000193 c8c27d48 c090be6c 000f4240 00000000 00000000 c0372be4
Nov 15 05:24:04.651211 [ 2156.705807] 1e20: c03103bc c058eec4 0002d51e c0752c50 c8c27d48 0f268479 00000001 e160c020
Nov 15 05:24:04.667186 [ 2156.714053] 1e40: e160c020 00000000 e160c000 00000040 00000040 c1201e90 192b8000 c08b9124
Nov 15 05:24:04.675174 [ 2156.722298] 1e60: e160c020 00000001 0002d520 0000012c c1202d00 c0a5586c 00000008 da3ce740
Nov 15 05:24:04.683182 [ 2156.730545] 1e80: c1116740 c131473e c1204f20 c1204f20 c1201e90 c1201e90 c1201e98 c1201e98
Nov 15 05:24:04.691270 [ 2156.738791] 1ea0: 00000000 00000000 00000003 c120208c c1200000 c1202080 00000100 c1202080
Nov 15 05:24:04.699158 [ 2156.747037] 1ec0: 40000003 c0348760 df003000 c11151a8 c1201ec8 c131b200 0000000a 0002d51f
Nov 15 05:24:04.707231 [ 2156.755282] 1ee0: c1202d00 00200100 d9808000 c1113e04 00000000 00000000 00000001 d9808000
Nov 15 05:24:04.715132 [ 2156.763529] 1f00: df003000 c11151a8 c12030a0 c0348b7c 00000095 c038aa74 c123f3c8 c1203440
Nov 15 05:24:04.723132 [ 2156.771785] 1f20: df00200c c1201f50 df002000 c0301754 c030928c c0309290 60000013 ffffffff
Nov 15 05:24:04.731168 [ 2156.780021] 1f40: c1201f84 00000000 c1200000 c030d10c 00000001 00000000 00000001 c031c520
Nov 15 05:24:04.739171 [ 2156.788266] 1f60: c1200000 c1203034 c1203098 00000001 00000000 00000000 c11151a8 c12030a0
Nov 15 05:24:04.747165 [ 2156.796513] 1f80: 192b8000 c1201fa0 c030928c c0309290 60000013 ffffffff 00000051 00000000
Nov 15 05:24:04.755233 [ 2156.804759] 1fa0: 00000000 c037d88c c1201fa8 c12387b1 00000000 ffffffff 00000000 c1000c5c
Nov 15 05:24:04.763183 [ 2156.813005] 1fc0: ffffffff ffffffff 00000000 c100068c 00000000 c10abe40 c1318ed4 c120301c
Nov 15 05:24:04.771237 [ 2156.821250] 1fe0: c10abe3c c12087e0 6020406a 410fc0f4 00000000 6020807c 00000000 00000000
Nov 15 05:24:04.779267 [ 2156.829511] [<c06dba3c>] (gnttab_batch_copy) from [<c08b65a0>] (xenvif_tx_action+0x80/0x738)
Nov 15 05:24:04.787225 [ 2156.838010] [<c08b65a0>] (xenvif_tx_action) from [<c08b9124>] (xenvif_poll+0x28/0x64)
Nov 15 05:24:04.795188 [ 2156.845908] [<c08b9124>] (xenvif_poll) from [<c0a5586c>] (net_rx_action+0x1e4/0x2d8)
Nov 15 05:24:04.803191 [ 2156.853717] [<c0a5586c>] (net_rx_action) from [<c0348760>] (__do_softirq+0xfc/0x218)
Nov 15 05:24:04.811217 [ 2156.861528] [<c0348760>] (__do_softirq) from [<c0348b7c>] (irq_exit+0xe4/0x140)
Nov 15 05:24:04.819157 [ 2156.868908] [<c0348b7c>] (irq_exit) from [<c038aa74>] (__handle_domain_irq+0x60/0xb4)
Nov 15 05:24:04.827160 [ 2156.876806] [<c038aa74>] (__handle_domain_irq) from [<c0301754>] (gic_handle_irq+0x48/0x8c)
Nov 15 05:24:04.835169 [ 2156.885223] [<c0301754>] (gic_handle_irq) from [<c030d10c>] (__irq_svc+0x6c/0x90)
Nov 15 05:24:04.843205 [ 2156.892771] Exception stack(0xc1201f50 to 0xc1201f98)
Nov 15 05:24:04.843240 [ 2156.897894] 1f40: 00000001 00000000 00000001 c031c520
Nov 15 05:24:04.859140 [ 2156.906141] 1f60: c1200000 c1203034 c1203098 00000001 00000000 00000000 c11151a8 c12030a0
Nov 15 05:24:04.867283 [ 2156.914387] 1f80: 192b8000 c1201fa0 c030928c c0309290 60000013 ffffffff
Nov 15 05:24:04.867324 [ 2156.921078] [<c030d10c>] (__irq_svc) from [<c0309290>] (arch_cpu_idle+0x38/0x3c)
Nov 15 05:24:04.875243 [ 2156.928542] [<c0309290>] (arch_cpu_idle) from [<c037d88c>] (cpu_startup_entry+0x194/0x218)
Nov 15 05:24:04.883200 [ 2156.936874] [<c037d88c>] (cpu_startup_entry) from [<c1000c5c>] (start_kernel+0x380/0x38c)
Nov 15 05:24:04.891277 [ 2156.945116] Code: e1c432b4 eaffffe0 e7f001f2 e8bd80f8 (e7f001f2)
Nov 15 05:24:04.899168 [ 2156.951298] ---[ end trace 766604e7ecb29bdc ]---
Nov 15 05:24:04.907166 [ 2156.955961] Kernel panic - not syncing: Fatal exception in interrupt
Nov 15 05:24:04.915143 [ 2156.962415] CPU1: stopping
Nov 15 05:24:04.915174 [ 2156.965166] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D 4.9.20+ #1
Nov 15 05:24:04.923290 [ 2156.972453] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
Nov 15 05:24:04.931162 [ 2156.978631] [<c0310f94>] (unwind_backtrace) from [<c030c574>] (show_stack+0x10/0x14)
Nov 15 05:24:04.939192 [ 2156.986436] [<c030c574>] (show_stack) from [<c0591068>] (dump_stack+0x98/0xac)
Nov 15 05:24:04.939219 [ 2156.993729] [<c0591068>] (dump_stack) from [<c030f688>] (handle_IPI+0x174/0x194)
Nov 15 05:24:04.947171 [ 2157.001192] [<c030f688>] (handle_IPI) from [<c0301794>] (gic_handle_irq+0x88/0x8c)
Nov 15 05:24:04.955151 [ 2157.008829] [<c0301794>] (gic_handle_irq) from [<c030d10c>] (__irq_svc+0x6c/0x90)
Nov 15 05:24:04.963147 [ 2157.016376] Exception stack(0xd98dbf88 to 0xd98dbfd0)
Nov 15 05:24:04.971150 [ 2157.021597] bf80: 00000001 00000000 00000001 c031c520 d98da000 c1203034
Nov 15 05:24:04.979206 [ 2157.029850] bfa0: c1203098 00000002 00000000 00000000 c11151a8 c12030a0 192c6000 d98dbfd8
Nov 15 05:24:04.987142 [ 2157.038093] bfc0: c030928c c0309290 600f0013 ffffffff
Nov 15 05:24:04.995142 [ 2157.043118] [<c030d10c>] (__irq_svc) from [<c0309290>] (arch_cpu_idle+0x38/0x3c)
Nov 15 05:24:05.003148 [ 2157.050584] [<c0309290>] (arch_cpu_idle) from [<c037d88c>] (cpu_startup_entry+0x194/0x218)
Nov 15 05:24:05.011218 [ 2157.058913] [<c037d88c>] (cpu_startup_entry) from [<60301c4c>] (0x60301c4c)
Nov 15 05:24:05.011257 [ 2157.066095] ---[ end Kernel panic - not syncing: Fatal exception in interrupt
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 16 lines · Julien Grall
Hi,
Quoted 8 lines · osstest service owner
flight 116178 xen-unstable real [real]
http://logs.test-lab.xenproject.org/osstest/logs/116178/Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-armhf-armhf-libvirt-raw 15 guest-start/debian.repeat fail REGR. vs. 116161The kernel is hitting a
BUG()ingnttab_batch_copy()(see stack trace). This seems to be becauseGNTTABOP_copyis failing. Looking at the serial log, this seems to happen time to time on the Arndale (not on the cubietruck) with different version of the kernel.
Quoted 6 lines
I have reported a similar error last year ([1]), and still have no clue why page-table translation might fail...
I am going to send a patch adding a bit more debug in the function doing the translation from the guest PA to the host PA. Hopefully, it might tell us a bit more what's going on.
We finally had a repro on the 1st of December with the patch applied (see log below).
From the log:
gvirt_to_maddr failed va=0xe1610e34 flags=0x1 par=0x80b
This is a stage-1 translation fault level 1, and it happens when trying to copy data to the guest (flags=1).
This is where it is get confusing, if I got it correct, GNTTABOP_copy will return -EFAULT only in 2 occasions:
1) If copying the operation from the guest fail
2) If copying the status to the guest fail
Is there any other place?
Based on the understanding above, we are in the second case. This would mean that the kernel is playing with its page-table in the middle which I would find surprising.
I had a look at the errata for A15 r0, and found nothing promising.
So I am out of ideas what's going on. Anyone one has a hint?
Cheers,
Dec 1 10:16:48.563092 (XEN) p2m.c:1434: d0v1: gvirt_to_maddr failed va=0xe1610e34 flags=0x1 par=0x80b Dec 1 10:16:51.579178 [ 2452.187462] ------------[ cut here ]------------^M Dec 1 10:16:51.587064 [ 2452.192116] kernel BUG at drivers/xen/grant-table.c:770!^M Dec 1 10:16:51.587104 [ 2452.197514] Internal error: Oops - BUG: 0 [#1] SMP ARM^M Dec 1 10:16:51.595084 [ 2452.202704] Modules linked in: xen_gntalloc wm8994_regulator s5p_mfc snd_soc_i2s snd_soc_idma snd_soc_s3c_dma videobuf2_dma_contig snd_soc_core videobuf2_memops videobuf2_v4l2 videobuf2_core snd_pcm_dmaengine snd_pcm snd_timer snd soundcore ac97_bus v4l2_common wm8994 videodev pwm_samsung rtc_s3c usb3503 media s5p_sss dwc3 dwc3_exynos clk_s2mps11 s5m8767 phy_exynos_usb2 dw_mmc_exynos dw_mmc_pltfm dw_mmc phy_exynos5250_sata ohci_exynos ehci_exynos phy_exynos5_usbdrd^M Dec 1 10:16:51.635119 [ 2452.243938] CPU: 1 PID: 4552 Comm: vif9.0-q1-guest Not tainted 4.9.66 #1^M Dec 1 10:16:51.643095 [ 2452.250719] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)^M Dec 1 10:16:51.651085 [ 2452.256868] task: d9e1bc80 task.stack: d69bc000^M Dec 1 10:16:51.651119 [ 2452.261475] PC is at gnttab_batch_copy+0xd0/0xe4^M Dec 1 10:16:51.659059 [ 2452.266156] LR is at gnttab_batch_copy+0x1c/0xe4^M Dec 1 10:16:51.659092 [ 2452.270843] pc : [<c06de490>] lr : [<c06de3dc>] psr: a00f0013^M Dec 1 10:16:51.667088 [ 2452.270843] sp : d69bded0 ip : deadbeef fp : d69bc000^M Dec 1 10:16:51.675079 [ 2452.282488] r10: e1610df0 r9 : d7bd5cc0 r8 : d69bdf38^M Dec 1 10:16:51.683123 [ 2452.287768] r7 : e1610cb8 r6 : 00000001 r5 : e1610cb8 r4 : e1610e10^M Dec 1 10:16:51.683164 [ 2452.294365] r3 : 00000000 r2 : deadbeef r1 : deadbeef r0 : fffffff2^M Dec 1 10:16:51.691074 [ 2452.300963] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none^M Dec 1 10:16:51.699074 [ 2452.308167] Control: 10c5387d Table: 79adc06a DAC: 00000051^M Dec 1 10:16:51.707071 [ 2452.313998] Process vif9.0-q1-guest (pid: 4552, stack limit = 0xd69bc220)^M Dec 1 10:16:51.715097 [ 2452.320839] Stack: (0xd69bded0 to 0xd69be000)^M Dec 1 10:16:51.715149 [ 2452.325268] dec0: 00000000 e1607cb8 e1610cb8 c1202d00^M Dec 1 10:16:51.723068 [ 2452.333515] dee0: e1610cb8 c08be66c 00000000 00000002 e1607cb8 c08bef1c d6a53e40 d6a53e40^M Dec 1 10:16:51.731086 [ 2452.341761] df00: 00000001 c08be824 e1607cb8 e1607cb8 e1610df0 c08bf038 c0367950 c037d248^M Dec 1 10:16:51.739118 [ 2452.350007] df20: c0b6ae54 192b8000 d99bfe58 00000000 d9e1bc80 c037d248 d69bdf38 d69bdf38^M Dec 1 10:16:51.747073 [ 2452.358263] df40: c08bef24 00000000 d76ac040 e1607cb8 c08bef24 00000000 00000000 00000000^M Dec 1 10:16:51.755076 [ 2452.366498] df60: 00000000 c035f810 c131ba84 00000000 00000001 e1607cb8 00000000 00000000^M Dec 1 10:16:51.763095 [ 2452.374744] df80: d69bdf80 d69bdf80 00000000 00000000 d69bdf90 d69bdf90 d69bdfac d76ac040^M Dec 1 10:16:51.771111 [ 2452.382990] dfa0: c035f714 00000000 00000000 c0308838 00000000 00000000 00000000 00000000^M Dec 1 10:16:51.779098 [ 2452.391247] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000^M Dec 1 10:16:51.787102 [ 2452.399482] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000^M Dec 1 10:16:51.803058 [ 2452.407736] [<c06de490>] (gnttab_batch_copy) from [<c08be66c>] (xenvif_rx_copy_flush+0x1c/0x12c)^M Dec 1 10:16:51.811047 [ 2452.416585] [<c08be66c>] (xenvif_rx_copy_flush) from [<c08bef1c>] (xenvif_rx_action+0x54/0x5c)^M Dec 1 10:16:51.819103 [ 2452.425264] [<c08bef1c>] (xenvif_rx_action) from [<c08bf038>] (xenvif_kthread_guest_rx+0x114/0x2a4)^M Dec 1 10:16:51.827149 [ 2452.434380] [<c08bf038>] (xenvif_kthread_guest_rx) from [<c035f810>] (kthread+0xfc/0x114)^M Dec 1 10:16:51.835236 [ 2452.442627] [<c035f810>] (kthread) from [<c0308838>] (ret_from_fork+0x14/0x3c)^M Dec 1 10:16:51.843187 [ 2452.449915] Code: e1c432b4 eaffffe0 e7f001f2 e8bd80f8 (e7f001f2) ^M Dec 1 10:16:51.851065 [ 2452.456080] ---[ end trace 69d872d84a71f07f ]---^M
Quoted 141 lines
Cheers,
[1] https://lists.xen.org/archives/html/xen-devel/2016-07/msg02571.htm
Nov 15 05:23:47.715172 [ 2156.529661] ------------[ cut here ]------------Nov 15 05:24:04.483235 [ 2156.532899] kernel BUG at drivers/xen/grant-table.c:770!Nov 15 05:24:04.491191 [ 2156.538281] Internal error: Oops - BUG: 0 [#1] SMP ARMNov 15 05:24:04.491233 [ 2156.543488] Modules linked in: xen_gntalloc snd_soc_i2s snd_soc_idma snd_soc_s3c_dma snd_soc_core snd_pcm_dmaengine snd_pcm wm8994_regulator snd_timer snd s5p_mfc wm8994 soundcore ac97_bus videobuf2_dma_contig videobuf2_memops pwm_samsung videobuf2_v4l2 videobuf2_core v4l2_common videodev media s5p_sss usb3503 rtc_s3c dwc3 dwc3_exynos clk_s2mps11 s5m8767 dw_mmc_exynos dw_mmc_pltfm dw_mmc phy_exynos5250_sata phy_exynos_usb2 ohci_exynos ehci_exynos phy_exynos5_usbdrdNov 15 05:24:04.531197 [ 2156.584721] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.20+ #1Nov 15 05:24:04.539232 [ 2156.590793] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)Nov 15 05:24:04.547155 [ 2156.596957] task: c1207540 task.stack: c1200000Nov 15 05:24:04.547179 [ 2156.601564] PC is at gnttab_batch_copy+0xd0/0xe4Nov 15 05:24:04.555165 [ 2156.606246] LR is at gnttab_batch_copy+0x1c/0xe4Nov 15 05:24:04.563145 [ 2156.610932] pc : [<c06dba3c>] lr : [<c06db988>] psr: a0000113Nov 15 05:24:04.563169 [ 2156.610932] sp : c1201d98 ip : deadbeef fp : e160c000Nov 15 05:24:04.571111 [ 2156.622563] r10: c1201e90 r9 : 00000040 r8 : 00000040Nov 15 05:24:04.579105 [ 2156.627858] r7 : e160c000 r6 : 00000001 r5 : e1610e00 r4 : e160e6d8Nov 15 05:24:04.587154 [ 2156.634453] r3 : e160e6d8 r2 : deadbeef r1 : deadbeef r0 : fffffff2Nov 15 05:24:04.587189 [ 2156.641054] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment noneNov 15 05:24:04.595168 [ 2156.648256] Control: 10c5387d Table: 7684006a DAC: 00000051Nov 15 05:24:04.603139 [ 2156.654072] Process swapper/0 (pid: 0, stack limit = 0xc1200220)Nov 15 05:24:04.611224 [ 2156.660147] Stack: (0xc1201d98 to 0xc1202000)Nov 15 05:24:04.611279 [ 2156.664574] 1d80: e160e6d8 00000000Nov 15 05:24:04.619248 [ 2156.672824] 1da0: e1610e00 00000000 e160c000 c08b65a0 da3cb580 00000000 00000002 c039c1f8Nov 15 05:24:04.627228 [ 2156.681080] 1dc0: c8c27db0 c039c85c 000f4240 00000000 c1201df4 e160e6d8 0e29ffbb 000001f6Nov 15 05:24:04.635141 [ 2156.689314] 1de0: f26f65f2 20000193 00000000 c8c27d48 00000008 00000000 00000001 0000005fNov 15 05:24:04.643124 [ 2156.697561] 1e00: c8c27dfc 60000193 c8c27d48 c090be6c 000f4240 00000000 00000000 c0372be4Nov 15 05:24:04.651211 [ 2156.705807] 1e20: c03103bc c058eec4 0002d51e c0752c50 c8c27d48 0f268479 00000001 e160c020Nov 15 05:24:04.667186 [ 2156.714053] 1e40: e160c020 00000000 e160c000 00000040 00000040 c1201e90 192b8000 c08b9124Nov 15 05:24:04.675174 [ 2156.722298] 1e60: e160c020 00000001 0002d520 0000012c c1202d00 c0a5586c 00000008 da3ce740Nov 15 05:24:04.683182 [ 2156.730545] 1e80: c1116740 c131473e c1204f20 c1204f20 c1201e90 c1201e90 c1201e98 c1201e98Nov 15 05:24:04.691270 [ 2156.738791] 1ea0: 00000000 00000000 00000003 c120208c c1200000 c1202080 00000100 c1202080Nov 15 05:24:04.699158 [ 2156.747037] 1ec0: 40000003 c0348760 df003000 c11151a8 c1201ec8 c131b200 0000000a 0002d51fNov 15 05:24:04.707231 [ 2156.755282] 1ee0: c1202d00 00200100 d9808000 c1113e04 00000000 00000000 00000001 d9808000Nov 15 05:24:04.715132 [ 2156.763529] 1f00: df003000 c11151a8 c12030a0 c0348b7c 00000095 c038aa74 c123f3c8 c1203440Nov 15 05:24:04.723132 [ 2156.771785] 1f20: df00200c c1201f50 df002000 c0301754 c030928c c0309290 60000013 ffffffffNov 15 05:24:04.731168 [ 2156.780021] 1f40: c1201f84 00000000 c1200000 c030d10c 00000001 00000000 00000001 c031c520Nov 15 05:24:04.739171 [ 2156.788266] 1f60: c1200000 c1203034 c1203098 00000001 00000000 00000000 c11151a8 c12030a0Nov 15 05:24:04.747165 [ 2156.796513] 1f80: 192b8000 c1201fa0 c030928c c0309290 60000013 ffffffff 00000051 00000000Nov 15 05:24:04.755233 [ 2156.804759] 1fa0: 00000000 c037d88c c1201fa8 c12387b1 00000000 ffffffff 00000000 c1000c5cNov 15 05:24:04.763183 [ 2156.813005] 1fc0: ffffffff ffffffff 00000000 c100068c 00000000 c10abe40 c1318ed4 c120301cNov 15 05:24:04.771237 [ 2156.821250] 1fe0: c10abe3c c12087e0 6020406a 410fc0f4 00000000 6020807c 00000000 00000000Nov 15 05:24:04.779267 [ 2156.829511] [<c06dba3c>] (gnttab_batch_copy) from [<c08b65a0>] (xenvif_tx_action+0x80/0x738)Nov 15 05:24:04.787225 [ 2156.838010] [<c08b65a0>] (xenvif_tx_action) from [<c08b9124>] (xenvif_poll+0x28/0x64)Nov 15 05:24:04.795188 [ 2156.845908] [<c08b9124>] (xenvif_poll) from [<c0a5586c>] (net_rx_action+0x1e4/0x2d8)Nov 15 05:24:04.803191 [ 2156.853717] [<c0a5586c>] (net_rx_action) from [<c0348760>] (__do_softirq+0xfc/0x218)Nov 15 05:24:04.811217 [ 2156.861528] [<c0348760>] (__do_softirq) from [<c0348b7c>] (irq_exit+0xe4/0x140)Nov 15 05:24:04.819157 [ 2156.868908] [<c0348b7c>] (irq_exit) from [<c038aa74>] (__handle_domain_irq+0x60/0xb4)Nov 15 05:24:04.827160 [ 2156.876806] [<c038aa74>] (__handle_domain_irq) from [<c0301754>] (gic_handle_irq+0x48/0x8c)Nov 15 05:24:04.835169 [ 2156.885223] [<c0301754>] (gic_handle_irq) from [<c030d10c>] (__irq_svc+0x6c/0x90)Nov 15 05:24:04.843205 [ 2156.892771] Exception stack(0xc1201f50 to 0xc1201f98)Nov 15 05:24:04.843240 [ 2156.897894] 1f40: 00000001 00000000 00000001 c031c520Nov 15 05:24:04.859140 [ 2156.906141] 1f60: c1200000 c1203034 c1203098 00000001 00000000 00000000 c11151a8 c12030a0Nov 15 05:24:04.867283 [ 2156.914387] 1f80: 192b8000 c1201fa0 c030928c c0309290 60000013 ffffffffNov 15 05:24:04.867324 [ 2156.921078] [<c030d10c>] (__irq_svc) from [<c0309290>] (arch_cpu_idle+0x38/0x3c)Nov 15 05:24:04.875243 [ 2156.928542] [<c0309290>] (arch_cpu_idle) from [<c037d88c>] (cpu_startup_entry+0x194/0x218)Nov 15 05:24:04.883200 [ 2156.936874] [<c037d88c>] (cpu_startup_entry) from [<c1000c5c>] (start_kernel+0x380/0x38c)Nov 15 05:24:04.891277 [ 2156.945116] Code: e1c432b4 eaffffe0 e7f001f2 e8bd80f8 (e7f001f2)Nov 15 05:24:04.899168 [ 2156.951298] ---[ end trace 766604e7ecb29bdc ]---Nov 15 05:24:04.907166 [ 2156.955961] Kernel panic - not syncing: Fatal exception in interruptNov 15 05:24:04.915143 [ 2156.962415] CPU1: stoppingNov 15 05:24:04.915174 [ 2156.965166] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D 4.9.20+ #1Nov 15 05:24:04.923290 [ 2156.972453] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)Nov 15 05:24:04.931162 [ 2156.978631] [<c0310f94>] (unwind_backtrace) from [<c030c574>] (show_stack+0x10/0x14)Nov 15 05:24:04.939192 [ 2156.986436] [<c030c574>] (show_stack) from [<c0591068>] (dump_stack+0x98/0xac)Nov 15 05:24:04.939219 [ 2156.993729] [<c0591068>] (dump_stack) from [<c030f688>] (handle_IPI+0x174/0x194)Nov 15 05:24:04.947171 [ 2157.001192] [<c030f688>] (handle_IPI) from [<c0301794>] (gic_handle_irq+0x88/0x8c)Nov 15 05:24:04.955151 [ 2157.008829] [<c0301794>] (gic_handle_irq) from [<c030d10c>] (__irq_svc+0x6c/0x90)Nov 15 05:24:04.963147 [ 2157.016376] Exception stack(0xd98dbf88 to 0xd98dbfd0)Nov 15 05:24:04.971150 [ 2157.021597] bf80: 00000001 00000000 00000001 c031c520 d98da000 c1203034Nov 15 05:24:04.979206 [ 2157.029850] bfa0: c1203098 00000002 00000000 00000000 c11151a8 c12030a0 192c6000 d98dbfd8Nov 15 05:24:04.987142 [ 2157.038093] bfc0: c030928c c0309290 600f0013 ffffffff
Quoted 9 lines
Nov 15 05:24:04.995142 [ 2157.043118] [<c030d10c>] (__irq_svc) from [<c0309290>] (arch_cpu_idle+0x38/0x3c)Nov 15 05:24:05.003148 [ 2157.050584] [<c0309290>] (arch_cpu_idle) from [<c037d88c>] (cpu_startup_entry+0x194/0x218)Nov 15 05:24:05.011218 [ 2157.058913] [<c037d88c>] (cpu_startup_entry) from [<60301c4c>] (0x60301c4c)Nov 15 05:24:05.011257 [ 2157.066095] ---[ end Kernel panic - not syncing: Fatal exception in interrupt
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel