New and Working RTAI debs for 2.9

More
9 months 2 weeks ago #341323 by cnbbom

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.

More
9 months 2 weeks ago #341329 by andypugh

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
9 months 2 weeks ago #341332 by cnbbom

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
9 months 2 weeks ago #341333 by cnbbom

 

 

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.

More
9 months 2 weeks ago #341368 by andypugh
So, are you saying that
"addf pwmgen.make-pulses base-thread"
Causes the PC to shut down and need a reset?

Is it possible that your base-thread period is shorter than the base-thread latency?

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

More
9 months 2 weeks ago #341376 by cnbbom

So, are you saying that
"addf pwmgen.make-pulses base-thread"
Causes the PC to shut down and need a reset?

Is it possible that your base-thread period is shorter than the base-thread latency?
Yes, disabling that line makes everything work except for the PWM spindle.

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

Time to create page: 0.512 seconds
Powered by Kunena Forum