Skip to contentSkip to conversation

kernel hangs when accessing /proc/xenomai/sched/stat

Xenomai thierry bultel 1 participant 2 messages Feb 8, 2017 – Feb 9, 2017

lore
Share & tools
lore
#0 lore raw

Dear all,

After some months away from the world of realtime applications, I am back on a project on which I want to use xenomai3 with cobalt.

The CPU is a IMX6solo

The linux kernel is the latest git://git.xenomai.org/ipipe.git, branch ipipe-4.4.y

The issue I have is reproducible on both xenomai-3 branches master & next

I simply do

#cat /proc/xenomai/sched/stat

and this hangs the system.

Best regards

#1 lore raw
Quoted 10 lines · thierry bultel

Dear all,

After some months away from the world of realtime applications, I am back on a project on which I want to use xenomai3 with cobalt.

The CPU is a IMX6solo

The linux kernel is the latest git://git.xenomai.org/ipipe.git, branch ipipe-4.4.y

Quoted 7 lines

The issue I have is reproducible on both xenomai-3 branches master & next

I simply do

#cat /proc/xenomai/sched/stat

and this hangs the system.

I had the opportunity to test on an IMX6Q
The kernel hang does not happen, regardless of CONFIG_SMP=y or not

However, the IMX6solo does not boot if CONFIG_SMP is not set,
and this, even without CONFIG_IPIPE.
It does boot with the vanilla 4.4.43, though, meaning that the bug is likely in the ipipe patch.

Quoted 13 lines

Best regards

_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai