Upgrading from Axis 2.3.1

More
10 Sep 2019 23:46 - 10 Sep 2019 23:47 #144754 by andypugh
Replied by andypugh on topic Upgrading from Axis 2.3.1
The important parts:
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
Last edit: 10 Sep 2019 23:47 by andypugh.

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

More
11 Sep 2019 06:20 #144786 by pl7i92
Replied by pl7i92 on topic Upgrading from Axis 2.3.1
from this low level it woudt be better to get the Config folder to USB and go for a new complet FLAT cleand HDD

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.

More
12 Sep 2019 16:58 - 12 Sep 2019 17:10 #144974 by smorin
Replied by smorin on topic Upgrading from Axis 2.3.1
hello-
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:~$
the card shows up in the BIOS as:
BRIDGE
I do not know what this means so I'm stuck. :(
thanks
Sam
Last edit: 12 Sep 2019 17:10 by smorin.

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

More
14 Sep 2019 17:56 #145163 by andypugh
Replied by andypugh on topic Upgrading from Axis 2.3.1
Is the card a PCI device? If so, does lspci show it?

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.

More
16 Sep 2019 21:48 - 16 Sep 2019 21:50 #145342 by smorin
Replied by smorin on topic Upgrading from Axis 2.3.1
Hello-

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
Last edit: 16 Sep 2019 21:50 by smorin.

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

More
16 Sep 2019 22:15 #145343 by Leon82
Replied by Leon82 on topic Upgrading from Axis 2.3.1
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

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

More
16 Sep 2019 23:29 #145346 by andypugh
Replied by andypugh on topic Upgrading from Axis 2.3.1

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.

More
16 Sep 2019 23:46 #145348 by andypugh
Replied by andypugh on topic Upgrading from Axis 2.3.1

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
to check the numerical value of the vendor id.

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.

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 suppose I could replace the motenc with something more common, but I don't know what that would be

Mesa 5i25 / 7i77 is about equivalent.
But you have the Motenc, so it is worth persisting a little longer.

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

More
16 Sep 2019 23:46 #145349 by andypugh
Replied by andypugh on topic Upgrading from Axis 2.3.1

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 trying
lspci -nn
to check the numerical value of the vendor id.

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.

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 suppose I could replace the motenc with something more common, but I don't know what that would be

Mesa 5i25 / 7i77 is about equivalent.
But you have the Motenc, so it is worth persisting a little longer.

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

More
17 Sep 2019 17:54 #145417 by smorin
Replied by smorin on topic Upgrading from Axis 2.3.1
lspci -nn returns the following:
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]
I apologize but I don't understand what to do with this information nor do I know what to do with the github links. I have combed through every bit of documentation i can find but I cannot find anything that tells me, step by step, how to plug this card into a PC and make it work with linuxCNC.

Is there a next step?

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

Time to create page: 0.375 seconds
Powered by Kunena Forum