[Rtai] porting application to new system

Paolo Mantegazza mantegazza at aero.polimi.it
Wed May 28 08:43:52 CEST 2008


JB wrote:
> OK, it is attached.
> 

Try disabling HPET first.

Paolo.

> 
> Paolo Mantegazza wrote:
> 
>> JB wrote:
>>
>>> Thank you for the response.  Yes, I double checked the cpu in the 
>>> linux kernel config.  It is a core2 processor and that is selected in 
>>> the linux config and RTAI is configured to compile against the 
>>> correct linux source tree.  I did read some things about calibration 
>>> in the docs.  Do I need to do anything with that?  Previously this 
>>> app was running on a different intel x86 cpu at a different 
>>> frequency.  Is that a problem? Must I recalibrate/retune this thing 
>>> on the new proc?
>>>
>>
>> I do not think is a matter of calibrating, that is just to slice the 
>> latest us. My suspect is still there is something in your 
>> configuration that must be disabled. Send your Linux config.
>>
>> Paolo.
>>
>>
>>
>>> Jared
>>>
>>>
>>>
>>> Paolo Mantegazza wrote:
>>>
>>>> JB wrote:
>>>>
>>>>> Hi, I have a real time application that I am porting from an older 
>>>>> RTAI version on a fedora core 3 base system to RTAI 3.6 on fedora 
>>>>> core 8 with a 2.6.23.0 kernel.
>>>>>
>>>>> I have the real time extensions installed and have run the test 
>>>>> applications successfully.  I recompiled the application I am 
>>>>> porting against the newer RTAI libraries and that seemed to go fine.
>>>>>
>>>>> As soon as the application I'm working with puts the system in hard 
>>>>> realtime mode, strange things start happening.  For example, the 
>>>>> ethernet port stops talking and all connections to the system are 
>>>>> lost.   Keystrokes do not appear on the console very fast and when 
>>>>> they do show up they get repeated a seemly random number of times 
>>>>> even though the key was not held down.
>>>>>
>>>>
>>>> Have you set the right CPU in Linux config?
>>>>
>>>> Paolo
>>>>
>>>>> I am hoping someone has either seen this kind of behavior before or 
>>>>> understands enough about how RTAI is implemented that they can 
>>>>> point me in the right direction to troubleshoot this problem.  
>>>>> Knowing or having an idea on where to start diagnosing this would 
>>>>> be helpful.  Are there new timings or is there profiling I need to 
>>>>> do to retune this app on this version of RTAI??
>>>>>
>>>>> Thanks in advance for any help you can provide!!
>>>>>
>>>>> _______________________________________________
>>>>> Rtai mailing list
>>>>> Rtai at rtai.org
>>>>> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
>>>>>
>>>>
>>>>
>>>
>>
>>




More information about the Rtai mailing list