[Rtai] Segfaults when accessing some rtai functions
mantegazza at aero.polimi.it
Wed Mar 9 08:35:16 CET 2011
Erik Rull wrote:
> Hi all,
> I've upgraded from 3.7.1 to rtai 3.8.1 and a lot of functions are
> running fine.
> But the User Space Interrupt handling seems not to work.
> When I access any of these functions I get a segfault:
> I've also added into the rt_disable_irq() function a rt_printk() to see
> some debug output, but this portion of code seems never to be reached!
> So the error seems to be "somewhere" between the userspace program and
> the kernel driver. The kernel modules are loaded and I've strace'd my
> compiler output to ensure that include files and the linked lxrt are
> used correctly.
> Any ideas where I can further debug into to see what is going wrong there?
> rt_printk and the non-root-hrt enabling function and also the irq task
> setting works fine.
> My kernel is 18.104.22.168 - yes not .11 but .12 was patchable as well. I
> neede that version because the new drivers of the new hardware required
> that version.
> Thanks a lot.
Did you config RTAI for user space interrupts?
> Best regards,
> Rtai mailing list
> Rtai at rtai.org
More information about the Rtai