Skip to contentSkip to conversation

rt_intr_create fails, err = 38 (ENOSYS)

Xenomai-help Hans Søndergaard (HSO) 2 participants 2 messages Feb 27, 2008 – Feb 28, 2008

lore
Share & tools
lore
#0 lore raw

My rt_tasks (periodic) and rt_events work now. Next I have started using interrupts: rt_intr_create.

It fails with return value = 38 (ENOSYS).

I follow the template from Xenomai's homepage: user_irq.c

In .config I have set: CONFIG_XENO_NATIVE_INTR=y.

Have you any suggestions to solve the problem?
I have noticed that Sarra Risto had the same problem (December 18, 2007).

Hans

#1 lore raw
Quoted 8 lines · Hans Søndergaard (HSO)

My rt_tasks (periodic) and rt_events work now. Next I have started using interrupts: rt_intr_create.

It fails with return value = 38 (ENOSYS).

I follow the template from Xenomai's homepage: user_irq.c

In .config I have set: CONFIG_XENO_NATIVE_INTR=y.

Are you sure you are actually running the related kernel? At least, it is one of my favorite mistakes to mess up the built and the actually installed/execute kernel and modules. To check if the kernel (or the modules, accordingly) contains those services run

objdump -t vmlinux | grep rt_intr

Jan