New and Working RTAI debs for 2.9

More
2 years 1 week ago #312782 by NTULINUX
Hey Philip, someone had issues with the 5.4.279 kernel, which RTAI kernel did you decide to go with?

If you don't remember or not sure, run:
Code:
uname -r

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago - 1 year 10 months ago #316977 by Elco
I have started to set up LCNC with the RT kernel on my system (N3150 AMD630) running a fresh installation of LMDE6. I disabled UEFI and a list of other parameters as recommended eslsewhere, and used the download instructions at the top of this topic (the 5.4.279 versions).

At boot, if I select 'advanced option' I can select LMDE6 with Linux 5.4.279-rtai-amd64.

However, I get the following error:
bad shim signature
error: you need to load the kernel first.

I assume I have skipped something in the setup process. What should I do to correct this?

Update: This was fixed by (again) disabling secure boot - although it keeps saying it is enabled.
$ uname -a tells it is running rtai-amd64
There was a warning that the kernel was not compiled with ?? (message disappeared fast) but the system runs.
Now will try LCNC.

Update2: Switched Mainboard to A960D+ (6 core AMD), installed Debian12 and the rtai debs. Removed in BIOS anything not needed for a legacy setup. After setting isolcpu parameters (2, 4,5 - thanks for rt_setup.sh !!) got the best legacy timing ever on one of my systems: 6 - 8 uSec with 4 gears and a lot of browsing. Will test and apply the rtai version on my other systems as well.

Thanks and Regards,
Robert

 
Last edit: 1 year 10 months ago by Elco. Reason: After much experimenting got great results.

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago #317039 by Onrddd
Hi everyone, total noob here. I'm experinenting the linuxcnc. I have an asrock j3355b board. I'm planning to use it with parallel port. I tried to install debian and linux cnc 2.9.2 but I cannot solve the kernel issue. When I install debian 12 it comes with kernel 6.x.x and all the RTAI kernel and other stuff is for kernel 5.4. as I understand that kernel and RTAI packages needs to be same. How do you install debian 12 RTAI, please help or direct me to correct direction.image missing /media/kunena/emoticons/smile.png

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago #317044 by Elco
I assume that this procedure does not work when starting with a clean version of LMDE6? I tried on several systems, but I get long lists with missing python modules and the grub menu does not work.

Regards, Rob

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago - 1 year 10 months ago #317285 by Elco
After installation of the 5.4.279 rtai kernel + the matching Lcnc version  and a reboot, applying rt_setup and rebooting again,
starting a the axis demo for the first time often causes the system to hang or the run to abort with errors.
This happened with about 7 tries on two different systems (a 4 core Intel - isolcpu=3 and a 6 core AMD - isolcpu=2,3,5).
Info attached, as well as a run of the RTAI testsuite (odt file).
The second start of the axis demo gives an RTAI warning, but ignoring that the demo works perfectly to the end.

Running the latency test for the first time usually shows permanent 0's for both fast clock and servo.
Starting the second time it works, but the servo thread is always 999725 at start, but clearing that both values stay below 10000 with multiple gears and browsing.

Edit: Any suggestions what is wrong here?
Thanks.

Robert



 
Last edit: 1 year 10 months ago by Elco.

Please Log in or Create an account to join the conversation.

More
1 year 8 months ago - 1 year 8 months ago #321772 by MTTI
Hello,

I installed the debs in the pinned link (5.4.279) on fresh Debian 12 and booted on this kernel but when I launch LinuxCNC or even Latency test, the computer freeze...
I tried to disable many things in the BIOS...
I tried on another computer and it works, so I think this is hardware related...

sudo lscpu:
Code:
Architecture :                              x86_64   Mode(s) opératoire(s) des processeurs :   32-bit, 64-bit   Tailles des adresses:                     39 bits physical, 48 bits virtual   Boutisme :                                Little Endian Processeur(s) :                             4   Liste de processeur(s) en ligne :         0-3 Identifiant constructeur :                  GenuineIntel   Identifiant constructeur du BIOS :        Intel(R) Corporation   Nom de modèle :                           Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz     Nom de modèle BIOS :                    Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz To Be Filled By O.E.M. CPU @ 1.7GHz     Famille de processeur BIOS :            198     Famille de processeur :                 6     Modèle :                                142     Thread(s) par cœur :                    1     Cœur(s) par socket :                    4     Socket(s) :                             1     Révision :                              10     multiplication des MHz du/des CPU(s) :  99%     Vitesse maximale du processeur en MHz : 1800,0000     Vitesse minimale du processeur en MHz : 400,0000     BogoMIPS :                              3999,93     Drapeaux :                              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 art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl est tm2 ssse3 s                                             dbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb i                                             nvpcid_single pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsave                                             c xgetbv1 xsaves dtherm arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities Caches (somme de toutes) :                     L1d :                                     128 KiB (4 instances)   L1i :                                     128 KiB (4 instances)   L2 :                                      1 MiB (4 instances)   L3 :                                      8 MiB (1 instance) NUMA :                                         Nœud(s) NUMA :                            1   Nœud NUMA 0 de processeur(s) :            0-3 Vulnérabilités :                               Gather data sampling :                    Mitigation; Microcode   Itlb multihit :                           KVM: Mitigation: VMX unsupported   L1tf :                                    Mitigation; PTE Inversion   Mds :                                     Mitigation; Clear CPU buffers; SMT disabled   Meltdown :                                Mitigation; PTI   Mmio stale data :                         Mitigation; Clear CPU buffers; SMT disabled   Reg file data sampling :                  Not affected   Retbleed :                                Mitigation; IBRS   Spec rstack overflow :                    Not affected   Spec store bypass :                       Mitigation; Speculative Store Bypass disabled via prctl   Spectre v1 :                              Mitigation; usercopy/swapgs barriers and __user pointer sanitization   Spectre v2 :                              Mitigation; IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected   Srbds :                                   Mitigation; Microcode   Tsx async abort :                         Not affected Do you have any suggestion? Thanks  
Last edit: 1 year 8 months ago by MTTI.

Please Log in or Create an account to join the conversation.

Time to create page: 0.459 seconds
Powered by Kunena Forum