Skip to content

[Bug]: Hyper-V+VirtualBox 7.2.10 heavy AVX2 causes Debian 11/12 to get stuck. #726

Description

@shixudong2020

Version

7.2.10

Host OS Type

Windows

Host OS name + version

Windows 11(25H2) Build 26200.8655

Host Architecture

x86

Guest OS Type

Linux

Guest Architecture

x86

Guest OS name + version

debian11 and debian12

Component

Guest SMP

What happened?

When configuring 2 CPUs in Debian 11/Debian 12,

  1. If mdadm is installed, the raid6_pq module will be automatically loaded at startup. The raid6_pq module triggers a benchmark test upon loading, involving a large amount of avx2 calculations, causing the CPU to be completely locked up.
  2. Even if mdadm is not installed, Debian 11 uses the default GRUB_DISABLE_OS_PROBER setting of false. When executing sudo update-grub, os-probe will load the btrfs module, and the btrfs module will automatically load the raid6_pq module, resulting in the situation described in 1.

When configuring 1 CPU, everything works normally and the above situation does not occur. When configuring 4 CPUs, it occasionally gets stuck.
Hyper-V + VirtualBox 7.2.8 does not support AVX, so the above situation will not occur.
Hyper-V + VirtualBox 7.2.6 also supports AVX, but the above situation will not happen either.

How can we reproduce this?

configuring 2 CPUs

  1. for debian11/debian12,sudo apt-get install mdadm,then sudo reboot
  2. for debian11, sudo update-grub
  3. for debian12, sudo nano /etc/default/grub, uncomment GRUB_DISABLE_OS_PROBER=false,then sudo update-grub

Did you upload all of your necessary log files, screenshots, etc.?

  • Yes, I've uploaded all pertinent files to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions