rt_intr_create fails, err = 38 (ENOSYS)
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
Quoted 8 lines · Hans Søndergaard (HSO)
My
rt_tasks(periodic) andrt_eventswork 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.cIn .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