Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
Perfect. I'll write a detailed explanation in your bug ticket in the coming days, so that the VirtualBox developers know what to consider when developing a bug fix.
Edit:
Done. See 20180#comment:8.
Edit:
Done. See 20180#comment:8.
Last edited by fth0 on 25. May 2021, 18:41, edited 1 time in total.
Re: Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
I am having the exact same issue on my HP Pavilion laptop with a i5-1135G7 cpu. I am not sure, but I think this started happening when I upgraded from Ubuntu 20.10 to 21.04 (unfortunately 20.04 is not supporting the hardware well enough).
Re: Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
Appears to solve the problem for me as well! Thanks!hottobar wrote:Yes! That was apparently it!fth0 wrote:@hottobar (et al.): I think I found something ...
Please boot your host OS with the Linux kernel parameter split_lock_detect=off and try to reproduce the problem.
You've probably found a good workaround!
-
- Posts: 2
- Joined: 21. May 2021, 08:59
Re: Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
Hi is there any tutorial link to explain how can I do that change, I couldn't find anywherefth0 wrote:@hottobar (et al.): I think I found something ...
Please boot your host OS with the Linux kernel parameter split_lock_detect=off and try to reproduce the problem.
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
There are lots of tutorials and explanations in the Internet. I'd suggest to google for "Linux kernel parameters <insert-your-favorite-Linux-distribution-here>".
Re: Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
If you're using Ubuntu: https://wiki.ubuntu.com/Kernel/KernelBootParametershackerbecker wrote:Hi is there any tutorial link to explain how can I do that change, I couldn't find anywherefth0 wrote:@hottobar (et al.): I think I found something ...
Please boot your host OS with the Linux kernel parameter split_lock_detect=off and try to reproduce the problem.
-
- Posts: 2
- Joined: 21. May 2021, 08:59
Re: Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
Thanks for helphottobar wrote:If you're using Ubuntu:hackerbecker wrote:Hi is there any tutorial link to explain how can I do that change, I couldn't find anywherefth0 wrote:@hottobar (et al.): I think I found something ...
Please boot your host OS with the Linux kernel parameter split_lock_detect=off and try to reproduce the problem.
Re: Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
I solved it too, 4 hours without rebooting.
of course KVM doesn't work
Thank you
of course KVM doesn't work
Thank you
Re: Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
For the record the workaround seems to work for me too.
It should be noted that the cause of this issue still sounds like a bug in VB, which - unless fixed - will at a minimum end up causing issues for many users (at least the increasing population on recent Intel hardware) unless the non-standard command-line option is enabled.
Here's a really good write-up on the semantics of the `split_lock_detect` flag.
I am not entirely clear about the implications of setting it to `off` but the documentation suggests that the behaviour may not be worse off than on older hardware (without support for `split_locka_detect`). However, I may be wrong but it does sound like race conditions on supposedly atomic code could occur, which could result in bad outcomes...
It should be noted that the cause of this issue still sounds like a bug in VB, which - unless fixed - will at a minimum end up causing issues for many users (at least the increasing population on recent Intel hardware) unless the non-standard command-line option is enabled.
Here's a really good write-up on the semantics of the `split_lock_detect` flag.
I am not entirely clear about the implications of setting it to `off` but the documentation suggests that the behaviour may not be worse off than on older hardware (without support for `split_locka_detect`). However, I may be wrong but it does sound like race conditions on supposedly atomic code could occur, which could result in bad outcomes...
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
Agreed, and it's a tricky one indeed. For some further details, see 20180#comment:1 and 20180#comment:8.sxc731 wrote:It should be noted that the cause of this issue still sounds like a bug in VB
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
@hottobar (et al.): Please try one of the VirtualBox test builds 6.1.23r145550 or later, which should solve the issue, and report back. TIA.
Re: Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
Next 6.1 testbuild & release should include a fix/workaround for this. For good performance etc, it's currently recommended to disable split lock detection in the kernel.
Cheers,
bird.
Cheers,
bird.
Knut St. Osmundsen
Oracle Corporation
Oracle Corporation
Re: Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
To be clear, "Next" in bird's post actually refers to the build which fth0 recommended testing. No need to wait for anything, it's there already.
Re: Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
I've tested VBox build 6.1.23 r145681 and it works for me!fth0 wrote:@hottobar (et al.): Please try one of the VirtualBox test builds 6.1.23r145550 or later, which should solve the issue, and report back. TIA.
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Ubuntu 20.04 host, Win 10 guest constant reboot (STATUS_DATATYPE_MISALIGNMENT)
Thanks for reporting back!hottobar wrote:I've tested VBox build 6.1.23 r145681 and it works for me!