New and Working RTAI debs for 2.9

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
11 Jan 2026 21:28 #341298 by tommylight
Replied by tommylight on topic New and Working RTAI debs for 2.9

The Kernel Headers are not available for download. Is it necessary, or can I use the one I have here?

Your last link has the headers
drive.google.com/file/d/1fwGb5Qo9pw8lGLp.../view?usp=drive_link

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

More
12 Jan 2026 15:56 #341312 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9
Finally, I managed to get these results working as shown in the photos, however there is a problem: if I enable spindle pwm, spindle cw, and amplify enable vm, an error screen appears.
Attachments:

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

More
12 Jan 2026 17:24 #341316 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9
It would be good if there were more reports from people who have now installed RTAI without freezing, restarting, or crashing. Because now I realize that something between RTAI and my CPU doesn't work, and the problem is getting the spindle to work through automatic control. For now, I can use the spindle manually on its keyboard since, for the first time, I can control the machine with RTAI.

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

  • andypugh
  • andypugh's Avatar
  • Away
  • Moderator
  • Moderator
More
12 Jan 2026 18:31 #341318 by andypugh
Replied by andypugh on topic New and Working RTAI debs for 2.9
What's the error? Spindles are often a source of electrical noise. Do you see the error even if the spindle hardware is not connected?

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

  • andypugh
  • andypugh's Avatar
  • Away
  • Moderator
  • Moderator
More
12 Jan 2026 18:35 #341319 by andypugh
Replied by andypugh on topic New and Working RTAI debs for 2.9

The Kernel Headers are not available for download. Is it necessary, or can I use the one I have here?

The ones on the server are the ones you provided, so yes. 
But you don't need them unless you are compiling from source. 
And this link works for me... www.linuxcnc.org/dists/trixie/base/binar...ai-amd64-1_amd64.deb

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

More
12 Jan 2026 19:46 #341321 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9

andypugh post=341318 userid=723Qual é o erro? Os eixos são frequentemente uma fonte de ruído elétrico. O erro persiste mesmo com o hardware do eixo desconectado?

The error consists of: creating a machine in linuxcnc, I follow these options that allow me to use automatic spindle control. But after completing the configuration and opening linuxcnc, the PC shuts down, and I need to reset the PC.
This is my configuration in the photo, but if I disable:
spindle pwm,
spindle cw
amplify enable      I can operate the machine.
Attachments:

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

More
12 Jan 2026 19:47 #341323 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9

The Kernel Headers are not available for download. Is it necessary, or can I use the one I have here?

The ones on the server are the ones you provided, so yes. 
But you don't need them unless you are compiling from source. 
And this link works for me... www.linuxcnc.org/dists/trixie/base/binar...ai-amd64-1_amd64.deb

Thanks, Tommylight told me it was the same one I already had here.

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

  • andypugh
  • andypugh's Avatar
  • Away
  • Moderator
  • Moderator
More
12 Jan 2026 20:40 #341329 by andypugh
Replied by andypugh on topic New and Working RTAI debs for 2.9

The error consists of: creating a machine in linuxcnc, I follow these options that allow me to use automatic spindle control. But after completing the configuration and opening linuxcnc, the PC shuts down, and I need to reset the PC.
 

Is this also the case with the 5.4.279 kernel? 

Can you try commenting out the "addf pwmgen...." in the HAL file? 
(this will prevent the spindle PWM working, but will give some indication where the problem might be) 

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

More
12 Jan 2026 21:35 #341332 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9

The error consists of: creating a machine in linuxcnc, I follow these options that allow me to use automatic spindle control. But after completing the configuration and opening linuxcnc, the PC shuts down, and I need to reset the PC.
 

Is this also the case with the 5.4.279 kernel? 

Can you try commenting out the "addf pwmgen...." in the HAL file? 
(this will prevent the spindle PWM working, but will give some indication where the problem might be) 

Yes, it happens with kernel 5.4.279.
And perhaps it's a detail that some have overlooked with this "return to login screen and black screen" freezing factor. But without a doubt, on this same PC that I tried several times with Debian 12 RTAI without success, it finally ran the Linux RTAI that you modified. The PWM and spindle issue is another task that will eventually lead to a solution. In the meantime, I'll keep testing and posting the results if you discover any clues.

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

More
12 Jan 2026 23:31 #341333 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9

 

 

Is this also the case with the 5.4.279 kernel? 

Can you try commenting out the "addf pwmgen...." in the HAL file? 
(this will prevent the spindle PWM working, but will give some indication where the problem might be) 

I commented out a # in this line:
#addf pwm gen.make-pulsos base-thread
The spindle doesn't spin, but at least the inverter turns on now.

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

Time to create page: 0.135 seconds
Powered by Kunena Forum