amd64 kernel uses nx emulation?

Asked by Piotr Morgwai Kotarbiński

according to https://wiki.ubuntu.com/Security/Features#Non-Exec%20Memory amd64 kernel should use real nx or no nx at all. I have nx flag present in /proc/cpuinfo:

morgwai@darkstorm:~$ cat /proc/cpuinfo |grep nx
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority

and nx enabled in bios but in /var/log/dmesg I can see

[ 0.000000] Using x86 segment limits to approximate NX protection

Am I missing something?
My system is karmic for amd64 on ThinkPad X200.

Thanks

  Morg

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

My dmesg shows the same message on a Semperon AM2 3000+

Is your system causing you issues?

Revision history for this message
Piotr Morgwai Kotarbiński (morgwai) said :
#2

no, it's working fine: I was just wondering why it doesn't use hardware NX when it's avaialbe and supposing that it may be a bug which needs investigation.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

If you suspect a bug, log one :D

Gets things fixed.

Are you running a semperon CPU out of interest. Maybe we need to add a kernel option to get the functionality or maybe its not supported in the generic kernel.

Can you help with this problem?

Provide an answer of your own, or ask Piotr Morgwai Kotarbiński for more information if necessary.

To post a message you must log in.