VirtualBox

Ticket #10837 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

Machines don't start with multiple CPUs (Gentoo compiler flags)

Reported by: dE Owned by:
Priority: critical Component: other
Version: VirtualBox 4.1.18 Keywords:
Cc: Guest type: all
Host type: Linux

Description

I've a Windows VM, A live CD (system rescue CD), and another Sabayon Live distro all of which fail to boot if I've multiple CPUs enabled.

Virtualization is enabled with nested paging (on i3 2120) and i/o ACPI is enabled.

The bootloader loads, but once I've selected the OS to start (or kernel to load), all I see is a black screen. On system rescue CD, after the loading of the kernel and initramfs, once the kernel executes, nothing happens, just the previous text is shown (loading vmlinuz*, initramfs).

Attachments

VBox.log Download (47.1 KB) - added by dE 3 years ago.

Change History

Changed 3 years ago by dE

comment:1 Changed 3 years ago by frank

What happens if you try to boot your guest with 2 guest CPUs?

comment:2 Changed 3 years ago by dE

You cant close the bug. Strange.

The vanilla and official build of Virtualbox works. The Gentoo build is having issues.

comment:3 Changed 3 years ago by frank

Any change with VBox 4.1.20? This might be a difference between the official build and builds made from the externally available source (the former OSE release) which shouldn't happen. Your guest does not use EFI to boot, does it?

comment:4 Changed 3 years ago by dE

It has to do with Graphite (GCC). If Virtualbox (not modules) is compiled with -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity, it starts giving problems with multiple CPUs.

comment:5 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to invalid

Thanks for the investigation! In that case I will close this ticket as invalid. The VirtualBox compiler flags must not be changed. Using -fomit-frame-pointer changes the stack layout which does not work for some code.

comment:6 Changed 3 years ago by frank

  • Summary changed from Machines don't start with multiple CPUs. to Machines don't start with multiple CPUs (Gentoo compiler flags)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use