Advanced Search

Search Results (Searched for: )

  • andypugh
  • andypugh's Avatar
29 Jun 2024 17:38
Replied by andypugh on topic Debian 12 RTAI

Debian 12 RTAI

Category: Installing LinuxCNC

Actually, it seems to be claiming that libtcl is segfaulting? That seems strange.
  • chris@cnc
  • chris@cnc
29 Jun 2024 17:35
Replied by chris@cnc on topic VFD setup help

VFD setup help

Category: Milling Machines

I am surprised by this engineer's statement. If you can't give full voltage, you can't expect full power. Power is the product of volts * amps. If this engineer gets full power with half the voltage, he can do magic. The motor and VFD must fit together. Frequency-controlled motors have characteristics such as torque and frequency, or torque and power. Not easy to read or calculate. But I would say full power is only possible if everything fits.
  • andypugh
  • andypugh's Avatar
29 Jun 2024 17:35
Replied by andypugh on topic Debian 12 RTAI

Debian 12 RTAI

Category: Installing LinuxCNC

You should have matching 5.4.258 linux-image, linux-headers and RTAI modules from here:
www.linuxcnc.org/dists/bookworm/base/binary-amd64/
And then the linuxcnc deb from here: www.linuxcnc.org/dists/bookworm/2.9-rt/binary-amd64/

If that works then it looks like the docs need updating. If that doesn't work then it looks like I need to dig deeper.
  • jg00163206
  • jg00163206's Avatar
29 Jun 2024 17:31
Replied by jg00163206 on topic error finishing read and joint following error.

error finishing read and joint following error.

Category: General LinuxCNC Questions

ping -i .2 -c 4 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.092 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.145 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.134 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.133 ms

sudo chrt 99 ping -i .001 -q 10.10.10.10
[sudo] password for mill:
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
^C
--- 10.10.10.10 ping statistics ---
150691 packets transmitted, 150691 received, 0% packet loss, time 151117ms
rtt min/avg/max/mdev = 0.048/0.072/9.850/0.073 ms


what are ALL the settings in the bios should disable? its a ryzen 5 2400. i disabled all the power saving features and the virtualization. is there any other settings i should look at in the bios?


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 ---
219872 packets transmitted, 219017 received, 0.388863% packet loss, time 234537ms
rtt min/avg/max/mdev = 0.048/0.072/8.746/0.084 ms
heres that again after i started linuxcnc.

could this be a power supply issue? it has a dedicated 5vdc psu. i don't have another one to test. it seems all the ones i have are dead. i guess i could try to figure something out. i don't get this error on the duo core though. i get way better ping times too. i just can't do anything else on that relic.
  • andypugh
  • andypugh's Avatar
29 Jun 2024 17:25
Replied by andypugh on topic REMAP M6 ERROR

REMAP M6 ERROR

Category: AXIS

Have you homed the machine?

This looks like you might need to clear some offsets (or touch-off) so that the machine thinks it is inside the working area.
  • Hossein74Majidi
  • Hossein74Majidi
29 Jun 2024 17:25

Error: Unexpected realtime delay on task 0 + Watchdog has bit!

Category: Advanced Configuration

So what do you suggest?
I need to use another spi low-level driver?
  • andypugh
  • andypugh's Avatar
29 Jun 2024 17:23

Can't get past "Configuring the Network" Screen on fresh install

Category: Installing LinuxCNC

I think that this happens if your network does not support IPv6.

There is a way to add a command-line parameter to the boot process to turn off ipv6 - "ipv6.disable=1" which may help. (I don't have installer here so can't give more detailed instructions)
  • andypugh
  • andypugh's Avatar
29 Jun 2024 17:13
Replied by andypugh on topic Raspberry Pi Mesa 7C81

Raspberry Pi Mesa 7C81

Category: Installing LinuxCNC

Have you followed the instructions for the hm2_* driver that you are using?

And is it linuxcnc.org/docs/stable/html/man/man9/hm2_rpspi.9.html

or
linuxcnc.org/docs/stable/html/man/man9/hm2_spi.9.html

( I don't know which is expected to work best on the pi4)
  • COFHAL
  • COFHAL
29 Jun 2024 16:40
Replied by COFHAL on topic REMAP M6 ERROR

REMAP M6 ERROR

Category: AXIS

I get this error when using remap m6. I am using VERSA Probe version 2.9 and LCN version 2.10

Near line 0 of/usr/share/axis/images/axis.ngc:
pycall: remap.change_epilog:
Traceback (most recent call last):

File "/home/router/linuxcnc/configs/fresadora_MS3_VP/python/stdglue.py", line 200, in chan emccanon.CHANGE TOOL(self.selected_pocket)


I already found the problem. I had copied the remap.py, stdglue.py and stdglue.py files from the python folder that comes with probe_screen_v2.9 and these are the ones that were causing the error. I followed the instructions in the Remap extending chapter. G-Code and copied them from the usr/share/linuxcnc/ncfiles/remap-lib/python folder and that problem was solved. Now the problem that appeared is that when trying to load any tool these errors appear   They indicate a specific line but I don't know which file it corresponds to.
 

  • COFHAL
  • COFHAL
29 Jun 2024 16:35
Replied by COFHAL on topic REMAP M6 ERROR

REMAP M6 ERROR

Category: AXIS

Is there any more? This doesn't get as far as reporting the actual error.

I already found the problem. I had copied the remap.py, stdglue.py and stdglue.py files from the python folder that comes with probe_screen_v2.9 and these are the ones that were causing the error. I followed the instructions in the Remap extending chapter. G-Code and copied them from the usr/share/linuxcnc/ncfiles/remap-lib/python folder and that problem was solved. Now the problem that appeared is that when trying to load any tool these errors appear

 
They indicate a specific line but I don't know which file it corresponds to.
 

  • jhuth
  • jhuth
29 Jun 2024 16:31

Can't get past "Configuring the Network" Screen on fresh install

Category: Installing LinuxCNC

Hello All,

I had earlier installed the Sherline EMC2 CD software onto this PC desktop... but that preconfigured system is based on the ancient Ubuntu 12.04 LTS and it cannot seem to find network drivers or PCI parallel port.  So am hoping to just install the latest Debian-based version of LinuxCNC from this website.

HOWEVER... Downloaded the latest LinuxCNC_2.9.2-amd64.hybrid.iso and put onto USB stick using Balena Etcher. Attempted multiple times to install onto Lenovo i3-8100 3.6GHz desktop.  Keeps hanging after I enter the information for either WiFi or LAN access... "Configuring the Network" on sceen... no progress beyond that.

Any suggestions about what I'm doing wrong?  Thank you.

 
  • Limo
  • Limo
29 Jun 2024 16:27
Raspberry Pi Mesa 7C81 was created by Limo

Raspberry Pi Mesa 7C81

Category: Installing LinuxCNC

Hello,
I have a problem on how to enable SPI on my PI4. I have used the   Raspberry Pi 4 OS based on Debian Bookworm  Image and now I am stuck. I already have installed mesa flash and try to see if can see my Mesacard with mesaflash but that only gives me the message: No 7C81 board found. 
Thanks in advance.
  • ihavenofish
  • ihavenofish
29 Jun 2024 16:15
Replied by ihavenofish on topic VFD setup help

VFD setup help

Category: Milling Machines

Yes. But apparently setting a 220v 1000hz motor to 135v and 600hz on this drive is not the same as just moving down the VF curve on a 1000hz drive. The engineer was confused as much as me. It should "just work" but it doesn't.

And of course as I found out, faster drives are not easy to get so I'm stuck with this compromise we found for now.

.
  • JT
  • JT's Avatar
29 Jun 2024 15:53
Replied by JT on topic Debian 12 RTAI

Debian 12 RTAI

Category: Installing LinuxCNC

If I try and run the sim again I get:
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-5.4.258-rtai-amd64/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.2
Machine configuration directory is '/home/john/linuxcnc/configs/my-mill'
Machine configuration file is 'my-mill.ini'
INIFILE=/home/john/linuxcnc/configs/my-mill/my-mill.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=
DISPLAY=axis
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./my-mill.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
task: 34 cycles, min=0.000005, max=0.011682, avg=0.005748, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
/usr/bin/linuxcnc: line 977:  2934 Segmentation fault      $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
2862
2931
Stopping realtime threads
Unloading hal components

Kernel message information:
[  270.856729] I-pipe: head domain RTAI registered.
[  270.856730] RTAI[hal]: mounted. ISOL_CPUS_MASK: 0.
[  270.856732] SYSINFO - # CPUs: 4, TIMER NAME: 'lapic-deadline', TIMER IRQ: 4355, TIMER FREQ: 474987506, CLOCK NAME: 'tsc', CLOCK FREQ: 3791999000, CPU FREQ: 3791999000, LINUX TIMER IRQ: 4355.
[  270.859936] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[  270.859960] kstacks pool size = 524288 bytes
[  270.859960] RTAI[sched]: hard timer type/freq = lapic-deadline/474987506(Hz)
[  270.859961] linear timed lists.
[  270.859961] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3791999000 hz.
[  270.859962] RTAI[sched]: timer setup = 82 ns, resched latency = 0 ns.
[  270.860778] USERMODE CHECK: OK.
[  270.860778] USERMODE CHECK PROVIDED (ns): KernelLatency 809, UserLatency 1094.
[  270.860779] FINAL CALIBRATION SUMMARY (ns): KernelLatency 809, UserLatency 1094.
[  270.867139] RTAI[math]: loaded integrated musl libm version 1.2.3.
[  271.150629] axis[2934]: segfault at 0 ip 00007fbaa6352083 sp 00007ffdc8eb94c0 error 6 in libtcl8.6.so[7fbaa62ad000+143000]
[  271.150634] Code: 8b 5c 24 20 e9 ae fe ff ff 66 0f 1f 44 00 00 48 8b 45 00 0f b6 4a 01 49 83 c6 08 48 83 c2 02 48 8b 40 70 48 8b 04 c8 49 89 06 <83> 00 01 0f b6 02 e9 2e ff ff ff 66 90 49 8b 8c 24 a8 00 00 00 48
[  273.622344] RTAI[math]: unloaded.
[  273.684923] SCHED releases registered named ALIEN PEDV$D
[  273.697002] RTAI[malloc]: unloaded.
[  273.804895] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[  273.822479] I-pipe: head domain RTAI unregistered.
[  273.822482] RTAI[hal]: unmounted.

JT
  • JT
  • JT's Avatar
29 Jun 2024 15:51
Replied by JT on topic Debian 12 RTAI

Debian 12 RTAI

Category: Installing LinuxCNC

Interesting a Stepconf sim started up and ran then Firefox crashed then the sim crashed with this:
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-5.4.258-rtai-amd64/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.2
Machine configuration directory is '/home/john/linuxcnc/configs/my-mill'
Machine configuration file is 'my-mill.ini'
INIFILE=/home/john/linuxcnc/configs/my-mill/my-mill.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=
DISPLAY=axis
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./my-mill.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
libnml/buffer/shmem.cc 507: SHMEM: Can't take semaphore

**********************************************************
* Current Directory = /home/john/linuxcnc/configs/my-mill
* 
**********************************************************
* BufferName = toolSts
* BufferType = 0
* ProcessName = emc
* Configuration File = /usr/share/linuxcnc/linuxcnc.nml
* CMS Status = -1 (CMS_MISC_ERROR:   A miscellaneous  error occurred.)
* Recent errors repeated:

SHMEM: Can't take semaphore



* BufferLine: B toolSts               SHMEM   localhost       1024    0       0       5       16 1005 TCP=5005 xdr
* ProcessLine: P emc           toolSts         LOCAL   localhost       R       0       1.0     0       0
* error_type = 5 (NML_INTERNAL_CMS_ERROR)
************************************************************

Shutting down and cleaning up LinuxCNC...
task: 4249 cycles, min=0.000005, max=0.077609, avg=0.010031, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
link (updating variable file): No such file or directory
note: MAXV     max: 1.000 units/sec 60.000 units/min
note: LJOG     max: 1.000 units/sec 60.000 units/min
note: LJOG default: 0.100 units/sec 6.000 units/min
note: jog_order='XYZ'
note: jog_invert=set()
/usr/bin/linuxcnc: line 977:  1788 Segmentation fault      $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
1715
Inconsistency detected by ld.so: rtld.c: 1656: dl_main: Assertion `main_map != NULL' failed!
1784
Stopping realtime threads
Unloading hal components

Kernel message information:
[   88.945183] I-pipe: head domain RTAI registered.
[   88.945184] RTAI[hal]: mounted. ISOL_CPUS_MASK: 0.
[   88.945185] SYSINFO - # CPUs: 4, TIMER NAME: 'lapic-deadline', TIMER IRQ: 4355, TIMER FREQ: 474987506, CLOCK NAME: 'tsc', CLOCK FREQ: 3791999000, CPU FREQ: 3791999000, LINUX TIMER IRQ: 4355.
[   88.949322] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[   88.949347] kstacks pool size = 524288 bytes
[   88.949347] RTAI[sched]: hard timer type/freq = lapic-deadline/474987506(Hz)
[   88.949348] linear timed lists.
[   88.949348] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3791999000 hz.
[   88.949349] RTAI[sched]: timer setup = 82 ns, resched latency = 0 ns.
[   88.950696] USERMODE CHECK: OK.
[   88.950697] USERMODE CHECK PROVIDED (ns): KernelLatency 809, UserLatency 1094.
[   88.950698] FINAL CALIBRATION SUMMARY (ns): KernelLatency 809, UserLatency 1094.
[   88.966552] RTAI[math]: loaded integrated musl libm version 1.2.3.
[   89.079357] traps: hal_manualtoolc[1775] general protection fault ip:51710d sp:7ffc0ba72b10 error:0 in python3.11[41f000+2b3000]
[   98.833243] [pango] FcInit[1819]: segfault at 10 ip 00007f14d476e579 sp 00007f14d188bb90 error 4 in libc.so.6[7f14d46fd000+155000]
[   98.833247] Code: 8b 4e 08 49 39 c8 0f 82 7d 03 00 00 48 83 f9 0f 0f 86 73 03 00 00 4c 8b 06 49 83 e0 f8 49 39 c0 0f 85 db 05 00 00 4c 8b 42 18 <49> 3b 50 10 0f 85 fd 04 00 00 4c 39 7a 10 0f 85 f3 04 00 00 f6 c1
[  131.785856] axis[1788]: segfault at 14 ip 00007f0b06c91a50 sp 00007fffbfc57fe0 error 4 in libtcl8.6.so[7f0b06bd8000+143000]
[  131.785862] Code: 66 2e 0f 1f 84 00 00 00 00 00 4d 85 f6 74 b0 41 c7 06 00 00 00 00 eb a7 66 90 48 85 db 0f 84 38 ff ff ff 0f 1f 80 00 00 00 00 <44> 39 6b 10 75 06 4c 39 7b 20 74 d4 48 8b 1b 48 85 db 75 ec e9 18
[  134.163588] RTAI[math]: unloaded.
[  134.226200] SCHED releases registered named ALIEN PEDV$D
[  134.228332] RTAI[malloc]: unloaded.
[  134.338161] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[  134.355825] I-pipe: head domain RTAI unregistered.
[  134.355829] RTAI[hal]: unmounted.

JT
Displaying 23656 - 23670 out of 26444 results.
Time to create page: 0.563 seconds
Powered by Kunena Forum