Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-14-2005, 01:59 PM   #1
LQ Newbie
Registered: Mar 2005
Posts: 11

Rep: Reputation: 0
RTAI Proramming

Hi all,

This is kind of a shot in the dark as what I'm asking is very specialized, but here goes.

I'm running slackware on a PC at work, and I'm developing some RTAI modules and functionalities (this is done in C). So far, I've almost exculsively developed kernel modules using RTAI, but the latest piece cannot be a kernel module because I need to make use of user space libraries to do some serial I/O.

My solution is to use a lxrt process. I have a lxrt process that spawns from its parent process and then converts to hard real time and runs like a kernel module. This lxrt module accesses the same shared memory locations as the actual modules and everything seems fine on the surface. However, if I start and stop the lxrt module 6 or 7 times, the OS completely locks up as if I'm in a deadlock inside one of the realtime modules (I'm not).

I check using ipcs and the results are exactly what I would expect - I'm not leaving any stray shmems, semaphores or message queues... Does anyone know what might cause behavior like this?

Thanks in advance for any help


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack 10.2 Ker RTAI 3.1 Blank screen Pier Slackware 4 11-06-2005 02:29 PM
How to uninstall a RTAI patch satish427 Linux - Newbie 1 09-28-2004 11:01 PM
RTAI Installation problems saintt Linux - Software 0 10-31-2001 05:19 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration