kernel warning in epyc2 nested virtualization

Bug #1884058 reported by Stefan Kooman
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

[1115784.899520] ------------[ cut here ]------------
[1115784.899551] WARNING: CPU: 17 PID: 799578 at arch/x86/kvm/mmu.c:2237 nonpaging_update_pte+0x9/0x10 [kvm]
[1115784.899551] Modules linked in: vhost_net vhost tap nf_tables ip6t_REJECT nf_reject_ipv6 ip6table_mangle ip6table_filter ip6_tables ipt_REJECT nf_reject_ipv4 xt_comment xt_tcpudp xt_state xt_conntrack iptable_mangle iptable_nat iptable_filter bpfilter 8021q garp mrp stp llc binfmt_misc ipmi_ssif amd64_edac_mod edac_mce_amd kvm_amd kvm crct10dif_pclmul ghash_clmulni_intel aesni_intel crypto_simd cryptd glue_helper nls_iso8859_1 input_leds joydev ast ceph drm_vram_helper ttm libceph drm_kms_helper fscache i2c_algo_bit fb_sys_fops syscopyarea sysfillrect sysimgblt nfnetlink_cttimeout nfnetlink ccp k10temp ipmi_si ipmi_devintf ipmi_msghandler mac_hid openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c sch_fq_codel drm ip_tables x_tables autofs4 hid_generic usbhid ahci crc32_pclmul nvme hid libahci nvme_core bnxt_en i2c_piix4 i40e
[1115784.899594] CPU: 17 PID: 799578 Comm: CPU 1/KVM Not tainted 5.4.0-29-generic #33-Ubuntu
[1115784.899595] Hardware name: Supermicro AS -1113S-WN10RT/H11SSW-NT, BIOS 2.1 02/21/2020
[1115784.899615] RIP: 0010:nonpaging_update_pte+0x9/0x10 [kvm]
[1115784.899617] 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 55 48 89 f0 48 89 e5 48 85 c9
[1115784.899618] RSP: 0018:ffffb039ccc1ba80 EFLAGS: 00010202
[1115784.899620] RAX: ffffffffc07c4f10 RBX: ffff8f009d2e7000 RCX: ffffb039ccc1bac8
[1115784.899621] RDX: ffff8f009d2e7000 RSI: ffff8f00987e6f18 RDI: ffff8f00a39bbc90
[1115784.899622] RBP: ffffb039ccc1ba80 R08: 0000000000000000 R09: ffffb039e05a4000
[1115784.899623] R10: 000000000000000b R11: ffff8f00984e0008 R12: ffff8f00987e6f18
[1115784.899624] R13: ffff8f00a39bbc90 R14: 0000000000000701 R15: ffffb039ccc1bad0
[1115784.899625] FS: 00007fecceffd700(0000) GS:ffff8f01ce640000(0000) knlGS:0000000000000000
[1115784.899626] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[1115784.899627] CR2: 000055d27ce2e218 CR3: 0000007d26852000 CR4: 0000000000340ee0
[1115784.899628] Call Trace:
[1115784.899653] kvm_mmu_pte_write+0x435/0x440 [kvm]
[1115784.899675] kvm_page_track_write+0x7f/0xb0 [kvm]
[1115784.899695] emulator_write_phys+0x40/0x50 [kvm]
[1115784.899712] write_emulate+0xe/0x10 [kvm]
[1115784.899730] emulator_read_write_onepage+0xf9/0x320 [kvm]
[1115784.899746] emulator_read_write+0xdc/0x190 [kvm]
[1115784.899763] emulator_write_emulated+0x15/0x20 [kvm]
[1115784.899784] segmented_write+0x60/0x90 [kvm]
[1115784.899801] writeback+0x187/0x310 [kvm]
[1115784.899820] x86_emulate_insn+0xa1c/0x1260 [kvm]
[1115784.899837] x86_emulate_instruction+0x358/0x720 [kvm]
[1115784.899853] complete_emulated_pio+0x3f/0x70 [kvm]
[1115784.899871] kvm_arch_vcpu_ioctl_run+0x551/0x590 [kvm]
[1115784.899888] kvm_vcpu_ioctl+0x24b/0x610 [kvm]
[1115784.899894] ? __seccomp_filter+0x7e/0x690
[1115784.899898] ? futex_wake+0x8b/0x180
[1115784.899903] do_vfs_ioctl+0x407/0x670
[1115784.899905] ? __secure_computing+0x42/0xe0
[1115784.899907] ksys_ioctl+0x67/0x90
[1115784.899908] __x64_sys_ioctl+0x1a/0x20
[1115784.899911] do_syscall_64+0x57/0x190
[1115784.899914] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[1115784.899915] RIP: 0033:0x7fed0138d37b
[1115784.899916] Code: 0f 1e fa 48 8b 05 15 3b 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e5 3a 0d 00 f7 d8 64 89 01 48
[1115784.899916] RSP: 002b:00007fecceffc5b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[1115784.899917] RAX: ffffffffffffffda RBX: 000000000000ae80 RCX: 00007fed0138d37b
[1115784.899917] RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000025
[1115784.899918] RBP: 0000562bce39e940 R08: 0000562bcc1affb0 R09: 0000000000000200
[1115784.899918] R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000
[1115784.899919] R13: 0000562bcc81c960 R14: 0000000000000004 R15: 0000000000000000
[1115784.899920] ---[ end trace 6282d0248ce1f9fe ]---
---
ProblemType: Bug
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Jun 18 18:55 seq
 crw-rw---- 1 root audio 116, 33 Jun 18 18:55 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: [Errno 2] No such file or directory: 'fuser'
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.04
HibernationDevice: RESUME=none
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
MachineType: Supermicro AS -1113S-WN10RT
Package: linux (not installed)
PciMultimedia:

ProcFB: 0 astdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-29-generic root=/dev/mapper/LVM0-FOCAL ro console=tty0 console=ttyS0,38400n8 intel_idle.max_cstate=1 processor.max_cstate=1
ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-29-generic N/A
 linux-backports-modules-5.4.0-29-generic N/A
 linux-firmware 1.187
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
Tags: focal
Uname: Linux 5.4.0-29-generic x86_64
UnreportableReason: This report is about a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: False
dmi.bios.date: 02/21/2020
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2.1
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: H11SSW-NT
dmi.board.vendor: Supermicro
dmi.board.version: 2.00
dmi.chassis.asset.tag: To be filled by O.E.M.
dmi.chassis.type: 1
dmi.chassis.vendor: Supermicro
dmi.chassis.version: 0123456789
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2.1:bd02/21/2020:svnSupermicro:pnAS-1113S-WN10RT:pvr0123456789:rvnSupermicro:rnH11SSW-NT:rvr2.00:cvnSupermicro:ct1:cvr0123456789:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: AS -1113S-WN10RT
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 0123456789
dmi.sys.vendor: Supermicro

Revision history for this message
Stefan Kooman (stefan-n1) wrote :

Description: Ubuntu 20.04 LTS
Release: 20.04

Revision history for this message
Stefan Kooman (stefan-n1) wrote :

This bug gets triggered when VM (L1 with L2 guest) is live migrated from one hypervisor to another. This bug does not get triggered on a Intel CPU with the same kernel

Revision history for this message
Stefan Kooman (stefan-n1) wrote :

I've gdb and debug symbols installed ... so let me know if you need more info

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1884058/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1884058

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: focal
Revision history for this message
Stefan Kooman (stefan-n1) wrote : CRDA.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Stefan Kooman (stefan-n1) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Stefan Kooman (stefan-n1) wrote : Lspci.txt

apport information

Revision history for this message
Stefan Kooman (stefan-n1) wrote : Lspci-vt.txt

apport information

Revision history for this message
Stefan Kooman (stefan-n1) wrote : Lsusb.txt

apport information

Revision history for this message
Stefan Kooman (stefan-n1) wrote : Lsusb-t.txt

apport information

Revision history for this message
Stefan Kooman (stefan-n1) wrote : Lsusb-v.txt

apport information

Revision history for this message
Stefan Kooman (stefan-n1) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Stefan Kooman (stefan-n1) wrote : ProcEnviron.txt

apport information

Revision history for this message
Stefan Kooman (stefan-n1) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Stefan Kooman (stefan-n1) wrote : ProcModules.txt

apport information

Revision history for this message
Stefan Kooman (stefan-n1) wrote : UdevDb.txt

apport information

Revision history for this message
Stefan Kooman (stefan-n1) wrote : WifiSyslog.txt

apport information

Revision history for this message
Stefan Kooman (stefan-n1) wrote :

apport-collect info has been collected

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jack Wang (jinpuwang) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.