VirtualBox

Ticket #3578 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

PAE/NX enabled, but NX (No-Execute Page Protection) still disabled -> fixed in SVN/3.1.4

Reported by: jritzerfeld Owned by:
Priority: major Component: other
Version: VirtualBox 2.1.4 Keywords:
Cc: Guest type: other
Host type: other

Description (last modified by frank) (diff)

I created a Vista-VirtualBox (OSE) with the PAE/NX setting enabled. A few days ago, I noticed that hardware DEP is not available. In the VBox.log I see that PAE is enabled, but NX (No-Execute Page Protection) is disabled:

[...]
************************* CFGM dump *************************
  EnablePAE          <integer> = 0x0000000000000001 (1)
[...]
********************* End of CFGM dump **********************
CPUMSetGuestCpuIdFeature: Enabled PAE
Logical host processors: 2, processor active mask: 0000000000000003
************************* CPUID dump ************************
         RAW Standard CPUIDs
[...]
PAE - Physical Address Extension       = 1 (1)
[...]
         RAW Extended CPUIDs
[...]
PAE - Physical Address Extension       = 0 (0)
[...]
NX - No-Execute Page Protection        = 0 (1)

I did not find any helpful information about NX and VirtualBox, neither in the forums (NX is too short to search, DEP finds nothing) nor via google. So I do not even know whether DEP/NX is really supposed to work with VirtualBox (OSE) and Vista.

Attachments

VBox.log Download (59.6 KB) - added by jritzerfeld 5 years ago.
Vista Test-2010-01-19-18-10-57.log Download (59.2 KB) - added by jritzerfeld 4 years ago.
Log of Vista SP1 installation with PAE/NX enabled within VirtualBox 3.1.2

Change History

Changed 5 years ago by jritzerfeld

comment:1 Changed 4 years ago by jritzerfeld

Still no luck with VirtualBox 3.1.2.

comment:2 Changed 4 years ago by frank

  • Description modified (diff)

The reason is that your guest doesn't use the PAE mode. Is it possible that you installed your Vista guest with PAE disabled and enabled the PAE setting later? If you installed your guest with PAE enabled then your guest doesn't use PAE for another reason.

comment:3 Changed 4 years ago by sandervl73

Add a new log for 3.1.2 please. Vista will use PAE if available and not explicitly disabled in the boot config.

comment:4 Changed 4 years ago by jritzerfeld

I am pretty sure that I enabled PAE/NX right from the beginning. However, I did a new installation of Vista with SP1 within VirtualBox 3.1.2 but again: still no luck.

Changed 4 years ago by jritzerfeld

Log of Vista SP1 installation with PAE/NX enabled within VirtualBox 3.1.2

comment:5 Changed 4 years ago by sandervl73

Right, NX is not enabled on 32 bits hosts. A workaround is to select a 64 bits guest type. I'll fix it.

comment:6 Changed 4 years ago by sandervl73

  • Summary changed from PAE/NX enabled, but NX (No-Execute Page Protection) still disabled to PAE/NX enabled, but NX (No-Execute Page Protection) still disabled -> fixed in SVN/3.1.4

comment:7 Changed 4 years ago by sandervl73

Note that I've fixed it only for VT-x and AMD-V enabled VMs. Software virtualization does not support NX.

comment:8 Changed 4 years ago by jritzerfeld

Thank you! (VT-x was enabled anyway, I have no problem with that.)

comment:9 Changed 4 years ago by sandervl73

Please check if 3.1.4 beta 1 solves the problem:  http://forums.virtualbox.org/viewtopic.php?f=15&t=27300

comment:10 Changed 4 years ago by jritzerfeld

Using VirtualBox 3.1.4_OSE r57050 (from openSUSE OBS), Vista tells me that my processor supports hardware-enforced DEP: | C:\Users\jan>wmic OS Get DataExecutionPrevention_Available | DataExecutionPrevention_Available | TRUE Thank you!

comment:11 Changed 4 years ago by sandervl73

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

Thanks for the feedback.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use