VirtualBox

Ticket #3578 (closed defect: fixed)

Opened 1 year ago

Last modified 6 months ago

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

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

Description (Last modified by frank)

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 (59.6 kB) - added by jritzerfeld on 2009-03-23 07:01:03.
Vista Test-2010-01-19-18-10-57.log (59.2 kB) - added by jritzerfeld on 2010-01-19 18:15:00.
Log of Vista SP1 installation with PAE/NX enabled within VirtualBox 3.1.2

Change History

2009-03-23 07:01:03 changed by jritzerfeld

  • attachment VBox.log added.

2010-01-18 18:23:56 changed by jritzerfeld

Still no luck with VirtualBox 3.1.2.

2010-01-19 09:33:35 changed by frank

  • description changed.

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.

2010-01-19 09:42:09 changed 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.

2010-01-19 18:14:03 changed 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.

2010-01-19 18:15:00 changed by jritzerfeld

  • attachment Vista Test-2010-01-19-18-10-57.log added.

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

2010-01-20 10:53:24 changed 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.

2010-01-20 11:21:58 changed 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.

2010-01-20 11:30:15 changed by sandervl73

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

2010-01-20 14:58:17 changed by jritzerfeld

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

2010-01-29 09:52:16 changed by sandervl73

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

2010-02-08 19:47:08 changed 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!

2010-02-08 20:24:04 changed by sandervl73

  • status changed from new to closed.
  • resolution set to fixed.

Thanks for the feedback.


ContactPrivacy policy