Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I determine if the NX bit is enabled? What I am doing right now is trying to run rdmsr, but I get an error:

rdmsr:pread: Input/output error

This is when I do:

rdmsr 0x1a0

The CPU is an AMD A6 3400M APU with Radeon HD Graphics.

I am running Fedora 18, and the reason I want to check if the NX bit is enabled is because I'm getting an Error Code 0x0000005D while trying to install windows 8 on Gnome Boxes.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

I found out how to do it, or at least I think I did. If I am wrong, please correct me.

Reading on page 55 of the "AMD64 Architecture Programmer's Manual Volume 2: System Programming" (http://support.amd.com/us/Processor_TechDocs/24593_APM_v2.pdf#G11.1043852), to which I found a link on wikipedia (https://en.wikipedia.org/wiki/Control_register), I learned that the address of the Extended Feature Enable Register, which is where the NXE bit is located, is C0000_0080h, not 0x1a0. Based on that, I did this:

sudo rdmsr -f 11:11 C0000_0080h

Which returns a zero (0), which according to the manual, means the bit is not enabled.

This doesn't exactly solve my problem with installing Windows 8 on Gnome Boxes, but I think it answers the question of how to determine if the NX bit is enabled on AMD A6 chips.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.