Windows 10 guest crashes during install [Debian 11, VB 6.1.34]

Discussions related to using VirtualBox on Linux hosts.
Post Reply
JIJD
Posts: 13
Joined: 27. Jun 2022, 18:25

Windows 10 guest crashes during install [Debian 11, VB 6.1.34]

Post by JIJD »

Hello,

I'm having issues installing Windows 10 on my Debian 11 machine. After loading the install ISO, using the default settings for Windows 10, and trying to install the OS, the install process crashes during the file preparation stage.

I'm not completely used to the process of creating VMs, but I've made and ran one successfully previously in this system (on an earlier kernel, though), so the error is really surprising to me.

I'm running Debian 11 on an Intel i5-6200U CPU, please let me know if there is any additional info I could provide that could be of help. I'm uploading a zip file with the log, as it is slightly larger than the maximum attachment size allowed for the forum.
Attachments
VBox.zip
(29.38 KiB) Downloaded 12 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Windows 10 guest crashes during install [Debian 11, VB 6.1.34]

Post by mpack »

The crash is happening inside the guest code. VirtualBox merely reports it. The crash is that a kernel mode driver attempted to access address 0xffffffffffffffff. Since at this point you are still running the Windows 10 install CD it seems unlikely that this can refer to VirtualBox code.
00:02:32.396835 GIM: HyperV: Guest indicates a fatal condition! P0=0x1e P1=0xffffffffc0000005 P2=0xfffff80270a39020 P3=0x0 P4=0xffffffffffffffff
00:02:32.397089 GIMHv: BugCheck 1e {ffffffffc0000005, fffff80270a39020, 0, ffffffffffffffff}
00:02:32.397091 KMODE_EXCEPTION_NOT_HANDLED
00:02:32.397092 P1: ffffffffc0000005 - exception code - STATUS_ACCESS_VIOLATION
00:02:32.397093 P2: fffff80270a39020 - EIP/RIP
00:02:32.397094 P3: 0000000000000000 - Xcpt param #0
00:02:32.397095 P4: ffffffffffffffff - Xcpt param #1
Where did you get this installer ISO?
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Windows 10 guest crashes during install [Debian 11, VB 6.1.34]

Post by fth0 »

The actual problem is that VirtualBox 6.1.34 and 6.1.97r150532 do not support Debian Linux kernel 5.10.120 on the host and will produce random crashes in the guest (pun intended ;)). See 20914 and Windows 10 Guest on Linux host dies seconds after boot for details.

The VirtualBox test builds 6.1.35r151864 (and newer) are supposed to support Linux kernels 5.18, 5.17.12+, 5.15.44+, 5.10.119+ and more on the host and in the guest.
JIJD
Posts: 13
Joined: 27. Jun 2022, 18:25

Re: Windows 10 guest crashes during install [Debian 11, VB 6.1.34]

Post by JIJD »

mpack wrote:Where did you get this installer ISO?
I'm getting it from a web interface that shares Techbench isos without logging in MSFT servers, so it should be fine as it comes directly from MSFT Nope, it's from the Microsoft Media Creation Tool. I'm not picking anything extravagant either (Windows 10 21H2, Single Language, for Mexican Spanish). The thing is, I used this iso recently on an actual computer to install Windows, with no issues whatsoever. So I have to guess it's something in the interaction between VirtualBox and the SO installation.

Just in case something got wrong in the way, I downloaded the ISO again, checked SHA and it seems OK. I made a new VM, and the results are similar. See the attachment. Also the same issue.
fth0 wrote:The VirtualBox test builds 6.1.35r151864 (and newer) are supposed to support Linux kernels 5.18, 5.17.12+, 5.15.44+, 5.10.119+ and more on the host and in the guest.
Is it really this the issue? I thought running Debian Stable would mean that there would be no weird compatibility issues with strongly supported software, being LTS and all. And running a test build sounds like potential future problems.
Attachments
VBox_SecondAttempt.zip
(29.49 KiB) Downloaded 4 times
Last edited by JIJD on 28. Jun 2022, 20:31, edited 2 times in total.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Windows 10 guest crashes during install [Debian 11, VB 6.1.34]

Post by fth0 »

JIJD wrote:Is it really this the issue?
I'm quite sure. And that's an understatement. ;)
JIJD wrote:I thought running Debian Stable would mean that there would be no weird compatibility issues with strongly supported software, being LTS and all.
The changes made in the RNG in Linux kernel 5.18 were deemed so valuable that they were backported to several older Linux kernels (at least the ones I dug out). The VirtualBox bug revealed by those changes was fixed before the backports happened, but the next VirtualBox release update 6.1.36 isn't expected until 2022-07-19.
JIJD wrote:And running a test build sounds like potential future problems.
The VirtualBox test builds 6.1.35 are usually of good quality, because they only contain bugfixes between VirtualBox 6.1.34 and 6.1.36. Don't confuse them with the VirtualBox development snapshots 6.1.97, though. ;)
JIJD
Posts: 13
Joined: 27. Jun 2022, 18:25

Re: Windows 10 guest crashes during install [Debian 11, VB 6.1.34]

Post by JIJD »

I followed fth0's advice. Using a VirtualBox test build (6.1.35) and the very same ISO that gave me issues earlier I've managed to create a Windows 10 guest on Debian 11.

Thank you all.
Post Reply