From: Keir Fraser Subject: Re: problems compiling xen on a crusoe Date: Wed, 17 Nov 2004 13:43:16 +0000 Message-ID: References: Return-path: In-Reply-To: Your message of "Wed, 17 Nov 2004 21:36:34 +0800." Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: A Streetcar Named Cc: Keir Fraser , xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org > > Then, a few possibilities that might get you further: > > > > Change line 131 to: > > mov %cr0,%eax ; or $0x80050023,%eax > > ^ > > Note this digit changed! > > > > Change line 133 to: > > ljmp $(__HYPERVISOR_CS),$1f > > > > Let me know how you get on with these changes. > > I'm not clear what you mean by this. Do you want me to change the > source to this and compile it? > > 128 start_paging: > 129 mov $idle_pg_table-__PAGE_OFFSET,%eax > 130 mov %eax,%cr3 > 131 mov %cr0,%eax ; or $0x80050023,%eax > 132 mov %eax,%cr0 > 133 ljmp $(__HYPERVISOR_CS),$1f > 134 1: /* Install relocated selectors (FS/GS unused). */ > 135 lgdt gdt_descr That's right. Recompile with above changes and see if it still reboots. -- Keir ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8