(superseeded) Linuxcnc on Linux Mint 19.3 quick and easy installation

More
6 years 5 months ago #166651 by Nate
i am getting a error here is a copy of what it was giving me

PNCconf encountered an error. The following information may be useful in troubleshooting:

LinuxCNC Version: UNAVAILABLE

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pncconf/pages.py", line 1402, in on_update_tune_params
self.t.update_tune_test_params()
File "/usr/lib/python2.7/dist-packages/pncconf/tests.py", line 864, in update_tune_test_params
halrun.flush()
IOError: [Errno 32] Broken pipe

i am trying to figure out how to get my motors to move i can pung the mesa 7i96 but no movement any one have step by step for the mesa ether board all i am finding on youtube is parallel board

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

  • tommylight
  • Topic Author
  • Offline
  • Moderator
  • Moderator
More
6 years 5 months ago #166655 by tommylight
Can you please set pncconfig without tuning, save it and see if ti works.
All the tuning you can do at any time later.

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

More
6 years 5 months ago #167417 by Nate
okay i have communication with my board and i can ping it. now i have a light squeal coming from my motors i open linuxcnc and the sound gets quieter can tell it to cut the sample file of linuxcnc and it shows on the screen the motors moving and no errors but the motors do not move any ideas?

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

  • tommylight
  • Topic Author
  • Offline
  • Moderator
  • Moderator
More
6 years 5 months ago #167426 by tommylight

Nate wrote: okay i have communication with my board and i can ping it. now i have a light squeal coming from my motors i open linuxcnc and the sound gets quieter can tell it to cut the sample file of linuxcnc and it shows on the screen the motors moving and no errors but the motors do not move any ideas?

Start a new topic, and give us more details.

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

  • tommylight
  • Topic Author
  • Offline
  • Moderator
  • Moderator
More
6 years 5 months ago #167560 by tommylight
Added a much easier way of installing it to the original post, it now uses RT 5.4 kernel from Debian repos.
Also included is the script to automate everything.

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

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 5 months ago - 6 years 5 months ago #167591 by BeagleBrainz
What's the latency like with the 5.4 Kernel ?

Do the headers install ok ? I've seen issues when installing headers from Debian on Ubuntu systems due to mismatching of gcc and various other utilities.
Last edit: 6 years 5 months ago by BeagleBrainz.

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

  • tommylight
  • Topic Author
  • Offline
  • Moderator
  • Moderator
More
6 years 5 months ago #167611 by tommylight

BeagleBrainz wrote: What's the latency like with the 5.4 Kernel ?

Do the headers install ok ? I've seen issues when installing headers from Debian on Ubuntu systems due to mismatching of gcc and various other utilities.

Installed it on a Lenovo T420S, it is a lot better than 4.09 or 4.19 , latency histogram never goes above 105K, but it will drop the connection to Mesa 7i92 after roughly 10 minutes. That is something else i noticed last night with it, when running latency-histogram the processors are locked at 3.3GHz all the time and they do not go down even when switching from power to batteries and vice versa, while when running Linuxcnc it never goes above 2.8GHZ and it drops very often to 2.6GHZ, so that might be the reason for the spikes and the drop of connection.
On an Asrock H61M MB with a dual core celeron, it is the same as far as i can tell.
I did not install the headers at all, could not find them so i gave it a try without it and it all works properly so far, to early to decide, but not noticing anything missing or non functional.
The 5.4 will complain about missing driver for an Realtek net card and for I915 chipset, not using any of those so it is good for now.

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

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 5 months ago #167619 by BeagleBrainz
I think thats a missing firmware issue with i915 & Realtek.
The headers will be an issue for those that need to be build a kernel module or install VirtualBox.
With the kernels I use I build them on Mint, that means that there is no issue with mis-matching of gcc, linkers and the rest. Apart from the RT patch I don't apply any other patches either.

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

  • tommylight
  • Topic Author
  • Offline
  • Moderator
  • Moderator
More
6 years 5 months ago #167624 by tommylight
Frankly, i do not care much about the nitty gritty of the inner workings of the kernel any more, just have no time to deal with compiles any more, i have some things that have to work, others are non essential for me.
And since i own and often change a lot of PC's/Laptops, i need the install process to be as short as possible.
Linuxcnc must work, Firefox, Inkscape, Media player, and some other stuff, the rest i do not use much.
This has removed the need for Clonezilla completely, as i can have a freshly installed and working Linuxcnc computer in under 20 minutes. Also a simple copy/paste of the .mozilla folder will get everything in place without the need of installing addons and finding tabs i was using before install.
The following user(s) said Thank You: BeagleBrainz

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

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 5 months ago #167629 by BeagleBrainz
Quickly quickly, my new (2nd hand desktop) can build the linuxcnc debs in about 6 minutes from git source. Takes almost as long to upload the updated packages to the server use and add them to the repo. Most of that time is remembering which password is the correct one.

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

Time to create page: 0.091 seconds
Powered by Kunena Forum