First Time Builder - Stuck

More
21 Jan 2020 23:04 #155373 by Clive S
Replied by Clive S on topic First Time Builder - Stuck

I'm now aware that the 7i96 complicates the issue, but I didn't do enough research before I bought the thing.


The 7i96 is a very good board. I now have used several of them. You have to have the correct version of linuxcnc for any of the Ethernet cards.

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

More
21 Jan 2020 23:36 #155374 by cmorley
Replied by cmorley on topic First Time Builder - Stuck
master is fine, 2.8 and master is almost the same.
pncconf in master will configure the 7i96

Chris

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

More
21 Jan 2020 23:40 #155375 by phillc54
Replied by phillc54 on topic First Time Builder - Stuck

When I follow the instructions on the buildbot page for upgrading to 2.8, I get to the final step
sudo apt-get install linuxcnc
and I'm told I already have the latest version.

That seems to indicate that you don't have the repositories set correctly.
Open Synaptic Package Manager, Search for linuxcnc and remove it if installed.
Go to Settings - Repositories and make sure the only active entries for linuxcnc are:
deb     http://buildbot.linuxcnc.org/ stretch 2.8-rtpreempt
deb-src http://buildbot.linuxcnc.org/ stretch 2.8-rtpreempt
If you made any changes then click Reload to update the package information.
Search for linuxcnc and it should find linuxcnc-uspace, that is the one to install or from terminal you could enter:
sudo apt-get install linuxcnc-uspace

It may be wothwhile before you do all this to open a terminal and enter:
uname -a
and make sure there is "PREEMPT RT" somewhere in the reply to confirm you have an appropriate kernel.

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

More
22 Jan 2020 00:34 #155379 by dzawacki
Replied by dzawacki on topic First Time Builder - Stuck
I ran
uname -a
and got:
Linux debian 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 GNU/Linux

Running
sudo apt-get install linuxcnc-uspace
after updating the sources in the Synaptic Package Manager gives me the following output:
danny@debian:~$ sudo apt-get install linuxcnc-uspace
[sudo] password for danny:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 linuxcnc-uspace : Depends: libboost-python1.62.0 but it is not installable
                   Depends: libc6 (>= 2.15) but 2.13-38+deb7u12 is to be installed
                   Depends: libfontconfig1 (>= 2.11) but 2.9.0-7.1+deb7u1 is to be installed
                   Depends: libpango-1.0-0 (>= 1.14.0) but it is not installable
                   Depends: libpangocairo-1.0-0 (>= 1.14.0) but it is not installable
                   Depends: libpangoft2-1.0-0 (>= 1.14.0) but it is not installable
                   Depends: libstdc++6 (>= 5.2) but 4.7.2-5 is to be installed
                   Depends: libtk8.6 (>= 8.6.0) but it is not installable
                   Depends: libudev1 (>= 183) but it is not installable
                   Depends: tcl8.6 but it is not installable
                   Depends: tk8.6 but it is not installable
                   Depends: python:any (< 2.8) but it is not installable
                   Depends: python:any (>= 2.7.5-5~) but it is not installable
                   Depends: python-gst-1.0 but it is not installable
                   Depends: gstreamer1.0-plugins-base but it is not installable
                   Recommends: linuxcnc-doc-en but it is not going to be installed or
                               linuxcnc-doc
                   Recommends: linux-image-rt-686-pae but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

So...thoughts?

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

More
22 Jan 2020 00:49 - 22 Jan 2020 00:50 #155380 by tommylight

So...thoughts?

Yes, plenty.....
First, wrong kernel, and from that i assume you are running the Wheezy version.
You need the Stretch Preempt-rt version from the download page.

www.linuxcnc.org/testing-stretch-rtpreem...-uspace-i386-r13.iso

Then upgrade Linuxcnc to 2.8 or master (2.9) as Andy and others have mentioned above.
Last edit: 22 Jan 2020 00:50 by tommylight. Reason: Link
The following user(s) said Thank You: phillc54

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

More
22 Jan 2020 00:50 #155381 by phillc54
Replied by phillc54 on topic First Time Builder - Stuck
That is a RTAI kernel, not PREEMPT RT. That is no good for ethernet Mesa cards.

I think you would be best served with a new clean install from a stretch ISO from here

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

More
22 Jan 2020 01:37 #155383 by dzawacki
Replied by dzawacki on topic First Time Builder - Stuck
This is what happens when I'm left to my own devices...

I could have sworn I had the right one, but I'll download fresh, flash it, and install and report back.

Thanks everyone for chiming in so far!

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

More
22 Jan 2020 02:35 #155385 by dzawacki
Replied by dzawacki on topic First Time Builder - Stuck
HEYO! Used the correct iso (which I had downloaded previously but must have mixed it up with another iso) in addition to following phillc54's instructions. I'm able to confirm I'm running 2.8!

Thanks for your help!

Now on to configuring the Mesa 7196.

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

More
22 Jan 2020 02:38 #155386 by phillc54
Replied by phillc54 on topic First Time Builder - Stuck
That is good, you can use Pncconf for a 7i96

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

More
22 Jan 2020 04:44 #155396 by dzawacki
Replied by dzawacki on topic First Time Builder - Stuck
Does anyone know where there is a good tutorial for configuring using Pncconf for a 7i96? I ran through the config process and only set a few of the options and got the following error message:
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 1145, in on_xaxistune_clicked
    def on_xaxistune_clicked(self, *args): self.t.tune_axis('x')
  File "/usr/lib/python2.7/dist-packages/pncconf/tests.py", line 679, in tune_axis
    halrun.write("setp    "+i+".invert_output true\n")
TypeError: cannot concatenate 'str' and 'list' objects

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

Time to create page: 0.117 seconds
Powered by Kunena Forum