From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerone Young Subject: RE: Xen on ES7000 x86_64 take 2 Date: Fri, 15 Jul 2005 13:23:07 -0500 Message-ID: <1121451787.3036.13.camel@thinkpad> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-HAShyVpkNeXl1Qsd7rtF" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Puthiyaparambil, Aravindh" Cc: xen-devel@lists.xensource.com, "Magolan, John F" , "Nakajima, Jun" , "Subrahmanian, Raj" , "Davis, Jason" , "Vessey, Bruce A" List-Id: xen-devel@lists.xenproject.org --=-HAShyVpkNeXl1Qsd7rtF Content-Type: text/plain Content-Transfer-Encoding: 7bit I sent a patch on the list last week that removes the use of the NX bit from Xen. Could you try it out. I've attached it to this email. On Fri, 2005-07-15 at 13:59 -0400, Puthiyaparambil, Aravindh wrote: > As of now there is no BIOS option to enable it. :-( > > > -----Original Message----- > > From: Nakajima, Jun [mailto:jun.nakajima@intel.com] > > Sent: Friday, July 15, 2005 1:52 PM > > To: Puthiyaparambil, Aravindh; xen-devel@lists.xensource.com > > Cc: Magolan, John F; Subrahmanian, Raj; Davis, Jason; Vessey, Bruce A > > Subject: RE: [Xen-devel] Xen on ES7000 x86_64 take 2 > > > > Puthiyaparambil, Aravindh wrote: > > > I am still trying to bring Xen up on the ES7000 x86_64. I have a > > > feeling that the NX/XD is disabled on the system and it is tripping > > > things up. > > > > > > Jun, could you please confirm this? Here is the output you had asked > > > from me sometime ago. The complete boot output is included below. > > > > > > (XEN) CPU: After generic identify, caps: bfebfbff 20000800 00000000 > > > 00000000 00004595 00000000 00000000 > > > > Yes, it's disabled. 20000800 should become 20100800. Is there any BIOS > > setup to enable it? > > > > Jun > > --- > > Intel Open Source Technology Center > > > > > > > > Thanks > > > Aravindh > > > > > > > > > ------------------------------------------------------------------------ > > > > > >> -----Original Message----- > > >> From: Nakajima, Jun [mailto:jun.nakajima@intel.com] > > >> Sent: Saturday, July 02, 2005 2:11 AM > > >> To: Puthiyaparambil, Aravindh; xen-devel@lists.xensource.com > > >> Cc: Magolan, John F; Subrahmanian, Raj; Davis, Jason; Vessey, Bruce > A > > >> Subject: RE: [Xen-devel] Xen on ES7000 x86_64 > > >> > > >> Puthiyaparambil, Aravindh wrote: > > >>> I am trying to bring Xen up on the ES7000 x86_64 box. I have some > of > > >>> my patches along with Don Fry's per-cpu-timer patch. I have > included > > >>> the debug output. I am wondering if this is similar to Bug#75 or > if > > >>> it is a different problem altogether. > > >> > > >> Is it possbile NX/XD is disabled? Can you try > > >> #define NOISY_CAPS 1 > > >> in xen/arch/x86/cpu/common.c and report the line like: > > >> > > >> (XEN) CPU: After generic identify, caps: bfebfbff 20100800 00000000 > > >> 00000000 000 065bd 00000000 00000001 > > >> > > >> Jun > > >> --- > > >> Intel Open Source Technology Center > > > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > -- Jerone Young IBM Linux Technology Center jyoung5@us.ibm.com 512-838-1157 (T/L: 678-1157) --=-HAShyVpkNeXl1Qsd7rtF Content-Disposition: attachment; filename=rm_nx_patch.diff Content-Type: text/x-patch; name=rm_nx_patch.diff; charset=utf-8 Content-Transfer-Encoding: 7bit --- linux-2.6.11-xen-sparse/include/asm-xen/asm-x86_64/pgtable.h.old 2005-07-08 00:04:22.000000000 -0500 +++ linux-2.6.11-xen-sparse/include/asm-xen/asm-x86_64/pgtable.h 2005-07-08 00:05:23.000000000 -0500 @@ -191,21 +191,21 @@ static inline pte_t ptep_get_and_clear(p #define _PAGE_CHG_MASK (PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) -#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_NX) +#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED) #define PAGE_SHARED_EXEC __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED) -#define PAGE_COPY_NOEXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_NX) +#define PAGE_COPY_NOEXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) #define PAGE_COPY PAGE_COPY_NOEXEC #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) -#define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_NX) +#define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) #define __PAGE_KERNEL \ - (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_NX | _PAGE_USER ) + (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_USER ) #define __PAGE_KERNEL_EXEC \ (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_USER ) #define __PAGE_KERNEL_NOCACHE \ - (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_PCD | _PAGE_ACCESSED | _PAGE_NX | _PAGE_USER ) + (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_PCD | _PAGE_ACCESSED | _PAGE_USER ) #define __PAGE_KERNEL_RO \ - (_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_NX | _PAGE_USER ) + (_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_USER ) #define __PAGE_KERNEL_VSYSCALL \ (_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_USER ) #define __PAGE_KERNEL_VSYSCALL_NOCACHE \ --=-HAShyVpkNeXl1Qsd7rtF Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-HAShyVpkNeXl1Qsd7rtF--