[Kernel-packages] [Bug 1952246] Lspci.txt
apport information ** Attachment added: "Lspci.txt" https://bugs.launchpad.net/bugs/1952246/+attachment/5543359/+files/Lspci.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1952246 Title: 5.13 (I/J/F-HWE) Hosts crash 5.4 (F) 1st+2nd level KVM guests Status in linux package in Ubuntu: Confirmed Bug description: Issue - on start the second level Guest enters paused state due to a KVM fail: $ sudo cat /var/log/libvirt/qemu/focal-2nd-lvm-test.log ... KVM: entry failed, hardware error 0x7 EAX= EBX= ECX= EDX=0663 ESI= EDI= EBP= ESP= EIP=fff0 EFL=0002 [---] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES = 9300 CS =f000 9b00 SS = 9300 DS = 9300 FS = 9300 GS = 9300 LDT= 8200 TR = 8b00 GDT= IDT= CR0=6010 CR2= CR3= CR4= DR0= DR1= DR2= DR3= DR6=0ff0 DR7=0400 EFER= Code=04 66 41 eb f1 66 83 c9 ff 66 89 c8 66 5b 66 5e 66 5f 66 c3 5b e0 00 f0 30 36 2f 32 33 2f 39 39 00 fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 Warning, this message is rather generic you will find many very different issues in the *net - I think the kernel Team has to check commints between the versions I identified or recreate it (instructions below). ubuntu@focal-kvm:~$ virsh start focal-2nd-lvm-test Domain focal-2nd-lvm-test started ubuntu@focal-kvm:~$ virsh list Id Name State --- 2focal-2nd-lvm-test paused OS: - Jammy Host / Focal 1st level Guest / Focal 2nd level Guest - Bionic 1st level guest worked fine - Jammy 1st level Guest worked fine Guests: - First level Guest Focal with cpu host-passthrough - Second level Focal with basic cpu model qemu64 - Otherwise as uvtool-libvirt default provides it The real CPU is an older: Model name:Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz CPU family: 6 Model: 63 Trying different kernel versions H 5.13.0-19 G1 generic5.4.0-90 => Fail H 5.13.0-19 G1 hwe-20.04-edge 5.13.0.22.22~20.04.9 => Work H 5.13.0-19 G1 hwe-20.04 5.11.0-41 => Work H 5.13.0-19 G1 Proposed 5.4.0-91 => Fail H 5.13.0-19 G1 Release5.4.0.26.32 => Fail I redeployed Focal on the Host and checked this as well as a 5.13 hwe-20.04-edge kernel. Focal Host (qemu/libvirt and such are now much different) now: (The redeploy also clears any unexpected old config that might cause this) H 5.4.0-90 G1 generic5.4.0-90 => works H 5.4.0-90 G1 generic5.13.0-21.21 => works H 5.13.0-21.21 G1 generic5.4.0-90 => fails H 5.13.0-21.21 G1 generic5.13.0-21.21 => works So it is the same pattern everywhere, "BareMetal 5.13, first level 5.4 can not start second level guest anymore" Repro steps: 1. Take a Impish/Jammy Host with 5.13 or Focal with HWE 5.13 kernel 2. create first level Focal (5.4) uvt-simplestreams-libvirt --verbose sync --source http://cloud-images.ubuntu.com/daily arch=amd64 label=daily release=focal ssh-keygen uvt-kvm create --memory 8192 --cpu 4 --host-passthrough --password=ubuntu f1 release=focal arch=amd64 label=daily 3. In there create a second level focal guest uvt-simplestreams-libvirt --verbose sync --source http://cloud-images.ubuntu.com/daily arch=amd64 label=daily release=focal ssh-keygen uvt-kvm create --password=ubuntu f2 release=focal arch=amd64 label=daily That guest will crash on start then as reported above. We have cross checked this on a laptop with Jammy, there it worked fine. Biggest releated difference would be in the used Hardware, therefore I'll attach details about the chips. The crashing system is internal, logins/VPNs can be granted if not reproducible elsehwere. --- ProblemType: Bug AlsaDevices: total 0 crw-rw 1 root audio 116, 1 Nov 25 14:53 seq crw-rw 1 root audio 116, 33 Nov 25 14:53 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.20.11-0ubuntu27.21 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CasperMD5CheckResult: skip DistroRelease: Ubuntu 20.04 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' MachineType: HP
[Kernel-packages] [Bug 1952246] Lspci.txt
apport information ** Attachment added: "Lspci.txt" https://bugs.launchpad.net/bugs/1952246/+attachment/5543345/+files/Lspci.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1952246 Title: 5.13 (I/J/F-HWE) Hosts crash 5.4 (F) 1st+2nd level KVM guests Status in linux package in Ubuntu: Confirmed Bug description: Issue - on start the second level Guest enters paused state due to a KVM fail: $ sudo cat /var/log/libvirt/qemu/focal-2nd-lvm-test.log ... KVM: entry failed, hardware error 0x7 EAX= EBX= ECX= EDX=0663 ESI= EDI= EBP= ESP= EIP=fff0 EFL=0002 [---] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES = 9300 CS =f000 9b00 SS = 9300 DS = 9300 FS = 9300 GS = 9300 LDT= 8200 TR = 8b00 GDT= IDT= CR0=6010 CR2= CR3= CR4= DR0= DR1= DR2= DR3= DR6=0ff0 DR7=0400 EFER= Code=04 66 41 eb f1 66 83 c9 ff 66 89 c8 66 5b 66 5e 66 5f 66 c3 5b e0 00 f0 30 36 2f 32 33 2f 39 39 00 fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 Warning, this message is rather generic you will find many very different issues in the *net - I think the kernel Team has to check commints between the versions I identified or recreate it (instructions below). ubuntu@focal-kvm:~$ virsh start focal-2nd-lvm-test Domain focal-2nd-lvm-test started ubuntu@focal-kvm:~$ virsh list Id Name State --- 2focal-2nd-lvm-test paused OS: - Jammy Host / Focal 1st level Guest / Focal 2nd level Guest - Bionic 1st level guest worked fine - Jammy 1st level Guest worked fine Guests: - First level Guest Focal with cpu host-passthrough - Second level Focal with basic cpu model qemu64 - Otherwise as uvtool-libvirt default provides it The real CPU is an older: Model name:Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz CPU family: 6 Model: 63 Trying different kernel versions H 5.13.0-19 G1 generic5.4.0-90 => Fail H 5.13.0-19 G1 hwe-20.04-edge 5.13.0.22.22~20.04.9 => Work H 5.13.0-19 G1 hwe-20.04 5.11.0-41 => Work H 5.13.0-19 G1 Proposed 5.4.0-91 => Fail H 5.13.0-19 G1 Release5.4.0.26.32 => Fail I redeployed Focal on the Host and checked this as well as a 5.13 hwe-20.04-edge kernel. Focal Host (qemu/libvirt and such are now much different) now: (The redeploy also clears any unexpected old config that might cause this) H 5.4.0-90 G1 generic5.4.0-90 => works H 5.4.0-90 G1 generic5.13.0-21.21 => works H 5.13.0-21.21 G1 generic5.4.0-90 => fails H 5.13.0-21.21 G1 generic5.13.0-21.21 => works So it is the same pattern everywhere, "BareMetal 5.13, first level 5.4 can not start second level guest anymore" Repro steps: 1. Take a Impish/Jammy Host with 5.13 or Focal with HWE 5.13 kernel 2. create first level Focal (5.4) uvt-simplestreams-libvirt --verbose sync --source http://cloud-images.ubuntu.com/daily arch=amd64 label=daily release=focal ssh-keygen uvt-kvm create --memory 8192 --cpu 4 --host-passthrough --password=ubuntu f1 release=focal arch=amd64 label=daily 3. In there create a second level focal guest uvt-simplestreams-libvirt --verbose sync --source http://cloud-images.ubuntu.com/daily arch=amd64 label=daily release=focal ssh-keygen uvt-kvm create --password=ubuntu f2 release=focal arch=amd64 label=daily That guest will crash on start then as reported above. We have cross checked this on a laptop with Jammy, there it worked fine. Biggest releated difference would be in the used Hardware, therefore I'll attach details about the chips. The crashing system is internal, logins/VPNs can be granted if not reproducible elsehwere. --- ProblemType: Bug AlsaDevices: total 0 crw-rw 1 root audio 116, 1 Nov 25 14:53 seq crw-rw 1 root audio 116, 33 Nov 25 14:53 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.20.11-0ubuntu27.21 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CasperMD5CheckResult: skip DistroRelease: Ubuntu 20.04 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' MachineType: HP