Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 20 Feb 2003 00:57:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 20 Feb 2003 00:57:43 -0500 Received: from modemcable092.130-200-24.mtl.mc.videotron.ca ([24.200.130.92]:51030 "EHLO montezuma.mastecende.com") by vger.kernel.org with ESMTP id ; Thu, 20 Feb 2003 00:57:41 -0500 Date: Thu, 20 Feb 2003 01:05:45 -0500 (EST) From: Zwane Mwaikambo X-X-Sender: zwane@montezuma.mastecende.com To: Linus Torvalds cc: Chris Wedgwood , Kernel Mailing List , "Martin J. Bligh" , Ingo Molnar , William Lee Irwin III Subject: Re: doublefault debugging (was Re: Linux v2.5.62 --- spontaneous reboots) In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3434 Lines: 101 On Wed, 19 Feb 2003, Linus Torvalds wrote: > + printk("esi = %08lx, edi = %08lx, %ebp = %08lx\n", > + t->esi, t->edi, t->ebp); Too much AT&T for you ;) '%ebp' > + * We could print out the stack contents here: esp0 > + * is the beginning of the stack, we could print out > + * all the code points we can find underneath it or > + * something.. > + */ Simulator managed to dump stack for me, nothing interesting though > + > + /* This might be a point to try to kill the process and clean up */ > + t->esp = esp0; > + t->eip = (unsigned long) do_exit; > + asm volatile("iret"); > } > } > > > Here is what i managed to fish out from the sim, not a real call trace, i just piped the stack contents through ksymoops. Trace; c02b97ec Trace; c02b97ee Trace; c02b97f0 Trace; c02b97f2 Trace; c02b97f4 Trace; c02b97f6 Trace; c02b97f8 Trace; c02b97fa Trace; c02b97fc Trace; c02b97fe Trace; c02b9800 Trace; c02b9802 Trace; c02b9804 Trace; c02b9806 Trace; c02b9808 Trace; c02b980a Trace; c02b980c Trace; c02b980e Trace; c02b9810 Trace; c02b9812 Trace; c02b9814 Trace; c02b9816 Trace; c02b9818 Trace; c02b981a Trace; c02b981c Trace; c02b981e Trace; c02b9820 Trace; c02b9822 Trace; c02b9824 Trace; c02b9826 Trace; c02b9828 Trace; c02b982a Trace; c02b982c Trace; c02b982e Trace; c02b9830 Trace; c02b9832 Trace; c02b9834 Trace; c02b9836 Trace; c02b9838 Trace; c02b983a Trace; c02b983c Trace; c02b983e Trace; c02b9840 Trace; c02b9842 Trace; c02b9844 Trace; c02b9846 Trace; c02b9848 Trace; c02b984a Trace; c02b984c Trace; c02b984e Trace; c02b9850 Trace; c02b9852 Trace; c02b9854 Trace; c02b9856 Trace; c02b9858 Trace; c02b985a Trace; c02b985c Trace; c02b985e Trace; c02b9860 Trace; c02b9862 Trace; c02b9864 Trace; c02b9866 Trace; c02b9868 Trace; c02b986a -- function.linuxpower.ca - 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/