/usr/share/linuxcnc/hallib/lathe.hal error
- Levi
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
06 Nov 2024 04:56 #313871
by Levi
/usr/share/linuxcnc/hallib/lathe.hal error was created by Levi
I created 1 config with pfconfig. no issues with this one. then i used pfconfig to create a second one and copy the same ini and hal files into the second config and im getting a /usr/share/linuxcnc/hallib/lathe.hal error addf failed / servo-thread not found. they should both be identical so im not sure why one would work but not the second one? im trying to create 2 different configs for the same machine. one with axis and one with probe basic.
anyone have any thoughts?
wopass:invoked with <> options
twopass:found /usr/share/linuxcnc/hallib/lathe.hal
twopass:found ./custom.hal
twopass: Error in file /usr/share/linuxcnc/hallib/lathe.hal:
addf failed
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using POSIX realtime
HAL: ERROR: thread 'servo-thread' not found
2323
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
anyone have any thoughts?
wopass:invoked with <> options
twopass:found /usr/share/linuxcnc/hallib/lathe.hal
twopass:found ./custom.hal
twopass: Error in file /usr/share/linuxcnc/hallib/lathe.hal:
addf failed
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using POSIX realtime
HAL: ERROR: thread 'servo-thread' not found
2323
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 3925
- Thank you received: 1687
06 Nov 2024 06:41 #313876
by Aciera
Looks like you are loading 'lathe.hal' and there is a conflict with a component that was already added in another hal file.
Copy/pasting entire hal and ini files between configs is rarely a good idea. I would suggest you only copy/paste lines you really need.
Replied by Aciera on topic /usr/share/linuxcnc/hallib/lathe.hal error
twopass: Error in file /usr/share/linuxcnc/hallib/lathe.hal:
addf failed
Looks like you are loading 'lathe.hal' and there is a conflict with a component that was already added in another hal file.
Copy/pasting entire hal and ini files between configs is rarely a good idea. I would suggest you only copy/paste lines you really need.
Please Log in or Create an account to join the conversation.
- Levi
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
07 Nov 2024 22:48 #314048
by Levi
Replied by Levi on topic /usr/share/linuxcnc/hallib/lathe.hal error
Thanks for the tip. It was loading the wrong file.
HAL files specified in the HALFILES variable are found using a search. If the named file is found in the directory containing the INI file, it is used. If the named file is not found in this INI file directory, a search is made using a system library of HAL files.
HAL files specified in the HALFILES variable are found using a search. If the named file is found in the directory containing the INI file, it is used. If the named file is not found in this INI file directory, a search is made using a system library of HAL files.
Please Log in or Create an account to join the conversation.
Time to create page: 0.114 seconds