Mohsen Alizadeh Noghani
2018-11-15 11:14:48 UTC
I'm curious, why would one need to use RTAI 5.1 with an i5 CPU?
Best,
Mohsen
Best,
Mohsen
Send Rtai mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Rtai digest..."
1. Re: ?TIMER_8254_IRQ? undeclared (Paolo Mantegazza)
----------------------------------------------------------------------
Message: 1
Date: Mon, 12 Nov 2018 21:19:26 +0000
Subject: Re: [Rtai] ?TIMER_8254_IRQ? undeclared
Content-Type: text/plain; charset="Windows-1252"
I do not know why you need the 8254 timer but, since you have a TSC in your cpu flags, RTAI does not need an 8254 for sure.
Thus, in relation to RTAI, you have just to compile your kernel with an INTEL CORE CPU, to be selected under "Processer type and features -> Processor family".
Moreover, since you have an I5 Core, you should use RTAI-5.1.
Paolo
________________________________________
Paolo,
Here is my cpu info
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Stepping: 9
CPU MHz: 3408.009
BogoMIPS: 6816.01
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch ida arat epb pln pts dtherm hwp hwp_noitfy hwp_act_window hwp_epp intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1
when I was configuring my kernel to compile my slected cpu was generic-x86_64 as architecture.
________________________________________
Sent: Monday, November 12, 2018 1:36 PM
Subject: [Rtai] ?TIMER_8254_IRQ? undeclared
Dear all,
I am trying to update a rtai system currently running with RTAI 3.9 to RTAI 5.0.1. When I compile my system I am getting the error "?TIMER_8254_IRQ? undeclared". At first I thought it was a library inclusion error, so I double checked the libraries included between my version using RTAI 3.9 and my version using RTAi 5.0.1 and there is no library missing at first. I'd like to know if this "TIMER_8254_IRQ" is no longer supported on RTAI, and if this is the case how should I proceed to update my calls to that or, if this macro still exists, how can I make my system recognize this macro with RTAi 5.0.1?
I am also letting my compiling log for this particular system, osLx26 is my kernel module main file.
make -C /lib/modules/4.1.18-rtai/build SUBDIRS=/home/gmtbro/repos/samplus/rtcore modules
make[1]: Entering directory `/usr/src/kernels/4.1.18-rtai'
CC [M] /home/gmtbro/repos/samplus/rtcore/osLx26.o
/home/gmtbro/repos/samplus/rtcore/osLx26.c:257:24: error: ?TIMER_8254_IRQ? undeclared (first use in this function)
rt_assign_irq_to_cpu(TIMER_8254_IRQ, TIMER_TO_CPU);
^
/home/gmtbro/repos/samplus/rtcore/osLx26.c:257:24: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/home/gmtbro/repos/samplus/rtcore/osLx26.o] Error 1
make[1]: *** [_module_/home/gmtbro/repos/samplus/rtcore] Error 2
make[1]: Leaving directory `/usr/src/kernels/4.1.18-rtai'
If I just remove the rt_assign_irq_to_cpu function call the compiller starts to return errors in the kmalloc definition at linux/slab.h, so another question would be: is this error somehow related to the TIMER_8254_IRQ macro?
Thanks in advance,
Victor Costa
------------------------------
Subject: Digest Footer
_______________________________________________
Rtai mailing list
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
------------------------------
End of Rtai Digest, Vol 131, Issue 12
*************************************
To subscribe or unsubscribe via the World Wide Web, visit
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Rtai digest..."
1. Re: ?TIMER_8254_IRQ? undeclared (Paolo Mantegazza)
----------------------------------------------------------------------
Message: 1
Date: Mon, 12 Nov 2018 21:19:26 +0000
Subject: Re: [Rtai] ?TIMER_8254_IRQ? undeclared
Content-Type: text/plain; charset="Windows-1252"
I do not know why you need the 8254 timer but, since you have a TSC in your cpu flags, RTAI does not need an 8254 for sure.
Thus, in relation to RTAI, you have just to compile your kernel with an INTEL CORE CPU, to be selected under "Processer type and features -> Processor family".
Moreover, since you have an I5 Core, you should use RTAI-5.1.
Paolo
________________________________________
Paolo,
Here is my cpu info
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Stepping: 9
CPU MHz: 3408.009
BogoMIPS: 6816.01
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch ida arat epb pln pts dtherm hwp hwp_noitfy hwp_act_window hwp_epp intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1
when I was configuring my kernel to compile my slected cpu was generic-x86_64 as architecture.
________________________________________
Sent: Monday, November 12, 2018 1:36 PM
Subject: [Rtai] ?TIMER_8254_IRQ? undeclared
Dear all,
I am trying to update a rtai system currently running with RTAI 3.9 to RTAI 5.0.1. When I compile my system I am getting the error "?TIMER_8254_IRQ? undeclared". At first I thought it was a library inclusion error, so I double checked the libraries included between my version using RTAI 3.9 and my version using RTAi 5.0.1 and there is no library missing at first. I'd like to know if this "TIMER_8254_IRQ" is no longer supported on RTAI, and if this is the case how should I proceed to update my calls to that or, if this macro still exists, how can I make my system recognize this macro with RTAi 5.0.1?
I am also letting my compiling log for this particular system, osLx26 is my kernel module main file.
make -C /lib/modules/4.1.18-rtai/build SUBDIRS=/home/gmtbro/repos/samplus/rtcore modules
make[1]: Entering directory `/usr/src/kernels/4.1.18-rtai'
CC [M] /home/gmtbro/repos/samplus/rtcore/osLx26.o
/home/gmtbro/repos/samplus/rtcore/osLx26.c:257:24: error: ?TIMER_8254_IRQ? undeclared (first use in this function)
rt_assign_irq_to_cpu(TIMER_8254_IRQ, TIMER_TO_CPU);
^
/home/gmtbro/repos/samplus/rtcore/osLx26.c:257:24: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/home/gmtbro/repos/samplus/rtcore/osLx26.o] Error 1
make[1]: *** [_module_/home/gmtbro/repos/samplus/rtcore] Error 2
make[1]: Leaving directory `/usr/src/kernels/4.1.18-rtai'
If I just remove the rt_assign_irq_to_cpu function call the compiller starts to return errors in the kmalloc definition at linux/slab.h, so another question would be: is this error somehow related to the TIMER_8254_IRQ macro?
Thanks in advance,
Victor Costa
------------------------------
Subject: Digest Footer
_______________________________________________
Rtai mailing list
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
------------------------------
End of Rtai Digest, Vol 131, Issue 12
*************************************