LinuxCNC Error

More
05 Nov 2024 00:23 #313796 by Micro2000
LinuxCNC Error was created by Micro2000
I have 2.9.3 with the 5.4.258 RTAI kernal and am getting an error when starting my mill program.

     insmod: ERROR: could not load module /usr/realtime-5.4.258-rtai-amd64/modules/rtai_hal.ko: no such file or directory 

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
05 Nov 2024 06:30 #313812 by tommylight
Replied by tommylight on topic LinuxCNC Error
Do you also have the RTAI version of LinuxCNC? It seems you do as the .ko should be RTAI and .so should be Preempt.
Paste the full error report here, please.

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

More
05 Nov 2024 10:22 - 05 Nov 2024 10:23 #313824 by Micro2000
Replied by Micro2000 on topic LinuxCNC Error
After I got the error and copied that specific part the error changed it won't come back again.

How would I get an RTAI version of linuxcnc, I have been looking at the getting started and installing linuxcnc and haven't seen anything like that.

I am so confused right now because the documentation has instructions but it seems like packages are missing from the pre-made files, and the documentation that is stated does not work. Then when I go to forums I am being told that some things may be missing. I am so lost right now, I don't know what to follow and what to ignore, out of date info, what files do and don't work with each other...etc.
Last edit: 05 Nov 2024 10:23 by Micro2000.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
05 Nov 2024 11:02 #313831 by tommylight
Replied by tommylight on topic LinuxCNC Error
Normally after installing the 2.9.3 ISO, you should do
sudo apt purge linuxcnc-uspace
sudo apt install linuxcnc
then after reboot hold down the shift keys till you get the GRUB menu, there choose advanced options and select the one with RTAI in the name, enter.
Did you do this last step before testing?

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

More
05 Nov 2024 15:19 #313854 by Micro2000
Replied by Micro2000 on topic LinuxCNC Error
I never seen any documentation saying to use those commands in that way. I will try that and get back to you.

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

More
05 Nov 2024 20:05 #313867 by Micro2000
Replied by Micro2000 on topic LinuxCNC Error
when I run "sudo apt install linuxcnc" it returns

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package linuxcnc is not available, but is referred to by another package.
This may mean that the package is missing, has ben obsoleted, or is
only available from another source

E: Package 'linuxcnc' has no installation candidate

 

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

More
05 Nov 2024 22:38 #313870 by Micro2000
Replied by Micro2000 on topic LinuxCNC Error
Maybe it will work but I am going to try the file from the downloads page at the LinuxCNC Packages "LinuxCNC package for RTAI Kernal 5.4.258" the file is labeled as "linuxcnc_2.9.3_amd64.deb"

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
06 Nov 2024 07:25 #313897 by tommylight
Replied by tommylight on topic LinuxCNC Error
Not sure what changed in 2.9.3, vut that was the procedure for 2.9.1 i think.
Let us know if it works.
Thank you.

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

More
06 Nov 2024 09:31 - 06 Nov 2024 09:39 #313916 by Micro2000
Replied by Micro2000 on topic LinuxCNC Error
Do you know how you would install the linuxcnc package? I thought I knew, but I wasn't able to accomplish it.
Last edit: 06 Nov 2024 09:39 by Micro2000.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
06 Nov 2024 11:50 - 06 Nov 2024 11:50 #313931 by tommylight
Last edit: 06 Nov 2024 11:50 by tommylight.

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

Time to create page: 0.498 seconds
Powered by Kunena Forum