Raspberry Pi 4 Tutorial - fatal error

More
13 Apr 2020 14:16 #163875 by LearningLinuxCNC
I followed the tutorial except I downloaded the raspbian desktop image prior to finding the tutorial so I am not on OpenBox.

When I try to run linuxcnc I get the following.
Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:

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/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/pi/linuxcnc/configs/sim.axis'
Machine configuration file is 'axis.ini'
INIFILE=/home/pi/linuxcnc/configs/sim.axis/axis.ini
VERSION=1.1
PARAMETER_FILE=sim.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z
KINEMATICS=trivkins
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Realtime system did not load
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
/usr/bin/linuxcnc: line 747: /etc/init.d/realtime: No such file or directory
1589
Stopping realtime threads
Unloading hal components
/usr/bin/linuxcnc: line 643: /etc/init.d/realtime: No such file or directory



-----------------------------------------------------------------------

uname -a produces
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.19.71-rt24-v7l+ #1 SMP PREEMPT RT Sun Apr 12 08:51:30 CDT 2020 armv7l GNU/Linux

Any what went wrong. I had some issues with installing packages due to internet connectivity but after rerunning packages that did not install correctly at first I thought it all installed and compiled correctly.

Thanks,

Jim

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

More
14 Apr 2020 02:05 #163914 by LearningLinuxCNC
So I went back and redid the install from scratch and now everything is working. Don't know what was broken but it is now fixed.

Thanks for the tutorial BigJohnT!

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

More
14 Apr 2020 23:23 #163989 by BigJohnT
Replied by BigJohnT on topic Raspberry Pi 4 Tutorial
Jim,

I gotta ask what is it that you have that has 662HP with 5.8L? My best is my 385HP 5.7L Corvette.

JT

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

More
14 Apr 2020 23:32 #163992 by tommylight
Replied by tommylight on topic Raspberry Pi 4 Tutorial

Jim,

I gotta ask what is it that you have that has 662HP with 5.8L? My best is my 385HP 5.7L Corvette.

JT

An import ?????
:)
Many can do that without turbo chargers or superchargers. But that 5.8 is suspicious !

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

More
15 Apr 2020 00:43 #163997 by sprintertrd
Replied by sprintertrd on topic Raspberry Pi 4 Tutorial
Is'nt 5.8L = 351cuin = Ford

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

More
15 Apr 2020 13:04 #164058 by LearningLinuxCNC
Not an import!

2014 GT500. Supercharged 5.8L Dual overhead cam. 662 HP 631FT-LB Torque. 400FT-LB from about 2K to 6500.

That thing was a beast. I don't have it anymore. I had it for 3 years. Drove it a total of 5000 miles and over 1000 miles were put on in two trips. It was black on black on black. While it looked beautiful when it was clean it was never clean. I literally spent more time washing the car than I did driving it.

The main problem with driving it is that it had no traction in 1st gear. you could roll into the throttle and it would start spinning the tires at 50mph.

Most of the time I would demonstrate the power of the car by doing a 60mph roll pull in second gear. You shift from first to second at 62mph. Here is a video of me and my dad in the car doing a 60 to 90 mph pull. Shift to 3rd at 90.



The replacement is a 2000 Ford SVT Lightning pickup truck. It is no GT500 but it will do in a pinch ; )

A little off topic, but you brought it up!
The following user(s) said Thank You: BigJohnT, tommylight

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

More
15 Apr 2020 16:35 - 15 Apr 2020 16:38 #164065 by BigJohnT
Replied by BigJohnT on topic Raspberry Pi 4 Tutorial
That's pretty impressive, I just can't imagine a supercharger on my corvette! For me 385 HP is plenty in a car that weighs 3,246 pounds and will pull 0.9G's in a corner. Thanks for the video.

JT
Last edit: 15 Apr 2020 16:38 by BigJohnT.

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

More
15 Apr 2020 22:16 #164090 by LearningLinuxCNC
Trying to run halcompile on this install on the rpi4 and the result returns
bash: halcompile: command not found

What do I need to do with this install to make halcompile work? I tried to run
sudo make setuid

while in the emc drectory where the source was downloaded but that does not work either. It returns
make: *** No rule to make target 'setuid'. Stop.

Any ideas?

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

More
15 Apr 2020 22:19 #164091 by LearningLinuxCNC
On another side note: I had my first ESD incident with the rpi4 yesterday. I woke up early came into the office sat down to start working on the issue I posted above and touched the usb ports on the rpi4 and snap!

The pi would not power up. I ordered replacements of the board and the power adapter. I plugged in the new board to the old power adapter and no joy. I plugged the new board into a new power adapter and it works. I have not tried a new power adapter with the old board yet . . . I am afraid it will toast a new power adapter with a short on the board.

What do you think?????

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

More
16 Apr 2020 21:54 #164204 by LearningLinuxCNC

Trying to run halcompile on this install on the rpi4 and the result returns
bash: halcompile: command not found

What do I need to do with this install to make halcompile work? I tried to run
sudo make setuid

while in the emc drectory where the source was downloaded but that does not work either. It returns
make: *** No rule to make target 'setuid'. Stop.

Any ideas?


No ideas on this one. I need halcompile to work for the project that I am working on.

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

Time to create page: 0.206 seconds
Powered by Kunena Forum