From: "Jan Beulich" Subject: 64-bit failsafe callback Date: Mon, 27 Mar 2006 23:57:59 +0200 Message-ID: <44286DF702000078000145F7@emea1-mh.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org We're, while porting the kernel code back to SLES9, running into a case where the failsafe callback gets entered. Looking at that code we don't seem to be able to understand how it is actually expected to work. That code, out of load_segments, stores the selectors (including one or more that failed) into the (extended) frame for the kernel to pick them up. The kernel code, however, simply re-does the load of these selectors - how can that be expected to work any better than in the hypervisor? Further, the kernel blindly loads fs and gs, without caring to destroy their base addresses and, even more importantly, its own ability to access the PDA. Any clarification would be greatly appreciated. Jan