VirtualBox

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1025 closed defect (fixed)

FreeBSD(guest) hangs in Vista(Host) with Intel-VT (VB 1.5.4)

Reported by: Martin Owned by:
Component: other Version: VirtualBox 1.5.4
Keywords: Cc:
Guest type: other Host type: other

Description (last modified by Frank Mehnert)

I have a problem running a FreeBSD Guest in a Vista host, when switching on Hardware Virtualization (VT).

The Guest FreeBSD system hangs after the boot loader. (This is when loading the kernel)

  • With VBox 1.52 it used to hang at the Freebsd Boot Menu (select boot with/without ACPI etc)
  • With VBOx 1.54 the hang appears after selecting the boot device in the boot loader menu.

In both cases the CPU load on my PC goes to 100%, and VBOX does no longer respond. The only way to stop it, is to kill the process via the taskmanager.

1) My BIOS has a feature to disable/enable VT availability. The issue only arises if I enable VT in the BIOS. Otherwise VT is not used and the log would say "HWACCM: No VMX or SVM CPU extension found. Reason VERR_VMX_ILLEGAL_FEATURE_CONTROL_MSR"

2) My system (feel free to ask for more info)

  • Dell Dimension (with DELL BIOS DM061 Vers 2.2.1 from 23/3/07)
  • Intel Core2 CPU 6600 2.4 GHZ
  • 4GB Ram (3GB visible to Windows)
  • Window Vista Home Premium 32 bit

From the logs:

The following lines are only present if VT is ENABLED

HWACCM: Host CR4=000006F9
 HWACCM: MSR_IA32_FEATURE_CONTROL      = 5
 HWACCM: MSR_IA32_VMX_BASIC_INFO       = 1a040000000007
 HWACCM: VMCS id                       = 7
 HWACCM: VMCS size                     = 800
 HWACCM: VMCS physical address limit   = None
 HWACCM: VMCS memory type              = 6
 HWACCM: Dual monitor treatment        = 1
 HWACCM: MSR_IA32_VMX_PINBASED_CTLS    = 1f00000016
 HWACCM:    VMX_VMCS_CTRL_PIN_EXEC_CONTROLS_EXT_INT_EXIT
 HWACCM:    VMX_VMCS_CTRL_PIN_EXEC_CONTROLS_NMI_EXIT
 HWACCM: MSR_IA32_VMX_PROCBASED_CTLS   = 77b9fffe0401e172
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_IRQ_WINDOW_EXIT
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_TSC_OFFSET
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_HLT_EXIT
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_INVLPG_EXIT
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_MWAIT_EXIT
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDPMC_EXIT
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDTSC_EXIT
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_CR8_LOAD_EXIT
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_CR8_STORE_EXIT
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_TPR_SHADOW
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_MOV_DR_EXIT
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_UNCOND_IO_EXIT
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_IO_BITMAPS
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_MSR_BITMAPS
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_MONITOR_EXIT
 HWACCM:    VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_PAUSE_EXIT
 HWACCM: MSR_IA32_VMX_ENTRY_CTLS       = 1fff000011ff
 HWACCM:    VMX_VMCS_CTRL_ENTRY_CONTROLS_IA64_MODE
 HWACCM:    VMX_VMCS_CTRL_ENTRY_CONTROLS_ENTRY_SMM
 HWACCM:    VMX_VMCS_CTRL_ENTRY_CONTROLS_DEACTIVATE_DUALMON
 HWACCM: MSR_IA32_VMX_EXIT_CTLS        = 3efff00036dff
 HWACCM:    VMX_VMCS_CTRL_EXIT_CONTROLS_HOST_AMD64
 HWACCM:    VMX_VMCS_CTRL_EXIT_CONTROLS_ACK_EXTERNAL_IRQ
 HWACCM: MSR_IA32_VMX_MISC             = 403c0
 HWACCM:    MSR_IA32_VMX_MISC_ACTIVITY_STATES 7
 HWACCM:    MSR_IA32_VMX_MISC_CR3_TARGET      4
 HWACCM:    MSR_IA32_VMX_MISC_MAX_MSR         200
 HWACCM:    MSR_IA32_VMX_MISC_MSEG_ID         0
 HWACCM: MSR_IA32_VMX_CR0_FIXED0       = 80000021
 HWACCM: MSR_IA32_VMX_CR0_FIXED1       = ffffffff
 HWACCM: MSR_IA32_VMX_CR4_FIXED0       = 2000
 HWACCM: MSR_IA32_VMX_CR4_FIXED1       = 27ff
 HWACCM: MSR_IA32_VMX_VMCS_ENUM        = 2c
 HWACCM: VMX enabled!

AND these are only present if VT is disabled (the vt enabled log terminates before)
 Guest Log: BIOS: int13_diskette: unsupported AH=41
 Guest Log: BIOS: int13_harddisk: function 08, unmapped device for ELDL=81
 Guest Log: BIOS: int13_harddisk: function 08, unmapped device for ELDL=82
 Guest Log: BIOS: int13_harddisk: function 08, unmapped device for ELDL=83
 Guest Log: BIOS: int13_harddisk: function 08, unmapped device for ELDL=84
 Guest Log: BIOS: int13_harddisk: function 08, unmapped device for ELDL=85
 Guest Log: BIOS: int13_harddisk: function 08, unmapped device for ELDL=86
 Guest Log: BIOS: int13_harddisk: function 08, unmapped device for ELDL=87
....

I attach the full logs

Attachments (4)

vblog-withvt - Copy.txt (32.9 KB ) - added by Martin 16 years ago.
with VT switched on
vblog-novt - Copy.txt (30.8 KB ) - added by Martin 16 years ago.
with vt switched OFF
vbox.log.vtx (27.7 KB ) - added by pdbogen 16 years ago.
Log of boot failure with VT-X enabled.
vbox.log.no-vtx (33.8 KB ) - added by pdbogen 16 years ago.
Log of successful boot and shutdown with VT-X DISABLED

Download all attachments as: .zip

Change History (7)

by Martin, 16 years ago

Attachment: vblog-withvt - Copy.txt added

with VT switched on

by Martin, 16 years ago

Attachment: vblog-novt - Copy.txt added

with vt switched OFF

comment:1 by pdbogen, 16 years ago

I'm having the same problem on a Linux (2.6.24) host, running VB 1.5.6. Similar log files are attached.

by pdbogen, 16 years ago

Attachment: vbox.log.vtx added

Log of boot failure with VT-X enabled.

by pdbogen, 16 years ago

Attachment: vbox.log.no-vtx added

Log of successful boot and shutdown with VT-X DISABLED

comment:2 by Frank Mehnert, 16 years ago

Description: modified (diff)

There are some fixes related to VT-x in the next release. If you are able to test the SVN version (which already contains several fixes), additional reports are welcome.

comment:3 by Frank Mehnert, 16 years ago

Resolution: fixed
Status: newclosed

I will close this bug. Please reopen if there are still issues with VT-x here with 1.6.0.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use