Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864935 - sys-kernel/gentoo-sources-1.19 Kernel Trap Missing ENDBR on KVM/Qemu running windowws 10 VM
Summary: sys-kernel/gentoo-sources-1.19 Kernel Trap Missing ENDBR on KVM/Qemu running ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugzilla.kernel.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-11 19:51 UTC by Stefan Trenker
Modified: 2022-09-19 14:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg Log (dmesg,94.15 KB, text/plain)
2022-08-11 19:51 UTC, Stefan Trenker
Details
Kernel Config File (kernel-5.19.1-config,207.44 KB, text/plain)
2022-08-11 19:52 UTC, Stefan Trenker
Details
emerge --info (emerge-info,8.51 KB, text/plain)
2022-08-11 19:53 UTC, Stefan Trenker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Trenker 2022-08-11 19:51:36 UTC
Created attachment 799335 [details]
dmesg Log

When I try to start a Windows 10 VM using libvirt/qemu/KVM (actual W10 patch level ...) Qemu hangs and I find the attached dmesg-log saying: 

---8<---
[   71.905343] traps: Missing ENDBR: cmpl_eax_edx+0x0/0x10 [kvm]
[   71.905450] ------------[ cut here ]------------
[   71.905452] kernel BUG at arch/x86/kernel/traps.c:253!
[   71.905462] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
---8<---

complete Log see attachment

When i disable CONFIG_X86_KERNEL_IBT, qemu/KVM runs the W10 VM flawlessly.
Comment 1 Stefan Trenker 2022-08-11 19:52:52 UTC
Created attachment 799337 [details]
Kernel Config File
Comment 2 Stefan Trenker 2022-08-11 19:53:13 UTC
Created attachment 799339 [details]
emerge --info
Comment 3 Mike Pagano gentoo-dev 2022-09-18 20:07:46 UTC
Did you try booting with  ibt=off ?
Comment 4 Stefan Trenker 2022-09-19 04:56:02 UTC
(In reply to Mike Pagano from comment #3)
> Did you try booting with  ibt=off ?

No, i did not. I re-compiled the kernel with the config-option disabled.

This kernel bug is allready fixed since 5.19.4 or 5.19.5