From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cris Daniluk Subject: Re: Xen 4.0 crashes with pvops kernel Date: Tue, 15 Jun 2010 09:24:03 -0400 Message-ID: References: <4C17932F0200007800006821@vpn.id2.novell.com> <4C179A47020000780000683A@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <4C179A47020000780000683A@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Tue, Jun 15, 2010 at 9:20 AM, Jan Beulich wrote: >>>> On 15.06.10 at 14:56, Keir Fraser wrote: >> On 15/06/2010 13:50, "Jan Beulich" wrote: >> >>> >>> Keir, assuming these are reads only, would it make sense to permit >>> Dom0 to map the IO-APIC space read-only? Perhaps even >>> transparently converting writeable mappings to read-only ones >>> (since drivers/acpi/osl.c tries to establish writeable mappings >>> irrespective of the actual needs)? The obvious danger in doing >>> so is that going forward there may appear fields in that page >>> reads of which aren't side effect free... >> >> Well, how come it works with other Linux kernels -- presumably they have >> some extra error handling in the ACPI subsystem? Shouldn't that just be >> added to this kernel? > > I'm rather suspecting there's new code (compared to 2.6.18) that's > lacking proper error handling, though I didn't look in detail so far. > > Hmm, looking a little more closely it seems they indeed try to write > to that space - this we for sure can't allow. I'll see if I can follow > the code path (unfortunately the stack trace is an imprecise one). > > Cris, seeing DSDT and SSDTs from that system would surely be > helpful. > For what its worth, it happened in 2.6.32.11 in addition to 2.6.32.13. I also had earlier tried a 2.6.31 pvops distro kernel with the same results last week. Interestingly, I also tried a 2.6.31 kernel with Xen 3.4 on the same hardware with no issues. It seems like XenLinux kernel with Xen 4.0 is fine, and pvops with Xen 3.x is fine. Anyway, what is a useful format to provide those tables in? The dumps are quite long and seem like they will format horribly via email. Thanks for your help, Cris