Installing LinuxCNC on Debian 9 - 13

More
08 Nov 2022 11:28 #256205 by andypugh
As of last night, LinuxCNC master is 2.10 and 2.9 is a separate branch being stabilised for release.
The following user(s) said Thank You: seuchato, tommylight, daiman444, JT

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
08 Nov 2022 17:22 #256219 by JT

hi all.  Today installed 2.9 from source.  after a long compilation, instead of the installation deb packages, I get the lcnts 2.10 archive.  Something went wrong?
 

Were you following my instructions or you just built from scratch?

JT

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

More
08 Nov 2022 17:37 #256222 by daiman444
Hi. in this particular case, I followed your instructions to install lcnc 2.9 on debian 11. as it was suggested above that the development branch has changed, then I get cloned not what I need. tomorrow I will try to clone with an explicit indication of the branch 2.9.

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

More
08 Nov 2022 17:50 #256224 by andypugh
No need to re-clone, you can just
git checkout 2.9

Or not bother. At the moment 2.9 and 2.10 are identical.

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
08 Nov 2022 18:00 #256226 by JT

Hi. in this particular case, I followed your instructions to install lcnc 2.9 on debian 11. as it was suggested above that the development branch has changed, then I get cloned not what I need. tomorrow I will try to clone with an explicit indication of the branch 2.9.
 

Ok, that page needs fixing and I'll sort that out shortly.

JT
The following user(s) said Thank You: seuchato, daiman444

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

More
08 Nov 2022 19:58 - 08 Nov 2022 20:03 #256235 by rodw

After doing an update on debian 12 and 13 I see linux-image-6.00-2-rt-amd64 in synaptic, has anyone tried 6.0? with a Mesa ethernet card?

JT

I just did! And it works!
packing@packing:~$ halcmd show param hm2_*.tmax*
Parameters:
Owner   Type  Dir         Value  Name
    36  s32   RW              0  hm2_7i76e.0.read-request.tmax
    36  bit   RO          FALSE  hm2_7i76e.0.read-request.tmax-increased
    36  s32   RW         555360  hm2_7i76e.0.read.tmax
    36  bit   RO          FALSE  hm2_7i76e.0.read.tmax-increased
    36  s32   RW          76240  hm2_7i76e.0.write.tmax
    36  bit   RO          FALSE  hm2_7i76e.0.write.tmax-increased


packing@packing:~$ uname -v
#1 SMP PREEMPT_RT Debian 6.0.5-1 (2022-10-28)
packing@packing:~$ 
 

So this is the very original Gigabyte N3160 PC I first installed linuxcnc on years ago. It was running Debian Bullseye 5.10 as an office PC for a long time so its had a few upgrades since while struggling with error finishing read which was an issue on it.

I did a full upgrade to Bookworm last night which gave me the 6.0 kernel and lost the network connection. The NIC was not there. I installed linux-headers and that seemed to rebuild the r8168-dkms driver before I did.
INstalled linuxcnc from the bookworm repo. Error finishing read is gone. Latency was around 130k until I added Isolcpus=2,3 Ping times to the 7i76e took quite a hit but Latency is amazing. It was around 0.100 ms before

Time will tell if I need to remove the isolcpus but at this stage everything appears normal.

PS: Also built a RIP install last night which was working too.
Attachments:
Last edit: 08 Nov 2022 20:03 by rodw.

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

More
08 Nov 2022 20:10 #256237 by rodw
One of the things with isolcpus is the nic interrupt is probably being serviced by the same core as the servo thread which probably accounts for the slower ping times. You can see what cores are used if you type
cat /proc/interrupts

explore the output on the right hand side and you will see the NIC port listed
This old article, I think is useful but I don't think all interrupts go to the one core anymore
www.alexonlinux.com/smp-affinity-and-pro...pt-handling-in-linux

Also this  one too:
blog.dan.drown.org/nic-interrupt-coalesce-impact-on-ntp/
BUt it is not supported on my PC
The following user(s) said Thank You: seuchato

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

More
29 Nov 2022 05:49 #257943 by drdoc
With this in mind, is there any benefit to building from source? I'm running bookworm on a pretty healthy 4th-generation i5 system, and will be using a 7i96 board.

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

More
29 Nov 2022 12:48 #257965 by tommylight
Not that i am aware of.

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

More
07 Apr 2023 06:49 #268491 by ChironFZ16
Bookworm have change the nonfree Software :https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
The following user(s) said Thank You: tommylight

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

Time to create page: 0.133 seconds
Powered by Kunena Forum