Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 19 Feb 2003 23:58:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 19 Feb 2003 23:58:21 -0500 Received: from holomorphy.com ([66.224.33.161]:16541 "EHLO holomorphy") by vger.kernel.org with ESMTP id ; Wed, 19 Feb 2003 23:58:21 -0500 Date: Wed, 19 Feb 2003 21:07:22 -0800 From: William Lee Irwin III To: Linus Torvalds Cc: Zwane Mwaikambo , Chris Wedgwood , Kernel Mailing List , "Martin J. Bligh" , Ingo Molnar Subject: Re: doublefault debugging (was Re: Linux v2.5.62 --- spontaneous reboots) Message-ID: <20030220050722.GY29983@holomorphy.com> Mail-Followup-To: William Lee Irwin III , Linus Torvalds , Zwane Mwaikambo , Chris Wedgwood , Kernel Mailing List , "Martin J. Bligh" , Ingo Molnar References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Organization: The Domain of Holomorphy Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1285 Lines: 28 On Wed, Feb 19, 2003 at 08:52:46PM -0800, Linus Torvalds wrote: > Whee. So the double-fault patch actually ends up being useful? It didn't > help with Chris' problem, but hey, if it helps with something else.. > Anyway, that %esp is crap, which also explains this: >> 0xc01181c4 : mov %eax,0xc(%esp,1) > Took a page fault because 0xc(%esp) wasn't there, and the page fault > couldn't write the fault trace to the stack (same reason), so you got a > double fault. Not sure where he got his %esp, but I extracted the following: MAXMEM=0x33e00000 vmalloc: start = 0xf3e1f000, end = 0xfbe21000 fixaddr: start = 0xfbe23000, end = 0xfffff000 which means somehow %esp landed in an unmapped tidbit in the middle of of vmallocspace that isn't even mapped. I highly suspect rounding errors of mine since I squished vmallocspace, fixmapspace, and the physical mapping so close together they might share L3 pagetables, i.e. they're separated by 2*MMUPAGE_SIZE instead of customary 8MB or so. -- wli - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/