Errors on start

More
01 Jan 2024 01:00 #289454 by ALANMTHOMASON
Errors on start was created by ALANMTHOMASON
Hi There...

I am seeing the following errors on startup of linuxcnc...I am using the 7i96s configuration in the mesa 'by_interface' configuration.  

  USRMOT: ERROR: command 30 timeout
  emcMotionInit: emcTrajInit failed

I am using a MESA 7i96s card.  This is a build of linuxcnc from source.  All the tests passed.  
Latency test results :
  1ms thread, 7000ns
  25us thread, 22448ns

The 25us thread result does not look great, I am also hoping to improve that, but I'm not sure if it is related or a different issue.

lsb_release -a
LSB Version: core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy

I have included more detailed information in the attachments. 

I have read in another issue that this could be a race condition...
github.com/LinuxCNC/linuxcnc/issues/2700

The GUI does come up (either Tklinuxcnc or Axis).  I wish to use Tklinuxcnc.  I am not at a point that I could tell if the motor outputs are working.  

I'm hoping that there is a workaround.

Thanks so much,
Alan

 
Attachments:

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
01 Jan 2024 03:35 #289459 by tommylight
Replied by tommylight on topic Errors on start


I am seeing the following errors on startup of linuxcnc...I am using the 7i96s configuration in the mesa 'by_interface' configuration.  

 

You should not use those configs, those are for testing and running without machines attached to the PC, make a new config using the included PncConf.
Although your card is found and initialized, so that might not be the issue here.


The 25us thread result does not look great, I am also hoping to improve that, but I'm not sure if it is related or a different issue.

 

No need for 25uS thread when using Mesa boards.
-
Ubuntu is to be avoided for LinuxCNC as they decided not to include real time kernels and made those available only to paying customers.
Download Debian 12.4 BookWorm OR Linux Mint Debian Edition 6, install it on HDD, then
sudo apt install linuxcnc-uspace
That will install everything including the real time kernel.

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

More
01 Jan 2024 15:37 #289478 by PCW
Replied by PCW on topic Errors on start
  USRMOT: ERROR: command 30 timeout
  emcMotionInit: emcTrajInit failed

Is a bug with the current master (2.10)

I would probably suggest using 2.9.2 until this is fixed
(though it does not seem fatal)
The following user(s) said Thank You: bkt

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

Time to create page: 0.204 seconds
Powered by Kunena Forum