Upgrading from Axis 2.3.1
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/hal_motenc.ko: No such device
./motenc_driver.hal:4: exit value: 1
./motenc_driver.hal:4: insmod for hal_motenc failed, returned -1
...
[ 1294.743862] MOTENC: ERROR, unknown card detected
There is unfortunately not much to go on there.
There is a fair bit of info about some other other problems, perhaps those are causing trouble later?
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 6356 bytes at offset 60 from buffer of size 4064.
libnml/cms/cms_in.cc 1378: CMS:(toolSts) Error writing 6356 bytes to global memory at offset 0x8055824
(See libnml/cms/cms_in.cc line 1381.)
This seems to be an issue with updating from 2.3 to 2.4 without following the update instructions:
forum.linuxcnc.org/38-general-linuxcnc-q...-2-4-upgrade-crashed
Please Log in or Create an account to join the conversation.
depending on mashine beond pc to start with DEBIAN stretch or old pc mint
and get the 2.8 Master
it is less work and brings fast fun
the Configs need to be overmake at all
Please Log in or Create an account to join the conversation.
Thank you Andy. I read through the thread you linked and I understand that I will need to remove the offending line from my INI file.
I also was trying to comprehend the documentation and ran across the HARDWARE DRIVERS > MOTENC DRIVER section. I guess i need to install a driver for the motenc card so I did this in the Terminal window:
cnc@cnc:~$ halrun
halcmd: loadrt hal_motenc
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/hal_motenc.ko: No such device
<stdin>:1: exit value: 1
<stdin>:1: insmod for hal_motenc failed, returned -1
See the output of 'dmesg' for more information.
halcmd: cnc@cnc:~$
BRIDGE
I do not know what this means so I'm stuck.
thanks
Sam
Please Log in or Create an account to join the conversation.
I am afraid that I know next-to-nothing about the Motenc cards.
But if you bought the card recently, perhaps you can get some help from Motenc?
Please Log in or Create an account to join the conversation.
LSPCI list the card as:
03:02.0Bridge: PLX Technology, inc. Device 3001 (rev 01)
I spoke with the manufacturer of the motenc card. they told me that the card was designed by the linuxCNC community and is only supported by the linuxCNC community. They do not provide drivers or any other support for this product.
I am guessing that if andypugh doesn't know anything about this card then nobody here does.
I have no idea what to do next
I suppose I could replace the motenc with something more common, but I don't know what that would be
Please Log in or Create an account to join the conversation.
www.amazon.in/SYB-SY-PCI10002-2Port-Para...Netmos/dp/B003D7TCZ6
Please Log in or Create an account to join the conversation.
I bought this one just to have, I haven't tried it yet but one of the first reviews that pops up it says compatible with Linux CNC.
www.amazon.in/SYB-SY-PCI10002-2Port-Para...Netmos/dp/B003D7TCZ6
The Motenc card is a completely different thing to that (which is just a parallel port card)
Please Log in or Create an account to join the conversation.
LSPCI list the card as:
03:02.0 Bridge: PLX Technology, inc. Device 3001 (rev 01)
That sounds like the generic PCI bridge chip on the card.
The driver is looking for a specific vendor and device ID:
github.com/LinuxCNC/linuxcnc/blob/master...rs/hal_motenc.c#L294
Specifically:
github.com/LinuxCNC/linuxcnc/blob/master...drivers/motenc.h#L45
So, so far, this looks like it ought to work unless PLX has more than one vendor ID. It might be worth trying
lspci -nn
That's partly true, LinuxCNC provides the driver. But I don't think that anyone involved in LinuxCNC was involved in the card design.I spoke with the manufacturer of the motenc card. they told me that the card was designed by the linuxCNC community and is only supported by the linuxCNC community. They do not provide drivers or any other support for this product.
Mesa 5i25 / 7i77 is about equivalent.I suppose I could replace the motenc with something more common, but I don't know what that would be
But you have the Motenc, so it is worth persisting a little longer.
Please Log in or Create an account to join the conversation.
LSPCI list the card as:
03:02.0 Bridge: PLX Technology, inc. Device 3001 (rev 01)
The driver is looking for a specific vendor and device ID:
github.com/LinuxCNC/linuxcnc/blob/master...rs/hal_motenc.c#L294
Specifically:
github.com/LinuxCNC/linuxcnc/blob/master...drivers/motenc.h#L45
So, so far, this looks like it ought to work unless PLX has more than one vendor ID. It might be worth tryingto check the numerical value of the vendor id.lspci -nn
That's partly true, LinuxCNC provides the driver. But I don't think that anyone involved in LinuxCNC was involved in the card design.I spoke with the manufacturer of the motenc card. they told me that the card was designed by the linuxCNC community and is only supported by the linuxCNC community. They do not provide drivers or any other support for this product.
Mesa 5i25 / 7i77 is about equivalent.I suppose I could replace the motenc with something more common, but I don't know what that would be
But you have the Motenc, so it is worth persisting a little longer.
Please Log in or Create an account to join the conversation.
00:00.0 Host bridge [0600]: Intel Corporation Haswell DRAM Controller [8086:0c00] (rev 06)
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell Integrated Graphics Controller [8086:0412] (rev 06)
00:03.0 Audio device [0403]: Intel Corporation Haswell HD Audio Controller [8086:0c0c] (rev 06)
00:14.0 USB controller [0c03]: Intel Corporation Lynx Point USB xHCI Host Controller [8086:8c31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation Lynx Point MEI Controller #1 [8086:8c3a] (rev 04)
00:16.3 Serial controller [0700]: Intel Corporation Lynx Point KT Controller [8086:8c3d] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation Lynx Point USB Enhanced Host Controller #2 [8086:8c2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation Lynx Point High Definition Audio Controller [8086:8c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation Lynx Point PCI Express Root Port #1 [8086:8c10] (rev d4)
00:1c.1 PCI bridge [0604]: Intel Corporation Lynx Point PCI Express Root Port #2 [8086:8c12] (rev d4)
00:1c.2 PCI bridge [0604]: Intel Corporation Lynx Point PCI Express Root Port #3 [8086:8c14] (rev d4)
00:1c.4 PCI bridge [0604]: Intel Corporation Lynx Point PCI Express Root Port #5 [8086:8c18] (rev d4)
00:1d.0 USB controller [0c03]: Intel Corporation Lynx Point USB Enhanced Host Controller #1 [8086:8c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation Lynx Point LPC Controller [8086:8c4e] (rev 04)
00:1f.2 RAID bus controller [0104]: Intel Corporation 82801 SATA Controller [RAID mode] [8086:2822] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation Lynx Point SMBus Controller [8086:8c22] (rev 04)
02:00.0 PCI bridge [0604]: Texas Instruments XIO2001 PCI Express-to-PCI Bridge [104c:8240]
03:02.0 Bridge [0680]: PLX Technology, Inc. Device [10b5:3001] (rev 01)
04:00.0 PCI bridge [0604]: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge [1b21:1080] (rev 03)
05:00.0 Parallel controller [0701]: NetMos Technology PCI 9865 Multi-I/O Controller [9710:9865]
05:00.2 Parallel controller [0701]: NetMos Technology PCI 9865 Multi-I/O Controller [9710:9865]
06:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5722 Gigabit Ethernet PCI Express [14e4:165a]
Is there a next step?
Please Log in or Create an account to join the conversation.