Subject: Re: [Xenomai-core] Problem with periodic timer on PPC40x solved From: Philippe Gerum In-Reply-To: <200609262134.48627.niklaus.giger@domain.hid> References: <200609232013.27649.niklaus.giger@domain.hid> <1159217987.4981.10.camel@domain.hid> <200609252315.38689.niklaus.giger@domain.hid> <200609262134.48627.niklaus.giger@domain.hid> Content-Type: text/plain Date: Tue, 26 Sep 2006 21:48:39 +0200 Message-Id: <1159300119.5084.173.camel@domain.hid> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: rpm@xenomai.org List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: niklaus.giger@domain.hid Cc: xenomai@xenomai.org On Tue, 2006-09-26 at 21:34 +0200, Niklaus Giger wrote: > Here is the stack with adeos-ipipe 1.3 after applying your patch > > (gdb) info stack > #0 xnpod_fault_handler (fltinfo=0xc1489e18) at > kernel/xenomai/nucleus/pod.c:216 > #1 0xc004bad4 in xnpod_trap_fault (fltinfo=0x73) at > kernel/xenomai/nucleus/pod.c:2907 > #2 0xc0043ee8 in xnarch_trap_fault (event=115, domid=0, data=0xc01a9435) at > include/asm/xenomai/bits/init.h:46 > #3 0xc012dc38 in exception_event (event=3223286668, ipd=0x0, data=0xc01a9435) > at arch/ppc/xenomai/hal.c:385 > #4 0xc003fe18 in __ipipe_dispatch_event (event=0, data=0xc1489f50) at > kernel/ipipe/core.c:665 > #5 0xc000aecc in do_page_fault (regs=0xc1489f50, address=268448708, > error_code=0) at include/linux/ipipe.h:445 > #6 0xc0003258 in handle_page_fault () The function parameters look weird, but the backtrace seems ok. This tells us that it's not related to FPU emulation, but rather to an invalid memory access. > Previous frame inner to this frame (corrupt stack?) > (gdb) > > Hope it helps you -- Philippe.