Date: Fri, 19 Feb 2016 11:14:16 +0100 From: Henning Schild Message-ID: <20160219111416.5b64c561@md1em3qc> In-Reply-To: <20160208224930.GF5654@hermes.click-hack.org> References: <20160206134652.GI11143@hermes.click-hack.org> <1684684796.1604350.1454943252058.JavaMail.yahoo@mail.yahoo.com> <20160208224930.GF5654@hermes.click-hack.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Gilles Chanteperdrix Cc: "xenomai@xenomai.org" , Frederik Bayart On Mon, 8 Feb 2016 23:49:30 +0100 Gilles Chanteperdrix wrote: > 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. The issue can be solved with the right config. Is that something we should make more explicit? i.e. config depend Did you also look into reproducing it on 4.1? I could test 4.1 and provide patches. Henning