On 2020-02-02 17:00, Jon Elson wrote:
On 02/02/2020 05:04 PM, Thomas D. Dean wrote:
On 2020-02-01 20:46, Jon Elson wrote:
On 02/01/2020 08:35 PM, Thomas D. Dean wrote:
I have been using linuxcnc 2.9.0~Pre0 from sources, run in place. Until today, it has worked, mostly.  Before today, about 2x per week it would freeze and I had to cycle power to get it working.  Now, linuxcnc freezes.

Does it ONLY freeze when LinuxCNC is running?  But, just keep working if you DON'T start LinuxCNC? In that case, the most likely problem is the BASE_THREAD has too short a period.  Try increasing
the BASE_THREAD period in the .ini file and see if that fixes it.


I changed the BASE_THREAD period by a factor of 10x then 100x, with the same result.

The OS seems to run fine.  I did:
> cd RTAI/linuxcnc
> git pull
> cd src
> make clean
> make
> sudo make setuid

All this went OK.  Elapsed time 20 min, or so.

OK, so ONLY your GUI is freezing?  One other thing is if you load a very long and complex toolpath, then the
3D preview window can lock up for a long time.

Jon
Perfect example of poor design where the OS with RT kernel is configured with all the software needed for GUI and multimedia!

It took me 20 minutes to install linuxcnc-2.7-wheezy.iso in virtual machine. It's not the same as on bare metal of course but most things should work under such circumstances. Linux linuxcnc 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 GNU/Linux

rs@linuxcnc:~$ lsmod | wc -l
83
one a set of modules is sound related
snd_intel8x0
snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm,snd_seq,snd_seq_device
Default installation has sound modules active on CNC?

LinuxCNC program started fine. I was able to power it on.
When I started milling test axis.ngc it failed due to RT error. Not a surprise for a VM. I was watching a TV program on my workstation connected to Silicon Dust box over the network at the same time as VM was running. As soon as I turned the TV app VLC off I was able to start virtual CNC milling. Amazing how many things can be done on one system.

I poked around CNC kern.log and other logs. It's easy to see that there is a lot of useful information for troubleshooting.

--
Rafael


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to