Segmentation fault

More
01 May 2025 11:24 #327414 by Shaypo
Segmentation fault was created by Shaypo
Hi folks,
I'm a hobby CNC enthusiast, working for a couple of years now with a self built CNC machine. My setup includes an old pc using a PCI card to connect via a parallel port to a 3axis tb6560 controller. my spindle is the 2.2KW with the HY VFD.
This setup worked perfectly until it didn't. For some reason every time I tried to open gmail the computer crashed completely (lost power all together). I decided to replace the USB stick holding the Linux installation with a new (and bigger) one.
I have successfully (I think) installed the rtai kernel and linuxcnc, the old issue was resolved, my latency test looks great and I can control the motors while in the Stepconf Wizard.
The Problem is after I finish setting the configuration and trying to open the launch icon, first I get a message that it is not .exe. when I hit launch anyway is shows the linuxcnc logo as aspects and then crashes with the attached report.

I would appreciate any help on the subject, I already wasted crazy amouny of time trying to get my setup running.
Thanks.
 
Attachments:

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

More
01 May 2025 12:31 #327422 by langdons
Replied by langdons on topic Segmentation fault
.exe = Windows.

On a Unix-like filesystem, files must be marked exucutable to be executed.

It's a security thing.

Chmod +x will mark a file as executable.

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

More
01 May 2025 12:37 - 01 May 2025 12:40 #327424 by langdons
Replied by langdons on topic Segmentation fault
Do not ever run an OS from a USB key long-term.

The flash memory will wear out and the bandwidth will be limited b/c USB only has 1 unidirectional dataline.

It cannot read and write simultaneously.

USB 3.0 and greater fixes the bandwidth issue, but the weardown of the flash memory is still very problematic.

I recommend you install Ventoy to a USB, download an ISO of LinuxCNC from the downloads page, and install to an HDD from that.

Chrome downloads files slowly for some reason, use Firefox, curl, wget, or JDownloader to avoid waiting all day.

You can reduce latency by setting the CPU governor to performance.
echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor > /dev/null

I prefer Ubuntu's GRUB to Debian's.

(the Debian version is ugly)
Last edit: 01 May 2025 12:40 by langdons. Reason: Fixed typos

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

Time to create page: 0.089 seconds
Powered by Kunena Forum