Advanced Search

Search Results (Searched for: )

  • DMNZ
  • DMNZ
14 Jun 2025 23:56
Replied by DMNZ on topic Error finishing read... *sigh*

Error finishing read... *sigh*

Category: Computers and Hardware

after installing the driver run this to check that it is the right one being used:
sudo lspci -v
under Realtek controller check Kernel driver in use, it should be r8168. (see attached screenshot)

to avoid problems i suggest to blacklist the r6169 driver completely in grub by adding: modprobe.blacklist=r8169

or, since your pc looks similar to mine you can add the whole my line to /etc/default/grub which through trial and error i found the most stable:

GRUB_CMDLINE_LINUX="irqaffinity=0-1 kthread_cpus=0-1 isolcpus=domain,managed_irq,2-3 rcu_nocb_poll pcie_aspm=off r8168.aspm=0 r8168.eee_enable=0 modprobe.blacklist=r8169,mei_txe"

don't worry it will not kill your pc  it just rebalance your cores to do different things. 

dont forget to run "sudo update-grub" to update grub configuration otherwise you won't see any changes after restart.

also check sudo dmesg for any errors during boot.

having 1.2ms ping once in a blue moon won't kill you. i suggest to add "grep -v time=0." to see how many actual pings you got over 1ms.

i normally run something like this:

sudo chrt 99 ping -i 0.001 -q 10.10.10.10 -c 1800000 | grep -v time=0. 

this will run ping for 30 minutes with 1ms pings and only show you the pings that took longer then 0.999 ms.

if you see only one or two 1.2 ms in 30 minutes it is not a problem, 8ms is super bad though. 

have fun!
  • dunnitagain
  • dunnitagain
14 Jun 2025 23:26

Linuxcnc 2.4.5 with Ubuntu 10.04 , Terminated with Error!

Category: General LinuxCNC Questions

I wonder how the were inserted? Thank You , I will try it tommorrow.
  • tommylight
  • tommylight's Avatar
14 Jun 2025 23:13

Linuxcnc 2.4.5 with Ubuntu 10.04 , Terminated with Error!

Category: General LinuxCNC Questions

[TRAJ}
MAX_ACCELERATION =    20.0.ini
Axis X
MAX_LIMIT =           23.651.ini
Axis Y
P =                   20.ini
Delete .ini from those lines.
  • dunnitagain
  • dunnitagain
14 Jun 2025 22:55 - 14 Jun 2025 23:01

Linuxcnc 2.4.5 with Ubuntu 10.04 , Terminated with Error!

Category: General LinuxCNC Questions

File Attachment:

File Name: jetmill1A.ini
File Size:7 KB
 
This is the .ini that I modified while working on the Z Axis Homing . 

File Attachment:

File Name: jetmill1A.ini
File Size:7 KB
  • tommylight
  • tommylight's Avatar
14 Jun 2025 21:30
Linux vs Windows value was created by tommylight

Linux vs Windows value

Category: Off Topic and Test Posts

Bumped into this today:
- Linux is a tool you use to extract value from your hardware.
- Windows is a tool Microsoft uses to extract value from you
-
Original comment here

User name @neilbrideau8520

Go give the man some likes.
  • dunnitagain
  • dunnitagain
14 Jun 2025 20:34

Linuxcnc 2.4.5 with Ubuntu 10.04 , Terminated with Error!

Category: General LinuxCNC Questions

Were are the error files located ? var/ Error ? This ubuntu is very unfamiliar to me .
  • SebastianM
  • SebastianM
14 Jun 2025 20:05 - 14 Jun 2025 20:07
Replied by SebastianM on topic Error finishing read... *sigh*

Error finishing read... *sigh*

Category: Computers and Hardware

Thx Peter. Really appreciate your help. Last question …. Can you tell if my realtek nic is using the dkms driver or not? I attached the output of a script that you posted somewhere.Like I said in the first posting, I didn’t know that Linux headers might have been necessary when I installed dkms.  
  • PCW
  • PCW's Avatar
14 Jun 2025 19:52
Replied by PCW on topic Error finishing read... *sigh*

Error finishing read... *sigh*

Category: Computers and Hardware

Might be usable with a 2 ms servo thread.

I would check how LinuxCNC runs now

 
  • SebastianM
  • SebastianM
14 Jun 2025 19:20 - 14 Jun 2025 19:21
Replied by SebastianM on topic Error finishing read... *sigh*

Error finishing read... *sigh*

Category: Computers and Hardware

Alright. I applied that command in the grub configurator, rebooted and ran the pinIRQ script again.
ping times look much better (dropped from 8 to 1.2), but I am still too high... right?

first

sudo ./pinirq.txt enp1s0
Cores: 4
Old CPU Mask: f
Set device enp1s0 IRQ 121 CPU mask to 8


then

cnc@linuxcnc:~/gcodes$ sudo chrt 99 ping -i .001 -q 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
^C
--- 10.10.10.10 ping statistics ---
142832 packets transmitted, 142831 received, 0.000700123% packet loss, time 143400ms
rtt min/avg/max/mdev = 0.056/0.108/1.211/0.035 ms


 
  • SebastianM
  • SebastianM
14 Jun 2025 19:09 - 14 Jun 2025 19:21
Replied by SebastianM on topic Error finishing read... *sigh*

Error finishing read... *sigh*

Category: Computers and Hardware

No idea if I did anything wrong, but after I applied that line from above and rebooted, Debian won’t launch the desktop environment anymore. I can manually start xfce. Never mind 
  • PCW
  • PCW's Avatar
14 Jun 2025 18:12
Replied by PCW on topic Error finishing read... *sigh*

Error finishing read... *sigh*

Category: Computers and Hardware

Definitely do the grub (kernel command line) change, also the pinirq script will have
minimal effect unless you add the isolcpus line.

 
  • SebastianM
  • SebastianM
14 Jun 2025 16:44
Error finishing read... *sigh* was created by SebastianM

Error finishing read... *sigh*

Category: Computers and Hardware

Hello everyone. 
I know there are plenty of other threads about this topic, and I think I read them all, still I struggle to solve the issues that I am having.

My setup is:
  • Dell Wyse 5070 with Celeron J4105 4-core cpu THIN CLIENT
  • realtek onboard NIC
  • fresh Linuxcnc 2.9.3 install
  • brandnew Mesa 7i76eu, flashed with pktUART firmware
I experience issues when I startup Linuxcnc / probebasic.
Most of the time the system errors out right after startup with "error following read...". Sometimes I am "lucky" and it works for maybe 5minutes before it errors out. 

What I did so far (after reading in this forum for 2 nights):
  • I ran sudo chrt 99 ping -1.001 -q 10.10.10.10 to get some statistics. Here is the result:

    179555 packets transmitted, 179555 received, 0% packet loss, time 180656ms
    rtt min/avg/max/mdev = 0.052/0.065/8.974/0.036

  • disabled all BIOS options regarding power management, hyperthreading, ... etc
  • Installed R8168-dkms driver (sudo apt-get install r8168-dkms)
    While searching in this forum, I found that some people had to install linux headers first. I did not do that. 
    When I run a script to identify the used drivers (JCW posted this somewhere a while ago), i get the followig result:
    ./edriver.txt
    xargs: warning: options --max-args and --replace/-I/-i are mutually exclusive, ignoring previous --max-args value
    enp1s0 : r8169
    wlp0s12f0 : iwlwifi


    Is this result "expected? Or did the driver installation not work?
    Other people posted that they had to install linux-headers and purge the old driver... 
  • then I found a script that JCW posted in another thread that pins the IRQ somewhere (I honestly dont really understand whats behind this, but still this is the output):
    cnc@linuxcnc:~/gcodes$ sudo ./pinirq.txt enp1s0
    Cores: 4
    Old CPU Mask: f
    Set device enp1s0 IRQ 122 CPU mask to 8


    However, it did not improve my ping / latency at all. Do I need to do anything prior to that? Isolating something?
What I have not done yet:
  • editing the kernel parameters in grub customizer (quiet isolcpus= 3 pcie.aspm=0 r8168.eee_enable=0 pcie_aspm=off idle=poll).
    I dont really understand what this does, therefore I hesitated to run it. 
  • .... 
Another question... almost all other threads regarding this issue link to a tutorial / troubleshooting file that was hosted by @rodw on google drive, but the link is dead. Could someone provide this file?

regards and thx.
Sebastian
 
  • melodic_cnc
  • melodic_cnc
14 Jun 2025 16:33 - 14 Jun 2025 16:34

Is there a way to have more than 9 coordinate systems?

Category: General LinuxCNC Questions

Hello,

I am a bit new to linuxcnc but have mostly used mach3 in the past. So far things are going very well except this one issue.  I am wondering if there is a way to access more than 9 coordinate systems in linuxcnc?

For example on this doc page it states

linuxcnc.org/docs/html/gcode/coordinates.html

"This chapter introduces you to offsets as they are used by the LinuxCNC. These include:
  • Machine Coordinates (G53)
Nine Coordinate System Offsets (G54-G59.3)

Global Offsets (G92) and Local Offsets (G52)"


On mach3 they have implemented G59 PXXX
where XXX is (iirc) between 1 and 255, giving access to 255 coordinate systems. I don't need 255 but i do need about 30.  Is there any way to achieve such a thing with linuxcnc?

Maybe you can write your own macro to load the offsets from a file or something like that if only 9 workpiece coordinates are implemented in linuxcnc?

Any suggestions on how to approach adding coordinate systems would be welcome.

Thank you for your time.

s
  • Creative25
  • Creative25
14 Jun 2025 13:31 - 14 Jun 2025 13:55

Setting up a spotting operation with Sheetcam.

Category: Plasmac

 I have been trying to use the spotting operation on my plasma cutter. 

it is a file with an array of many holes. 
so I used the drilling operation. 
I used the postprocessor for local materials.

So I got it to work well. Does the spots as expected. 
But there is some strange behavior on my machine. 
If I load the file the machine uses the jogging as set on the machine. But if I activate the button for slow jogging it still jogs fast. After a couple of spots the machine stops at random amounts of spots. 
The pause resume button does nothing. 
I have to stop the program completely and resume at the line where it stopped. 

Is the local materials post processor ok for spotting operations or do I need a custom post processor for this?

 


 
  • beauxnez
  • beauxnez
14 Jun 2025 11:26 - 05 Jul 2025 13:28

ESP32/S2/S3 LinuxCNC Controller (6 axis hardware step gen), USB plug-and-play

Category: Computers and Hardware

I managed to get all 3 axes working.
For the inputs, do I need to connect the GND to GPIO33, for example?
It's ok the inputs work
Could someone help me to make the changes in the al file and the ini file
Displaying 13111 - 13125 out of 17627 results.
Time to create page: 0.476 seconds
Powered by Kunena Forum