Montec Lite LinuxCNC 2.8.2

More
23 Aug 2021 20:09 - 23 Aug 2021 20:13 #218542 by jischnei
I am using a old version and working fine.

Trying to install a new version 2.8.2  and It does not load the Montec Driver, giving the attached error

Thank you in advance for any help!

Regards,
Jimmy
Attachments:
Last edit: 23 Aug 2021 20:13 by jischnei. Reason: Clarify

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

More
23 Aug 2021 22:28 #218557 by tommylight
Just a stab in the dark, but there seems to be a missing component that is required.
Is there any file with the .comp extension in the config folder ?

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

More
23 Aug 2021 23:05 #218560 by PCW
Replied by PCW on topic Montec Lite LinuxCNC 2.8.2
That's the motenc driver that's missing.

It may be possible that the Motenc driver has not been
ported to Preempt-RT so requires an RTAI Kernel

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

More
24 Aug 2021 03:42 #218581 by cmorley
Replied by cmorley on topic Montec Lite LinuxCNC 2.8.2
Looking in the Make file - Peter nailed it.

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

More
24 Aug 2021 23:06 #218654 by jischnei
Replied by jischnei on topic Montec Lite LinuxCNC 2.8.2
We couldn't compile the source code and obtain the driver hal_motenc as so (shared object).

We are getting it as .ko

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

More
24 Aug 2021 23:27 #218657 by tommylight
linuxcnc.org/docs/2.8/html/getting-start...#cha:Installing-RTAI
Requires different kernel, instructions on installing it and the required version of LinuxCNC on the link.

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

More
25 Aug 2021 11:13 #218697 by jischnei
Replied by jischnei on topic Montec Lite LinuxCNC 2.8.2
Hello

I'm trying to load a montec driver, but until now, unsuccesfull

I'd followed this guide (linuxcnc.org/docs/html/code/building-linuxcnc.html#_realtime) to build my drivers, and got .ko drivers, modules and some other useful files to use LinuxCNC.

By the time, I saw the hal_montec.ko kernel driver depends "hal_lib, rtapi", which following rtapi module needs other libs (rtai_sched, rtai_hal).

When I try to load rtapi.ko, my machines complete freeze and I can't get any tip from here.

My Machine info:
uname: Linux linuxcnc 4.19.195-rtai-amd64 #5 SMP PREEMPT Sun Jul 11 19:13:27 BST 2021 x86_64 GNU/Linux
issue: Debian GNU/Linux 10 \n \l


My hal_montec.ko info:
filename:       /usr/src/build/rtlib/hal_motenc.ko
license:        GPL
description:    Driver for Vital Systems MOTENC-100 for EMC HAL
author:         Pete Vavaroutsos
depends:        hal_lib,rtapi
name:           hal_motenc
vermagic:       4.19.195-rtai-amd64 SMP preempt mod_unload

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

More
31 Aug 2021 13:21 #219243 by andypugh
Replied by andypugh on topic Montec Lite LinuxCNC 2.8.2
You can run LinuxCNC 2.8 on your current (old) system, assuming that it is at least Ubuntu 12.04 (or later) or Debian Wheezy (or later)

You should also be able to install the kernel and the LinuxCNC precompiled packages and get a working system including the Motenc driver.

(ie, there should be no need for you to compile anything)

The streamlined sequence is here: forum.linuxcnc.org/9-installing-linuxcnc...-cnc?start=20#217918

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

Time to create page: 0.127 seconds
Powered by Kunena Forum