On 2/1/20 10:23 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.


This has been working for several months.  Today, I used
   apt --fix-broken install
which removed the (broken?) linuxcnc package and now I have this problem.

I initially installed from a DVD, linuxcnc 2.7.14, in Oct 2019.  Then, upgraded to buster.

Is it possible something from linuxcnc* or linuxcnc-dev* needed for running from the git sources?  I use run-in-place.

Tom Dean

===== upgrade to buster ============================================
cd ~/RTAI
wget http://www.linuxcnc.org/temp/linux-headers-4.14.148-rtai-amd64.deb
wget http://www.linuxcnc.org/temp/linux-image-4.14.148-rtai-amd64.deb
wget http://www.linuxcnc.org/temp/linuxcnc-dev_2.8.0~pre1_amd64.deb
wget http://www.linuxcnc.org/temp/linuxcnc-doc-en_2.8.0~pre1_all.deb
wget http://www.linuxcnc.org/temp/linuxcnc_2.8.0~pre1_amd64.deb
wget http://www.linuxcnc.org/temp/rtai-modules-4.14.148_5.2.3-linuxcnc_amd64.deb

sudo bash
  cd /etc/apt
  mv sources.list sources.list.bak
  cat sources.list.bak | sed 's/stretch/buster/g' > sources.list
exit

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
hostnamectl

sudo reboot

cd ~/RTAI

sudo apt-get install linux-image-4.14.148-rtai-amd64.deb
sudo apt-get install linux-headers-4.14.148-rtai-amd64.deb
sudo apt-get install rtai-modules-4.14.148_5.2.3-linuxcnc_amd64.deb
sudo apt-get install linuxcnc_2.8.0~pre1_amd64.deb
sudo apt-get install linuxcnc-dev_2.8.0~pre1_amd64.deb
sudo apt-get install linuxcnc-doc-en_2.8.0~pre1_all.deb

So the problem started right after you upgraded to the new RTAI kernel?

That's where I'd look for a problem first.


--
Sebastian Kuzminsky


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

Reply via email to