Date: Mon, 8 Feb 2016 23:49:30 +0100 From: Gilles Chanteperdrix Message-ID: <20160208224930.GF5654@hermes.click-hack.org> References: <20160206134652.GI11143@hermes.click-hack.org> <1684684796.1604350.1454943252058.JavaMail.yahoo@mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1684684796.1604350.1454943252058.JavaMail.yahoo@mail.yahoo.com> Subject: Re: [Xenomai] ipipe tracer call trace during boot List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Frederik Bayart Cc: "xenomai@xenomai.org" On Mon, Feb 08, 2016 at 02:54:12PM +0000, Frederik Bayart wrote: > > On Saturday, 6 February 2016, 14:46, Gilles Chanteperdrix wrote: > > > > On Fri, Feb 05, 2016 at 11:13:56AM +0000, Frederik Bayart wrote: > > > > > I have build an 3.18.20 kernel with xenomai 2.6.4 git latest with ipipe-core-3.18.20-x86-4.patch on debian jessie amd64 (64bit). > > > > > > I try to build an version with ipipe tracer. > > > > > > If I try to boot, I get a call trace : in __ipipe_init_tracer : > > > > > > RIP __ipipe_tracer_hrclock_initialized > > > > Hi, > > > > the problem is probably the commit you found. Will try your > > configuration soon. > > > > Regards. > > -- > > Gilles. > > > I tried with ipipe-core-3.18.20-x86-2.patch with doesn't contain that commit and I have still a call trace : > > RIP __ipipe_init_tracer Hi, I could reproduce this issue. Running "addr2line" on the RIP points to __BUILTIN_RETURN_ADDRESS1. I tried enabling frame pointers (CONFIG_FRAME_POINTER=y) and the kernel does not crash. I suspect __builtin_return_address(1) relies in fact on frame pointers. Regards. -- Gilles. https://click-hack.org