- General
- General LinuxCNC Questions
- Different behavior of Linuxcnc 2.7.14 on stretch compared to Wheezy
Different behavior of Linuxcnc 2.7.14 on stretch compared to Wheezy
06 May 2019 17:21 #132976
by mydani
Hi guys,
I tried for interest sake to install stretch, RT kernel and linuxcnc from repository.
Interesting change in behavior for me - won't say it's bugs, but it's strange:
* while twopass=1 was working fine in wheezy, in stretch it fails at the loadrt hm2_pci line with some fault parameter not supported (I suppose because the hostmot2 was not really loaded in the 1st pass or sth.). This happens even with a PNCconf generated configuration.
* remapping of m6 works w/o issues in wheezy, while linuxcnc in stretch seems stuck. The ngc is called, (alert, something) will trigger the dialog. But no G- oder M-codes are executed.
Just curious whether this sth. to be expected...
Regards,
Daniel
I tried for interest sake to install stretch, RT kernel and linuxcnc from repository.
Interesting change in behavior for me - won't say it's bugs, but it's strange:
* while twopass=1 was working fine in wheezy, in stretch it fails at the loadrt hm2_pci line with some fault parameter not supported (I suppose because the hostmot2 was not really loaded in the 1st pass or sth.). This happens even with a PNCconf generated configuration.
* remapping of m6 works w/o issues in wheezy, while linuxcnc in stretch seems stuck. The ngc is called, (alert, something) will trigger the dialog. But no G- oder M-codes are executed.
Just curious whether this sth. to be expected...
Regards,
Daniel
Please Log in or Create an account to join the conversation.
06 May 2019 19:36 - 06 May 2019 19:37 #132993
by BigJohnT
Replied by BigJohnT on topic Different behavior of Linuxcnc 2.7.14 on stretch compared to Wheezy
After installing LinuxCNC did you update it? I assume you used the live cd and that will be 2.7.0 after the install.
JT
sudo apt update
sudo apt dist-upgrade
JT
Last edit: 06 May 2019 19:37 by BigJohnT.
Please Log in or Create an account to join the conversation.
07 May 2019 07:43 #133035
by mydani
Replied by mydani on topic Different behavior of Linuxcnc 2.7.14 on stretch compared to Wheezy
I installed a plain debian stretch 9.9, then the preempt kernel, added the linuxcnc stretch repository, did an install of linuxcnc-uspace and linuxcnc-uspace-dev.
Started linuxcnc, selected one of the mesa examples => works.
Changed the machines ini-file to twopass=1 => breaks during start.
Hope this helps.
Regards,
Daniel
Started linuxcnc, selected one of the mesa examples => works.
Changed the machines ini-file to twopass=1 => breaks during start.
Hope this helps.
Regards,
Daniel
Please Log in or Create an account to join the conversation.
07 May 2019 09:09 #133039
by pl7i92
Replied by pl7i92 on topic Different behavior of Linuxcnc 2.7.14 on stretch compared to Wheezy
you shut update by synaptics or apt to 2.7.14
topass has been improved also on 2.8.master
better to go that way bevor mashining
topass has been improved also on 2.8.master
better to go that way bevor mashining
Please Log in or Create an account to join the conversation.
07 May 2019 09:13 #133040
by mydani
I am on 2.7.14 according to the starting screen.
2.7.14 was working properly with twopass when installed from the LinuxCNC wheezy live disc.
And it is not working when installed on stretch from the repositories.
Shouldn't it be the same version of linuxcnc? Or is the stretch repository a different version even though it says 2.7.14 at startup?
Replied by mydani on topic Different behavior of Linuxcnc 2.7.14 on stretch compared to Wheezy
you shut update by synaptics or apt to 2.7.14
I am on 2.7.14 according to the starting screen.
2.7.14 was working properly with twopass when installed from the LinuxCNC wheezy live disc.
And it is not working when installed on stretch from the repositories.
Shouldn't it be the same version of linuxcnc? Or is the stretch repository a different version even though it says 2.7.14 at startup?
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Away
- Platinum Member
Less
More
- Posts: 4965
- Thank you received: 1370
07 May 2019 12:25 #133048
by Todd Zuercher
Replied by Todd Zuercher on topic Different behavior of Linuxcnc 2.7.14 on stretch compared to Wheezy
When you installed Linuxcnc did you add both the Linuxcnc and buildbot repos?
deb linuxcnc.org/ stretch base 2.7-uspace
deb buildbot.linuxcnc.org/ stretch 2.7-rtpreempt
deb linuxcnc.org/ stretch base 2.7-uspace
deb buildbot.linuxcnc.org/ stretch 2.7-rtpreempt
Please Log in or Create an account to join the conversation.
07 May 2019 13:53 #133052
by mydani
Replied by mydani on topic Different behavior of Linuxcnc 2.7.14 on stretch compared to Wheezy
Hello Todd,
I only used the first repository, installed the preempt rt kernel by
apt-get install linux-image-rt-amd64 linux-image-rt-amd64-dbg linux-headers-rt-amd64
and ran linuxcnc. Maybe this is the issue, if there are some linuxcnc specific modifications in the RT kernel.
I only used the first repository, installed the preempt rt kernel by
apt-get install linux-image-rt-amd64 linux-image-rt-amd64-dbg linux-headers-rt-amd64
and ran linuxcnc. Maybe this is the issue, if there are some linuxcnc specific modifications in the RT kernel.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Away
- Platinum Member
Less
More
- Posts: 4965
- Thank you received: 1370
07 May 2019 14:25 #133053
by Todd Zuercher
Replied by Todd Zuercher on topic Different behavior of Linuxcnc 2.7.14 on stretch compared to Wheezy
Probably the most important part is the "base" in the first repo. That should take care of the modified dependencies specific to Linuxcnc. The buildbot repo will just get you the latest version of Linuxcnc. I really don't know what other issues could be causing your problem.
If there are still problems, I am really not sure. I've never actually ran a machine with an official Debian ISO. I've only tried it in a VM to see if Linuxcnc would install that way. (but certainly have not played with it enough to notice the problems you are seeing.)
I have ran a machine a little using the Linuxcnc Stretch ISO found here.
www.linuxcnc.org/testing-stretch-rtpreempt/
(But again I have not tried to use 2pass or do any g-code remapping on that.)
Those are live ISOs witth Linuxcnc already installed. I usually install one of those then install and change to the desktop of my choice (usually Mate).
If there are still problems, I am really not sure. I've never actually ran a machine with an official Debian ISO. I've only tried it in a VM to see if Linuxcnc would install that way. (but certainly have not played with it enough to notice the problems you are seeing.)
I have ran a machine a little using the Linuxcnc Stretch ISO found here.
www.linuxcnc.org/testing-stretch-rtpreempt/
(But again I have not tried to use 2pass or do any g-code remapping on that.)
Those are live ISOs witth Linuxcnc already installed. I usually install one of those then install and change to the desktop of my choice (usually Mate).
Please Log in or Create an account to join the conversation.
07 May 2019 15:46 #133055
by PCW
Replied by PCW on topic Different behavior of Linuxcnc 2.7.14 on stretch compared to Wheezy
There are no Preempt-RT kernel changes needed for LinuxCNC, but I can verify
that two pass has issues with master on Ubuntu18.04.
It seem more likely that this is some TCL version or library version issue
that two pass has issues with master on Ubuntu18.04.
It seem more likely that this is some TCL version or library version issue
Please Log in or Create an account to join the conversation.
07 May 2019 16:15 #133056
by dgarrett
Replied by dgarrett on topic Different behavior of Linuxcnc 2.7.14 on stretch compared to Wheezy
In the master branch, one can exclude individual hal files
for twopass processing if there are problems with a complicated
loadrt directive.
Ref: linuxcnc.org/docs/master/html/hal/twopas...#_exluding_hal_files
for twopass processing if there are problems with a complicated
loadrt directive.
Ref: linuxcnc.org/docs/master/html/hal/twopas...#_exluding_hal_files
Please Log in or Create an account to join the conversation.
- General
- General LinuxCNC Questions
- Different behavior of Linuxcnc 2.7.14 on stretch compared to Wheezy
Time to create page: 0.382 seconds