Updated to master this morning, looks like raspbian is updating to 
bullseye as a rolling release as it installed quite a few new 
packages along with the latest linuxcnc.
>From the synaptic history:
Commit Log for Mon Oct 18 06:37:57 2021


Upgraded the following packages:
linuxcnc-doc-en (1:2.9.0~pre0.4767.gc244d7505) to 1:2.9.0~pre0.4802.g948693d0a
linuxcnc-uspace (1:2.9.0~pre0.4767.gc244d7505) to 1:2.9.0~pre0.4802.g948693d0a
linuxcnc-uspace-dbgsym (1:2.9.0~pre0.4767.gc244d7505) to 
1:2.9.0~pre0.4802.g948693d0a
linuxcnc-uspace-dev (1:2.9.0~pre0.4767.gc244d7505) to 
1:2.9.0~pre0.4802.g948693d0a

Installed the following packages:
espeak-ng (1.49.2+dfsg-8+deb10u1)
espeak-ng-data (1.49.2+dfsg-8+deb10u1)
gdal-data (2.4.0+dfsg-1)
gfortran (4:8.3.0-1+rpi2)
gfortran-8 (8.3.0-6+rpi1)
libaec0 (1.0.2-1)
libarmadillo9 (1:9.200.7+dfsg-1)
libarpack2 (3.7.0-2)
libcaf-openmpi-3 (2.4.0-2)
libcharls2 (2.0.0+dfsg-1)
libcoarrays-dev (2.4.0-2)
libcoarrays-openmpi-dev (2.4.0-2)
libdap25 (3.20.3-1)
libdapclient6v5 (3.20.3-1)
libdapserver7v5 (3.20.3-1)
libepsilon1 (0.9.2+dfsg-4)
libespeak-ng1 (1.49.2+dfsg-8+deb10u1)
libfreexl1 (1.0.5-3)
libfyba0 (4.1.1-6)
libgdal20 (2.4.0+dfsg-1+b2)
libgdcm2.8 (2.8.8-9)
libgeos-3.7.1 (3.7.1-1)
libgeos-c1v5 (3.7.1-1)
libgeotiff2 (1.4.3-1)
libgfortran-8-dev (8.3.0-6+rpi1)
libgl2ps1.4 (1.4.0+dfsg1-2)
libhdf4-0-alt (4.2.13-4+b1)
libhdf5-103 (1.10.4+repack-10)
libhdf5-openmpi-103 (1.10.4+repack-10)
libhwloc-dev (1.11.12-3+rpi1)
libhwloc-plugins (1.11.12-3+rpi1)
libhwloc5 (1.11.12-3+rpi1)
libibverbs-dev (22.1-1)
libkmlbase1 (1.3.0-7)
libkmlconvenience1 (1.3.0-7)
libkmldom1 (1.3.0-7)
libkmlengine1 (1.3.0-7)
libkmlregionator1 (1.3.0-7)
libkmlxsd1 (1.3.0-7)
liblept5 (1.76.0-1)
libminizip1 (1.1-8+b1)
libnetcdf-c++4 (4.2-11)
libnetcdf13 (1:4.6.2-1+b1)
libnl-3-dev (3.4.0-1)
libnl-route-3-dev (3.4.0-1)
libodbc1 (2.3.6-0.1)
libogdi3.2 (3.2.1+ds-4)
libopencv-calib3d3.2 (3.2.0+dfsg-6)
libopencv-contrib3.2 (3.2.0+dfsg-6)
libopencv-core3.2 (3.2.0+dfsg-6)
libopencv-features2d3.2 (3.2.0+dfsg-6)
libopencv-flann3.2 (3.2.0+dfsg-6)
libopencv-highgui3.2 (3.2.0+dfsg-6)
libopencv-imgcodecs3.2 (3.2.0+dfsg-6)
libopencv-imgproc3.2 (3.2.0+dfsg-6)
libopencv-ml3.2 (3.2.0+dfsg-6)
libopencv-objdetect3.2 (3.2.0+dfsg-6)
libopencv-photo3.2 (3.2.0+dfsg-6)
libopencv-shape3.2 (3.2.0+dfsg-6)
libopencv-stitching3.2 (3.2.0+dfsg-6)
libopencv-superres3.2 (3.2.0+dfsg-6)
libopencv-video3.2 (3.2.0+dfsg-6)
libopencv-videoio3.2 (3.2.0+dfsg-6)
libopencv-videostab3.2 (3.2.0+dfsg-6)
libopencv-viz3.2 (3.2.0+dfsg-6)
libopenmpi-dev (3.1.3-11+rpi1)
libopenmpi3 (3.1.3-11+rpi1)
libpcaudio0 (1.1-3+deb10u1)
libpmix2 (3.1.2-3)
libproj13 (5.2.0-1)
libqhull7 (2015.2-4)
libsocket++1 (1.12.13-10)
libspatialite7 (4.3.0a-5+b2)
libsuperlu5 (5.2.1+dfsg1-4)
libsz2 (1.0.2-1)
libtbb2 (2018~U6-4)
libtesseract4 (4.0.0-2)
liburiparser1 (0.9.1-1)
libvtk6.3 (6.3.0+dfsg2-2+b6)
ocl-icd-libopencl1 (2.2.12-2)
odbcinst (2.3.6-0.1)
odbcinst1debian2 (2.3.6-0.1)
openmpi-bin (3.1.3-11+rpi1)
openmpi-common (3.1.3-11+rpi1)
proj-bin (5.2.0-1)
proj-data (5.2.0-1)
pyqt5-dev-tools (5.11.3+dfsg-1+rpi1+b3)
python3-dbus.mainloop.pyqt5 (5.11.3+dfsg-1+rpi1+b3)
python3-espeak (0.5-1+b4)
python3-opencv (3.2.0+dfsg-6)
python3-pyqt5.qtopengl (5.11.3+dfsg-1+rpi1+b3)
python3-pyqt5.qtwebkit (5.11.3+dfsg-1+rpi1+b3)


A linuxcnc -l now exits:

pi@rpi4:~/linuxcnc/configs/sheldon-lathe $ linuxcnc -l
LINUXCNC - 2.9.0-pre0-4802-g948693d0a
Machine configuration directory is '/home/pi/linuxcnc/configs/sheldon-lathe'
Machine configuration file is '7i90-axis.ini'
Starting LinuxCNC...
Found file(REL): ./hm2-7i90-stepper.hal
Note: Using POSIX non-realtime
hm2: loading Mesa HostMot2 driver version 0.15
rmmod: ERROR: ../libkmod/libkmod-module.c:793 kmod_module_remove_module() could 
not remove 'spi_bcm2835': 
Operation not permitted
rmmod: ERROR: could not remove module spi_bcm2835: Operation not permitted
hm2_rpspi: ERROR: Failed to execute '/sbin/rmmod spi_bcm2835'
hm2_rpspi: Platform: Raspberry Pi 4 Model B Rev 1.1
hm2_rpspi: Base address 0xfe000000 size 0x01800000
hm2_rpspi: can't open /dev/mem
hm2_rpspi: cannot map peripheral memory.
hm2_rpspi: rtapi_app_main: Permission denied (-13)
./hm2-7i90-stepper.hal:34: waitpid failed /usr/bin/rtapi_app hm2_rpspi
./hm2-7i90-stepper.hal:34: /usr/bin/rtapi_app exited without becoming ready
./hm2-7i90-stepper.hal:34: insmod for hm2_rpspi failed, returned -1
Shutting down and cleaning up LinuxCNC...
hm2_rpspi: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
hm2: unloading
THREADS: hal_exit 24 0 0MOTION: cleanup_module() started.
MOTION: cleanup_module() finished.
<commandline>:0: unloadrt failed
Note: Using POSIX non-realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/pi/linuxcnc_debug.txt
and
    /home/pi/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
pi@rpi4:~/linuxcnc/configs/sheldon-lathe $ uname -a
Linux rpi4.coyote.den 4.19.71-rt24-v7l+ #1 SMP PREEMPT RT Thu Feb 6 07:09:18 
EST 2020 armv7l GNU/Linux

I have not rebooted it, but thats next. And after a reboot it still fails:

pi@rpi4:~ $ linuxcnc -l
LINUXCNC - 2.9.0-pre0-4802-g948693d0a
Machine configuration directory is '/home/pi/linuxcnc/configs/sheldon-lathe'
Machine configuration file is '7i90-axis.ini'
Starting LinuxCNC...
Found file(REL): ./hm2-7i90-stepper.hal
Note: Using POSIX non-realtime
hm2: loading Mesa HostMot2 driver version 0.15
rmmod: ERROR: Module spi_bcm2835 is not currently loaded
hm2_rpspi: ERROR: Failed to execute '/sbin/rmmod spi_bcm2835'
hm2_rpspi: Platform: Raspberry Pi 4 Model B Rev 1.1
hm2_rpspi: Base address 0xfe000000 size 0x01800000
hm2_rpspi: can't open /dev/mem
hm2_rpspi: cannot map peripheral memory.
modprobe: ERROR: could not insert 'spi_bcm2835': Operation not permitted
hm2_rpspi: ERROR: Failed to execute '/sbin/modprobe spi-bcm2835'
hm2_rpspi: rtapi_app_main: Permission denied (-13)
./hm2-7i90-stepper.hal:34: waitpid failed /usr/bin/rtapi_app hm2_rpspi
./hm2-7i90-stepper.hal:34: /usr/bin/rtapi_app exited without becoming ready
./hm2-7i90-stepper.hal:34: insmod for hm2_rpspi failed, returned -1
Shutting down and cleaning up LinuxCNC...
hm2_rpspi: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
hm2: unloading
THREADS: hal_exit 24 0 0MOTION: cleanup_module() started.
MOTION: cleanup_module() finished.
<commandline>:0: unloadrt failed
Note: Using POSIX non-realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/pi/linuxcnc_debug.txt
and
    /home/pi/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

I'll rebuild it from git as I've been keeping that up to date also.
But that will take a couple hours.

I'll advise.

Thanks all, & take care.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


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

Reply via email to