Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CYtwF-0006xU-4x for user-mode-linux-devel@lists.sourceforge.net; Mon, 29 Nov 2004 14:24:07 -0800 Received: from plam.fujitsu-siemens.com ([217.115.66.9]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CYtwD-0005af-O5 for user-mode-linux-devel@lists.sourceforge.net; Mon, 29 Nov 2004 14:24:07 -0800 Message-ID: <41ABA179.1050809@fujitsu-siemens.com> From: Bodo Stroesser MIME-Version: 1.0 Subject: Re: [uml-devel] UML 2.6.10-rc2-mm3 + incremental crashes References: <41A6228D.4050908@fujitsu-siemens.com> <200411292319.04391.blaisorblade_spam@yahoo.it> In-Reply-To: <200411292319.04391.blaisorblade_spam@yahoo.it> Content-Type: multipart/mixed; boundary="------------070201080209060005040409" Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 29 Nov 2004 23:23:53 +0100 To: Blaisorblade Cc: user-mode-linux-devel@lists.sourceforge.net, Jeff Dike This is a multi-part message in MIME format. --------------070201080209060005040409 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Blaisorblade wrote: > On Thursday 25 November 2004 19:21, Bodo Stroesser wrote: > >>Have started to test with the new 2.6.10-rc2-mm3 + incrementals tree. >> >>First, it didn't compile, because there are inconsistent definitions >>for __pgd_alloc in include/linux/mm.h and arch/um/kernel/mem.c. >>I added "fastcall" in arch/um/kernel/mem.c, then the build succeeded. >> >>But now the kernel crashes on startup. Please ignore the error messages >>regarding ext3.ko. For the "first shot" I didn't update the initrd. >>But the kernel should handle the fs in ext2-mode anyway. >> >>Bodo > > It seems (I've just read it in the ML, not very clearly) that this is > addressed by: Yes. That caker pointed out on #uml. But there is another crash, that happens sometimes only, since it's dependend on timing. To fix this other one, you need the appended patch too. > > http://marc.theaimsgroup.com/?l=linux-kernel&m=110117212115156&w=2 > > I.e. it's a host kernel bug with quotas and DevFS (or whatever). The marked > portion of the traces match. > >>Error messages from SKAS: > > >>Call Trace: > > [...] > >> [] invalidate_bh_lru+0x19/0x40 >> [] invalidate_bh_lrus+0xa/0x10 > > ** > >> [] vfs_quota_off+0xa8/0x220 >> [] do_umount+0x1b1/0x1d0 >> [] sys_umount+0x67/0x90 > > ** > >> [] handle_page_fault+0x16b/0x1f0 >> [] segv+0x85/0x1e0 >> [] execute_syscall_skas+0xda/0x120 >> [] record_syscall_start+0x4c/0x60 >> [] handle_syscall+0x30/0x60 >> [] handle_trap+0x30/0x130 >> [] userspace+0x188/0x1e0 >> [] fork_handler+0x0/0x80 >> [] __restore+0x0/0x8 >> [] fork_handler+0x0/0x80 >> [] __kill+0x11/0x20 >> >> >> >>Error messages from TT: > > >>Call Trace: > > [...] > ** > >> [] vfs_quota_off+0xa8/0x220 >> [] do_umount+0x1b1/0x1d0 >> [] sys_umount+0x67/0x90 > > ** > >> [] sys_execve+0x3f/0x50 >> [] sigemptyset+0x24/0x40 >> [] execute_syscall_tt+0xda/0x120 >> [] record_syscall_start+0x4c/0x60 >> [] syscall_handler_tt+0x3f/0x70 >> [] sig_handler_common_tt+0x8d/0x110 >> [] sig_handler+0x1e/0x40 >> [] __restore+0x0/0x8 > > > --------------070201080209060005040409 Content-Type: text/x-diff; name="timer-context.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="timer-context.patch" --- a/arch/um/kernel/time_kern.c 2004-11-29 16:10:48.766132965 +0100 +++ b/arch/um/kernel/time_kern.c 2004-11-29 16:11:04.423088221 +0100 @@ -155,7 +155,7 @@ void __const_udelay(unsigned long usecs) void timer_handler(int sig, union uml_pt_regs *regs) { local_irq_disable(); - update_process_times(user_context(UPT_SP(regs))); + update_process_times(CHOOSE_MODE(user_context(UPT_SP(regs)), (regs)->skas.is_user)); local_irq_enable(); if(current_thread->cpu == 0) timer_irq(regs); --------------070201080209060005040409-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel