Re: Userspace testsuite issues

Emmanuel Pacaud <[email protected]>
Newsgroups gmane.linux.real-time.rtai
Message-ID <[email protected]>
Le lun. 14 déc. 2015 à 11:51, Paolo Mantegazza 
<[email protected]> a écrit :
> On 12/14/2015 11:20 AM, Paolo Mantegazza wrote:
>> On 12/14/2015 10:48 AM, Emmanuel Pacaud wrote:
>>> 
>>> I have started the compilation 30 minutes ago, and it's still 
>>> running selfcalibrate.sh.
>> 
>> Let  me check if I forgot a loop stopper and fail. Meanwhile can you 
>> quickly set, by hand, use_tol in calibration/calibration_helper.c to 
>> 1000,  retry and let me know?
> 
> Sorry I missed the right names. You should change cal_tol from 50 to 
> 1000 in calibration/calibrate.c.
> Paolo

I have changed cal_tol value in calibrate.c, but I get teh same result: 
a never ending selfcalibrate.sh.

I don't know if it helps, but here is the content of the proc/rtai 
files while selfcalibrate.sh is running:

-bash-4.1# cat /proc/rtai/scheduler

RTAI LXRT Real Time Task Scheduler.

    Calibrated Time Base Frequency: 2996550000 Hz
    Calibrated interrupt to scheduler latency: 926 ns
    Calibrated oneshot timer setup_to_firing time: 73 ns

Number of RT CPUs in system: 4 (sized for 4)



Global heap: size =    2097152, used =      13056; <BSD>.
Kstack heap: size =     524288, used =          0; <BSD>.

Number of forced hard/soft/hard transitions: traps 0, syscalls 0

Priority  Period(ns)  FPU  Sig  State  CPU  Task  HD/SF  PID  RT_TASK * 
 TIME
------------------------------------------------------------------------------
1000000000 0           Yes  No  0x3    0:1   1      0    4196  
ffffc900118b2230   0
TIMED

READY
1000000010 0           Yes  No  0x3    1:2   2      0    4172  
ffffc900118b3230   0
TIMED

READY
0          0           Yes  No  0x0    2:4   3      1    4197  
ffffc900118b4230   0
TIMED

READY
TIMED

READY
-bash-4.1# cat /proc/rtai/names

RTAI LXRT Information.

    MAX_SLOTS = 150

                                         Linux_Owner         Parent PID
Slot Name   ID         Type   RT_Handle    Pointer   Tsk_PID   MEM_Sz   
USG Cnt
-------------------------------------------------------------------------------
 135 CALMNG 0x4ad9af2a TASK   0xffffc900118b3230 0x          (null)     
   0       4172       1
 158 THRSRV 0xb3b3a159 TASK   0xffffc900118b2230 0x          (null)     
   0       4196       1
 195 USRCAL 0xbb7b6aa7 TASK   0xffffc900118b4230 0x          (null)     
   0       4197       1
-bash-4.1# cat /proc/rtai/hal

** RTAI/x86:

    CPU   Frequency: 2996550000 (Hz)
    TIMER Frequency: 93641996 (Hz)
    TIMER Latency: 999 (ns)
    TIMER Setup: 73 (ns)

** Real-time IRQs used by RTAI:

    #4352 at ffffffffa03358eb
    #4353 at ffffffffa0335298
    #4355 at ffffffff810965da

** RTAI extension traps:

** RTAI SYSREQs in use: #1

** MASK OF CPUs ISOLATED FOR RTAI: 0x0.

	Emmanuel.

_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.