ts-7000
[Top] [All Lists]

[ts-7000] Reboot issue with RTAI Application on the 7260

To:
Subject: [ts-7000] Reboot issue with RTAI Application on the 7260
From: "jywmpg" <>
Date: Tue, 17 Apr 2007 13:02:26 -0000
Hi all,

My question is: Do I need to do something special to start/stop RTAI
applications from an /etc/init.d script?

Background:

I am developing an RTAI application that runs under a server that in
turn is started/stopped via an /etc/init.d script.  The init.d script
starts the server, which then spawns rtai-load to run the RTAI
application.  

The RTAI application is similar to the 'latency' and 'display' test
programs in the latency test suite.  The hard real time part runs
every half second to do some DIO operations then report results to the
non-real time part via an rt mailbox.  There is a second rt mailbox
for sending commands to the real time component from the non-real time
 side.

I am having a problem with the reboot sequence.  When I issue the
'reboot' command, about a third of the time the system hangs just
after the TERM signal is sent to all tasks (literally half of the
message is printed on the console).  

Cycling power usually clears the problem, although sometimes there is
a similar problem on boot-up: The system will boot as normal, but hang
as the RTAI application is started up.

The init.d scripts works fine from the command line.  I can start/stop
the server and RTAI application at will without seeing the problem.

If I modify the server to not start the RTAI application, the reboot
sequence works just fine.  

My next test is to have the server actually start the latency test
suite program instead of the RTAI application and see if the problem
persists, but before I spend much more time on the issue, thought I
would see if anyone has had similar issues.


Regards,

jw




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU