From: Keir Fraser Subject: Re: Re: [Xen-users] xen on suse 9.3 and software raid Date: Thu, 12 May 2005 16:25:27 +0100 Message-ID: References: <4271F381.4010303@microbus.com> <42720A1B.3010905@microbus.com> <8764xri5h0.fsf@bytesex.org> <428218F7.1070605@microbus.com> <20050512135235.GC31317@bytesex> <20050512142818.GA32316@bytesex> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050512142818.GA32316@bytesex> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Knorr Cc: xen-users@lists.xensource.com, xen-devel@lists.xensource.com, agruen@suse.de List-Id: xen-devel@lists.xenproject.org On 12 May 2005, at 15:28, Gerd Knorr wrote: > (which is called by raid6_before_mmx, which in turn is called by > raid6_mmx1_gen_syndrome, both calls not visible in the trace > because they are inlined). > > Ideas how to fix that? Other than just disabling raid6? Can > that code be replaced with xen hypercalls? fsave & frestore > are also used btw. It's all in drivers/md/raid6x86.h This is a known issue with Xen 2.0, already fixed in unstable (by emulating the privileged instructions). There are three options here: 1. Live with it. Disable raid6 in Xen 2.0 and wait for upgrade to forthcoming Xen 3.0. 2. Backport some of the privileged-instruction emulation to Xen 2.0. 3. Patch the raid6x86.h for Xen 2.0 to do hypercalls rather than priv instructions. I think either options 1 or 2 would be best. Backporting the relevant bits of the instruction decoder and emulator from the unstable repository would not be very difficult, if this is a big show-stopper for anyone. -- Keir