Bug 29071

Summary: Add boot kernel option in drakboot avoiding Windows10 to crash because of "Split Lock Detection"
Product: Mageia Reporter: Jybz <j.biernacki+mga>
Component: RPM PackagesAssignee: Kernel and Drivers maintainers <kernel>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Normal CC: thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Jybz 2021-06-03 10:04:10 CEST
Hello,

Maat struggles for days to find why his windows10 crashes randomly on a virtualmachine (probably also kvm, and other).

References:
https://forums.virtualbox.org/viewtopic.php?f=7&t=101667&start=75
https://lwn.net/Articles/786239/
Best comment : https://www.virtualbox.org/ticket/20180#comment:8

For short:
Intel 10th gen proc has the new feature "Split Lock Detection" added in from the kernel of Linux. And it seems that windows10 do that.

On our side, we can't detect if a windows10 guest installed, but we can add a checkbox in our drakboot when the CPU has this feature with such comment:
> ☐/☑ Avoiding windows10+ crashes by disabling "Split Lock Detection"
Comment 1 Lewis Smith 2021-06-03 21:02:24 CEST
Thank you for this report.

From the 'best comment' above:
"The Linux kernel added Split Lock Detection between kernels 5.4 and 5.8, enabled by default. On the Linux host, it can be disabled with the kernel parameter split_lock_detect=off. This can serve as a workaround for the time being."

It is a problem for running Windows in a virtual machine; 'kernel parameter split_lock_detect=off' does not look right for native Linux use. Hence the option proposed at the end of the previous comment.

Assigning to kernel team.

Assignee: bugsquad => kernel
Summary: Add boot kernel option in drakboot avoiding Windows10 to crash => Add boot kernel option in drakboot avoiding Windows10 to crash because of "Split Lock Detection"

Comment 2 Thierry Vignaud 2021-06-04 18:34:02 CEST
Such an option is unwanted in the GUI IMHO.
It's too narrow/specialized niche.
Windows needs fixing

CC: (none) => thierry.vignaud