Opened 16 years ago
Closed 15 years ago
#3578 closed defect (fixed)
PAE/NX enabled, but NX (No-Execute Page Protection) still disabled -> fixed in SVN/3.1.4
Reported by: | Jan Ritzerfeld | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 2.1.4 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description (last modified by )
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 (2)
Change History (13)
by , 16 years ago
comment:1 by , 15 years ago
comment:2 by , 15 years ago
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 by , 15 years ago
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 by , 15 years ago
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.
by , 15 years ago
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
comment:5 by , 15 years ago
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 by , 15 years ago
Summary: | PAE/NX enabled, but NX (No-Execute Page Protection) still disabled → PAE/NX enabled, but NX (No-Execute Page Protection) still disabled -> fixed in SVN/3.1.4 |
---|
comment:7 by , 15 years ago
Note that I've fixed it only for VT-x and AMD-V enabled VMs. Software virtualization does not support NX.
comment:9 by , 15 years ago
Please check if 3.1.4 beta 1 solves the problem: http://forums.virtualbox.org/viewtopic.php?f=15&t=27300
comment:10 by , 15 years ago
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!
Still no luck with VirtualBox 3.1.2.