Skip to contentSkip to conversation

ipipe tracer call trace during boot

Xenomai Frederik Bayart 3 participants 6 messages Feb 5, 2016 – Feb 19, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1019176459.3312173.1454670838251.JavaMail.yahoo.ref@mail.yahoo.com

#1 lore raw

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

I tried already :

- disabling tracing on boot
- enabling vmalloc'ed trace buffer
- reducing depth of trace log from 14 to 10

In attachment :

- my latest kernel config
- a screenshot from the call trace

Does anyone have a suggestion what could the problem ?
I noticed there was an issue with ipipe/tracer: allow hrclock late init (http://xenomai.org/pipermail/xenomai/2015-September/035172.html) but f I'm correct this patch is  integrated in ipipe-core-3.18.20-x86-4.patch

Kind regards,
Frederik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-3.18.20-amd64-ipipe-tracer
Type: application/octet-stream
Size: 115303 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20160205/a8210c32/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IMG_20160204_110412.jpg
Type: image/jpeg
Size: 1471099 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20160205/a8210c32/attachment.jpg>

#2 lore raw
Quoted 7 lines · Frederik Bayart

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.

Signature · 2 lines
					    Gilles.
https://click-hack.org
#3 lore raw
Quoted 10 lines · Gilles Chanteperdrix
Quoted 6 lines · Frederik Bayart

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 :

Quoted 10 lines
Quoted 1 line

RIP __ipipe_tracer_hrclock_initialized

Hi,

the problem is probably the commit you found. Will try your configuration soon.

Regards.

Signature · 1 line
                        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

Frederik

#4 lore raw
Quoted 17 lines · Frederik Bayart
Quoted 17 lines · Gilles Chanteperdrix
Quoted 7 lines · Frederik Bayart

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.

Quoted 8 lines
Quoted 3 lines

Regards.

Signature · 1 line
                        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.

Signature · 2 lines
					    Gilles.
https://click-hack.org
#5 lore raw
Quoted 23 lines · Gilles Chanteperdrix
Quoted 21 lines · Frederik Bayart
Quoted 10 lines · Gilles Chanteperdrix
Quoted 6 lines · Frederik Bayart

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 :

Quoted 8 lines
Quoted 1 line

RIP __ipipe_tracer_hrclock_initialized

Hi,

the problem is probably the commit you found. Will try your configuration soon.
--
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 :

Quoted 10 lines
Quoted 1 line

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.

Signature · 1 line
                        Gilles.

Problem solved. Thanx for the help.

Frederik

#6 lore raw
In reply to Gilles Chanteperdrix
Quoted 29 lines · On Mon, 8 Feb 2016 23:49:30 +0100 Gilles Chanteperdrix…
Quoted 28 lines · Frederik Bayart
Quoted 13 lines

On Saturday, 6 February 2016, 14:46, Gilles Chanteperdrix <[email protected]> wrote:

Quoted 8 lines · Frederik Bayart

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 :

Quoted 10 lines
Quoted 1 line

RIP __ipipe_tracer_hrclock_initialized

Hi,

the problem is probably the commit you found. Will try your configuration soon.

Regards.

Signature · 1 line
                        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 :

Quoted 8 lines
Quoted 1 line

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