Newbie: 1st LinuxCNC install, crashes when I run it

More
9 years 10 months ago #84639 by PCW
That's a linux kernel oops (crash)

This may indicate bad or incompatible hardware of some kind

What hardware is this running on?

Have you run memtest86 to verify the the memory is OK?

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

More
9 years 10 months ago #84648 by vasiliy
So I downloaded and verified ISO image again. Burned it. reinstalled. Same thing
Memtest86 from boot menu passes. It surely takes some loooong time to complete.
Problem still persists.
I have ASUS M4A49GTD PRO/USB3 motherboard with AMD Phenom II CPU.
3GB of memory.
Let me know if there is a command I can use to dump more hardware info.

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

More
9 years 10 months ago #84726 by andypugh
uname -a
on the machine would let us see if we recognise the kernel, but really that should be right with a liveCD install.

Does the latency test (in the CNC manu) run without crashing? What numbers?

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

More
9 years 10 months ago - 9 years 10 months ago #84756 by vasiliy

andypugh wrote: uname -a
on the machine would let us see if we recognise the kernel, but really that should be right with a liveCD install.

Linux debian 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 GNU/Linux

andypugh wrote: Does the latency test (in the CNC manu) run without crashing? What numbers?


Latency test was failing too. But, I got a break through of sorts.
Was monkeying around BIOS settings. Disabled "ACPI APIC support" which described as "Include ACPI APIC table pointer to RSDT pointer list" (All of that has no meaning to me). And it started to work.
Latency test shows:
Max Interval (ns)Max Jitter (ns)
Servo thread (1ms)1200846202526
Base thread (25m-s)215668190716
Not sure how to read those

When I try to run LinuxCNC Config Picker and select "by interface" / parport / stepper / sim_inch, I get some window show, titled "axis.ngs - AXIS 2.7.0 on LinuxCNC-HAL-STEP-SIM". It also shows some error message in bottom right corner: "RTAPI: ERROR: Unexpected realtime delay on task 1. This Message will only display ones per session. Run the Latency Test and resolve before continuing."
So I'm guessing my latencies are not so good.
Last edit: 9 years 10 months ago by vasiliy.

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

More
9 years 10 months ago #84760 by andypugh

vasiliy wrote: So I'm guessing my latencies are not so good.


No, in fact the latency is rather bad. You have 200µS and really you want closer to 20µS.

There may be ways to improve the latency with further BIOS changes and grub command line options.

wiki.linuxcnc.org/cgi-bin/wiki.pl?RealTime

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

More
9 years 9 months ago #85600 by vasiliy
I searched for some time and I got a feeling that RTAI not very supported while preempt rt is up-to-date with kernel.
So I downloaded and built linux-rt-devel version 4.9 and built LinuxCNC. Getting latency 3000 on servo thread and 12000 on base thread. Only on idle machine. When I start watching youtube videos it jumps 40000 each.
Not sure if that significant or not, but there is message on the console "Note: Using POSIX realtime".

At this point I'm not really sure what more I can do. So I'm thinking I'll live with those latencies for now an focus on actually building cnc machine. Otherwise it will never be done.

Many thanks for all your help.

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

Time to create page: 0.215 seconds
Powered by Kunena Forum