Bug 1674254
| Summary: | kernel warning in epyc/ryzen nested virtualization | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Hetz Ben Hamo <hetz> |
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 29 | CC: | airlied, bskeggs, chris_db, dgilbert, hdegoede, ichavero, itamar, jarodwilson, jeremy, jglisse, john.j5live, jonathan, josef, kernel-maint, linville, mchehab, mjg59, steved |
| Target Milestone: | --- | Flags: | chris_db:
needinfo-
|
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-09-17 20:11:13 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Hetz Ben Hamo
2019-02-10 14:22:46 UTC
We apologize for the inconvenience. There is a large number of bugs to go through and several of them have gone stale. Due to this, we are doing a mass bug update across all of the Fedora 29 kernel bugs. Fedora XX has now been rebased to 5.0.6 Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel. If you have moved on to Fedora 30, and are still experiencing this issue, please change the version to Fedora 30. If you experience different issues, please open a new bug report for those. *********** MASS BUG UPDATE ************** This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 3 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously. I also get the same stack crash on Proxmox 6.2-1 with nested virtualization on AMD Ryzen. Linux version 5.4.34-1-pve (build@pve) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PVE 5.4.34-2 (Thu, 07 May 2020 10:02:02 +0200) () root@pve2:~# kvm --version QEMU emulator version 5.0.0 (pve-qemu-kvm_5.0.0) Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers Jun 2 05:11:45 pve2 kernel: [106043.123346] ------------[ cut here ]------------ Jun 2 05:11:45 pve2 kernel: [106043.123361] WARNING: CPU: 30 PID: 2113 at arch/x86/kvm/mmu.c:2237 nonpaging_update_pte+0x9/0x10 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123361] Modules linked in: veth(E) ebtable_filter(E) ebtables(E) ip_set(E) ip6table_raw(E) iptable_raw(E) ip6table_filter(E) ip6_tables(E) sctp(E) iptable_filter(E) bpfilter(E) softdog(E) nfnetlink_log(E) nfnetlink(E) edac_mce_amd(E) kvm_amd(E) kvm(E) zfs(POE) zunicode(POE) zlua(POE) zavl(POE) icp(POE) snd_hda_codec_realtek(E) snd_hda_codec_generic(E) ledtrig_audio(E) nouveau(E) crct10dif_pclmul(E) crc32_pclmul(E) snd_hda_intel(E) ghash_clmulni_intel(E) snd_intel_dspcfg(E) ttm(E) snd_hda_codec(E) drm_kms_helper(E) snd_hda_core(E) aesni_intel(E) drm(E) snd_hwdep(E) snd_pcm(E) fb_sys_fops(E) crypto_simd(E) syscopyarea(E) eeepc_wmi(E) joydev(E) sysfillrect(E) cryptd(E) snd_timer(E) sysimgblt(E) asus_wmi(E) glue_helper(E) input_leds(E) snd(E) sparse_keymap(E) video(E) pcspkr(E) soundcore(E) mxm_wmi(E) wmi_bmof(E) ccp(E) k10temp(E) mac_hid(E) zcommon(POE) znvpair(POE) spl(OE) vhost_net(E) vhost(E) tap(E) ib_iser(E) rdma_cm(E) iw_cm(E) ib_cm(E) sunrpc(E) ib_core(E) iscsi_tcp(E) Jun 2 05:11:45 pve2 kernel: [106043.123380] libiscsi_tcp(E) libiscsi(E) scsi_transport_iscsi(E) ip_tables(E) x_tables(E) autofs4(E) btrfs(E) xor(E) zstd_compress(E) raid6_pq(E) dm_thin_pool(E) dm_persistent_data(E) dm_bio_prison(E) dm_bufio(E) libcrc32c(E) hid_logitech_hidpp(E) hid_logitech_dj(E) usbmouse(E) usbkbd(E) hid_generic(E) usbhid(E) hid(E) i2c_piix4(E) qla2xxx(E) nvme_fc(E) nvme_fabrics(E) scsi_transport_fc(E) ahci(E) libahci(E) igb(E) i2c_algo_bit(E) dca(E) wmi(E) Jun 2 05:11:45 pve2 kernel: [106043.123390] CPU: 30 PID: 2113 Comm: kvm Tainted: P W OE 5.4.34-1-pve #1 Jun 2 05:11:45 pve2 kernel: [106043.123391] Hardware name: System manufacturer System Product Name/PRIME X570-PRO, BIOS 1407 04/02/2020 Jun 2 05:11:45 pve2 kernel: [106043.123400] RIP: 0010:nonpaging_update_pte+0x9/0x10 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123400] Code: 00 0f 1f 44 00 00 55 31 c0 48 89 e5 5d c3 0f 1f 00 0f 1f 44 00 00 55 48 89 e5 5d c3 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89 e5 <0f> 0b 5d c3 0f 1f 00 0f 1f 44 00 00 31 f6 48 8b 04 77 48 63 54 37 Jun 2 05:11:45 pve2 kernel: [106043.123401] RSP: 0018:ffffa93fc21e3a78 EFLAGS: 00010206 Jun 2 05:11:45 pve2 kernel: [106043.123402] RAX: ffffffffc12091d0 RBX: 0000000000000701 RCX: ffffa93fc21e3ac0 Jun 2 05:11:45 pve2 kernel: [106043.123402] RDX: ffff949b99a74000 RSI: ffff949e1ff29500 RDI: ffff94a2e89f8000 Jun 2 05:11:45 pve2 kernel: [106043.123402] RBP: ffffa93fc21e3a78 R08: 00000000008125f3 R09: ffff949b99a74000 Jun 2 05:11:45 pve2 kernel: [106043.123403] R10: 0000000000000000 R11: 0000000000001960 R12: ffff94a2e89f8000 Jun 2 05:11:45 pve2 kernel: [106043.123403] R13: 0000000000000000 R14: ffff949b99a74000 R15: ffffa93fc21e3ac8 Jun 2 05:11:45 pve2 kernel: [106043.123404] FS: 00007f396d5ff700(0000) GS:ffff94a36ef80000(0000) knlGS:0000000000000000 Jun 2 05:11:45 pve2 kernel: [106043.123404] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jun 2 05:11:45 pve2 kernel: [106043.123405] CR2: ffffffffff600400 CR3: 0000000771fea000 CR4: 0000000000340ee0 Jun 2 05:11:45 pve2 kernel: [106043.123405] Call Trace: Jun 2 05:11:45 pve2 kernel: [106043.123415] kvm_mmu_pte_write+0x421/0x430 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123424] kvm_page_track_write+0x82/0xc0 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123433] emulator_write_phys+0x3b/0x50 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123441] write_emulate+0xe/0x10 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123448] emulator_read_write_onepage+0xfc/0x320 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123456] emulator_read_write+0xd6/0x190 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123463] emulator_write_emulated+0x15/0x20 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123471] segmented_write+0x5d/0x80 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123479] writeback+0x203/0x2e0 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123487] x86_emulate_insn+0x983/0x1040 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123494] x86_emulate_instruction+0x350/0x720 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123502] complete_emulated_pio+0x3f/0x70 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123509] kvm_arch_vcpu_ioctl_run+0x4cb/0x570 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123517] kvm_vcpu_ioctl+0x24b/0x610 [kvm] Jun 2 05:11:45 pve2 kernel: [106043.123519] ? do_futex+0xc7/0xc50 Jun 2 05:11:45 pve2 kernel: [106043.123521] ? apic_timer_interrupt+0xa/0x20 Jun 2 05:11:45 pve2 kernel: [106043.123523] do_vfs_ioctl+0xa9/0x640 Jun 2 05:11:45 pve2 kernel: [106043.123524] ksys_ioctl+0x67/0x90 Jun 2 05:11:45 pve2 kernel: [106043.123525] __x64_sys_ioctl+0x1a/0x20 Jun 2 05:11:45 pve2 kernel: [106043.123527] do_syscall_64+0x57/0x190 Jun 2 05:11:45 pve2 kernel: [106043.123527] entry_SYSCALL_64_after_hwframe+0x44/0xa9 Jun 2 05:11:45 pve2 kernel: [106043.123528] RIP: 0033:0x7f4183922427 Jun 2 05:11:45 pve2 kernel: [106043.123529] Code: 00 00 90 48 8b 05 69 aa 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 39 aa 0c 00 f7 d8 64 89 01 48 Jun 2 05:11:45 pve2 kernel: [106043.123529] RSP: 002b:00007f396d5fa3b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 Jun 2 05:11:45 pve2 kernel: [106043.123530] RAX: ffffffffffffffda RBX: 000000000000ae80 RCX: 00007f4183922427 Jun 2 05:11:45 pve2 kernel: [106043.123530] RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000021 Jun 2 05:11:45 pve2 kernel: [106043.123531] RBP: 0000000000000000 R08: 00005558156d3350 R09: 0000000000000000 Jun 2 05:11:45 pve2 kernel: [106043.123531] R10: 0000000000000001 R11: 0000000000000246 R12: 00007f4172c98e80 Jun 2 05:11:45 pve2 kernel: [106043.123531] R13: 000055581569d2e0 R14: 00007f4176ebc000 R15: 0000000000000000 Jun 2 05:11:45 pve2 kernel: [106043.123532] ---[ end trace 1d4cbcac7f24c177 ]--- Cristian, this bug is marked as "closed" (donno why, ask the Red Hat teams), so your info will be ignored. I would suggest for you to open a new bug. It might be related to KSM (Kernel Samepage Merging). When this happened I've had 20 GiB in KSM sharing. I understand, but again, this bug was open against Fedora 29 which is dead for quite a long time. You'll need to create a new bug, no one will treat this bug. (In reply to Hetz Ben Hamo from comment #4) > Cristian, this bug is marked as "closed" (donno why, ask the Red Hat teams), > so your info will be ignored. > > I would suggest for you to open a new bug. I just wanted to confirm the issue OP had. The bug can always be reopened. You guys to whatever you want. If any of you are still seeing this I'd try it on a very very recent host kernel; there's a whole bunch of AMD nesting fixes that went in in the last few months. |