From: Christophe Saout Subject: Re: Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64 Date: Mon, 12 Jan 2009 15:17:48 +0100 Message-ID: <1231769868.4838.4.camel@leto.intern.saout.de> References: <1231615355.19576.23.camel@leto.intern.saout.de> <49690103.5020706@wol.de> <1231619339.5616.15.camel@leto.intern.saout.de> <20090110203706.GW15052@edu.joroinen.fi> <1231622029.4778.1.camel@leto.intern.saout.de> <1231683478.4809.43.camel@leto.intern.saout.de> <1231685561.4809.50.camel@leto.intern.saout.de> <1231691732.5342.3.camel@leto.intern.saout.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1231691732.5342.3.camel@leto.intern.saout.de> 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 List-Id: xen-devel@lists.xenproject.org Hi, ok, I can work around the issue with reiserfsck reported earlier by disabling CONFIG_UNEVICTABLE_LRU. His code is using __get_user_pages during mm teardown and this seems to have problems when current->mm is already gone, which seems can happen with Xen and, from what I gathered from some of Linus' older emails, should be allowed to. (so this might be a bug in Nick's UNEVICTABLE_LRU version of the mlock code?) Anyway, > Also, the console locked up after ~2 minutes, but still reacted to > Alt-SysRq-B. this still occurs. So far I havent been able to get the full crash since I can't scroll, but from what I have on the screen it is hitting the BUG() in arch/x86/include/asm/mmu_context_64.h in switch_mm: #ifdef CONFIG_SMP else { write_pda(mmu_state, TLBSTATE_OK); if (read_pda(active_mm) != next) --> BUG(); if (!cpu_test_and_set(cpu, next->cpu_vm_mask)) { Might be a secondary oops or something, not sure yet (still need to get netconsole working). Cheers, Christophe