Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
11 Oct 2025 02:51

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

I edited my previous post to reflect that it does require running both those lines.
Thank you.
  • COFHAL
  • COFHAL
11 Oct 2025 02:10
Replied by COFHAL on topic AC Servo change to run

AC Servo change to run

Category: General LinuxCNC Questions

You can configure it as C axis using the caxis or orient component, and work in both functions, i.e. in velocity or position mode.
  • unknown
  • unknown
11 Oct 2025 01:44 - 11 Oct 2025 01:50

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

More Details

You try to upgrade, add a package or install dkms and you get the following:
dkms: running auto installation service for kernel 6.1.0-40-amd64.
dkms: autoinstall for kernel: 6.1.0-40-amd64.
Setting up libqt5opengl5:amd64 (5.15.8+dfsg-11+deb12u3) ...
Setting up linux-headers-rt-amd64 (6.1.153-1) ...
Setting up libgimp2.0:amd64 (2.10.34-1+deb12u3) ...
Setting up libpoppler-qt5-1:amd64 (22.12.0-2+deb12u1) ...
Setting up linux-headers-amd64 (6.1.153-1) ...
Processing triggers for systemd (252.39-1~deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for dbus (1.14.10-1~deb12u1) ...
Processing triggers for shared-mime-info (2.2-1) ...
Processing triggers for debianutils (5.7-0.5~deb12u1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
Processing triggers for initramfs-tools (0.142+deb12u3) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-40-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return c
ode 1
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned
error exit status 1
Processing triggers for ca-certificates (20230311+deb12u1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Errors were encountered while processing:
linux-image-6.1.0-40-rt-amd64
linux-image-rt-amd64
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error

The error starts here:
update-initramfs: Generating /boot/initrd.img-6.1.0-40-rt-amd64

The error messages are here:

raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return c
ode 1
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned
error exit status 1
Processing triggers for ca-certificates (20230311+deb12u1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Errors were encountered while processing:
linux-image-6.1.0-40-rt-amd64
linux-image-rt-amd64
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)


The bad thing is here is here:

raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return c
ode 1


Fear not My Little Ones. We have an answer.


sudo rm /etc/{initramfs/post-update.d/,kernel/{postinst.d/,postrm.d/}}z50-raspi-firmware
sudo apt purge *raspi*
as noted by tommy above.


For a belts and braces check
sudo apt update


Now everything is good.

For further details you can refer to this thread:
forum.linuxcnc.org/9-installing-linuxcnc...ng-with-installation
  • Digger011
  • Digger011
11 Oct 2025 01:07
Replied by Digger011 on topic Strugling with installation

Strugling with installation

Category: Installing LinuxCNC

Tommy, thank you very very much for your help. Without it, I wouldn't be able to do anything. I hope all of this will help somebody else.

Thanks again,
Milos
  • tommylight
  • tommylight's Avatar
11 Oct 2025 01:01
Replied by tommylight on topic Strugling with installation

Strugling with installation

Category: Installing LinuxCNC

Yes we are :)
sudo apt update
sudo apt upgrade
just to be sure.
  • Digger011
  • Digger011
11 Oct 2025 00:55
Replied by Digger011 on topic Strugling with installation

Strugling with installation

Category: Installing LinuxCNC

Here they are:

milos@cnc:~$ sudo rm /etc/{initramfs/post-update.d/,kernel/{postinst.d/,postrm.d/}}z50-raspi-firmware
[sudo] password for milos: 
milos@cnc:~$ sudo apt purge raspi-firmware
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  raspi-firmware*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up linux-image-6.1.0-40-rt-amd64 (6.1.153-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-40-rt-amd64.
dkms: autoinstall for kernel: 6.1.0-40-rt-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-40-rt-amd64
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.1.0-40-rt-amd64
Found initrd image: /boot/initrd.img-6.1.0-40-rt-amd64
Found linux image: /boot/vmlinuz-6.1.0-30-rt-amd64
Found initrd image: /boot/initrd.img-6.1.0-30-rt-amd64
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
Setting up linux-image-rt-amd64 (6.1.153-1) ...
Processing triggers for initramfs-tools (0.142+deb12u3) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-40-rt-amd64
(Reading database ... 180636 files and directories currently installed.)
Purging configuration files for raspi-firmware (1.20220830+ds-1) ...

First time that I don't see any error. Are we out of the woods now?

 
  • tommylight
  • tommylight's Avatar
10 Oct 2025 23:45
Replied by tommylight on topic Strugling with installation

Strugling with installation

Category: Installing LinuxCNC

Nope, not entirely, but something did, so give this a go
sudo rm /etc/{initramfs/post-update.d/,kernel/{postinst.d/,postrm.d/}}z50-raspi-firmware
sudo apt purge raspi-firmware
and post the result.
  • Digger011
  • Digger011
10 Oct 2025 23:28
Replied by Digger011 on topic Strugling with installation

Strugling with installation

Category: Installing LinuxCNC

No problem Tommy, I should be sorry to bug you for all of this.
Here is what is going on:
milos@cnc:~$ sudo apt purge *raspi*
[sudo] password for milos: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'linux-firmware-raspi3' for glob '*raspi*'
Note, selecting 'raspi-firmware' for glob '*raspi*'
Note, selecting 'raspi3-firmware' for glob '*raspi*'
Package 'linux-firmware-raspi3' is not installed, so not removed
Package 'raspi3-firmware' is not installed, so not removed
The following packages will be REMOVED:
  raspi-firmware*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.142+deb12u3) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-6.1.0-40-rt-amd64 (6.1.153-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-40-rt-amd64.
dkms: autoinstall for kernel: 6.1.0-40-rt-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-40-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-40-rt-amd64 (--configure):
 installed linux-image-6.1.0-40-rt-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-rt-amd64:
 linux-image-rt-amd64 depends on linux-image-6.1.0-40-rt-amd64 (= 6.1.153-1); however:
  Package linux-image-6.1.0-40-rt-amd64 is not configured yet.

dpkg: error processing package linux-image-rt-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-6.1.0-40-rt-amd64
 linux-image-rt-amd64

E: Sub-process /usr/bin/dpkg returned an error code (1)
milos@cnc:~$ sudo apt update
Hit:1 deb.debian.org/debian bookworm InRelease
Hit:2 deb.debian.org/debian bookworm-updates InRelease
Hit:3 security.debian.org/debian-security bookworm-security InRelease
Hit:4 www.linuxcnc.org bookworm InRelease
Hit:5 repository.qtpyvcp.com/apt develop InRelease    
Hit:6 download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

Does it mean that everything is ok now? There was an error, but after update it looks ok.

M

 
  • maruf1777
  • maruf1777
10 Oct 2025 23:16 - 10 Oct 2025 23:18
Replied by maruf1777 on topic Probe Basic Probing Location

Probe Basic Probing Location

Category: QtPyVCP

Thanks For Info I Fixed It. Followed Directions From LinuxCNC Docs On Referncing Axis Movement And Directions Noted by pommen
  • Lcvette
  • Lcvette's Avatar
10 Oct 2025 23:13
Replied by Lcvette on topic Probe Basic Probing Location

Probe Basic Probing Location

Category: QtPyVCP

Axis direction is the direction the cutter moves through the work on a Cartesian coordinate system. For moving gantry machines it is literal but for table motion machines it can be confusing because it's inverse of what one might expect (if thinking the table is what is traveling in the + or - direction. When the table moves toward the front, the cutter is moving in the y+ direction through the work, when the table moves to the left it is the x+ direction because the cutter moves through the work in the positive direction. So setup your machine accordingly. Home should be 0's, if your switches are on the wrong side you can use the home offset setting to correct.
  • Hakan
  • Hakan
10 Oct 2025 22:58

Ethercat drives not responding, mesa error finishing read

Category: EtherCAT

So you built ethercat master from source? Rebuild with the option --disable-eoe or something that makes it exclude eoe.
The three lines you showed from the syslog says it want to establish eoe network interfaces. Disable that.
  • tommylight
  • tommylight's Avatar
10 Oct 2025 22:57
Replied by tommylight on topic Strugling with installation

Strugling with installation

Category: Installing LinuxCNC

Try
sudo apt purge *raspi*
then sudo apt update
-
Sorry, i copied and pasted that line from the post i linked and now i noticed that line will not work as was written there, dang, now i have to find all the posts about it and fix them.
Not my mess, luckily, but i hate dealing with it as it's been dragging for over a year now, all because someone did not clean the build environment before building the ISO.
  • Digger011
  • Digger011
10 Oct 2025 22:50
Replied by Digger011 on topic Strugling with installation

Strugling with installation

Category: Installing LinuxCNC

Tommy, thanks for the instructions.

milos@cnc:~$ apt list --upgradable
Listing... Done
libtiff-dev/oldstable-security 4.5.0-6+deb12u3 amd64 [upgradable from: 4.5.0-6+deb12u2]
libtiff6/oldstable-security 4.5.0-6+deb12u3 amd64 [upgradable from: 4.5.0-6+deb12u2]
libtiffxx6/oldstable-security 4.5.0-6+deb12u3 amd64 [upgradable from: 4.5.0-6+deb12u2]
milos@cnc:~$ sudo apt upgrade libtiff-dev/oldstable-security 4.5.0-6+deb12u3 amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package 4.5.0-6+deb12u3
E: Couldn't find any package by glob '4.5.0-6+deb12u3'
E: Unable to locate package amd64
milos@cnc:~$ sudo apt upgrade libtiff-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libtiff-dev libtiff6 libtiffxx6
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 916 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 security.debian.org/debian-security bookworm-security/main amd64 libtiff-dev amd64 4.5.0-6+deb12u3 [456 kB]
Get:2 security.debian.org/debian-security bookworm-security/main amd64 libtiff6 amd64 4.5.0-6+deb12u3 [316 kB]
Get:3 security.debian.org/debian-security bookworm-security/main amd64 libtiffxx6 amd64 4.5.0-6+deb12u3 [144 kB]
Fetched 916 kB in 0s (2,671 kB/s)   
(Reading database ... 180636 files and directories currently installed.)
Preparing to unpack .../libtiff-dev_4.5.0-6+deb12u3_amd64.deb ...
Unpacking libtiff-dev:amd64 (4.5.0-6+deb12u3) over (4.5.0-6+deb12u2) ...
Preparing to unpack .../libtiff6_4.5.0-6+deb12u3_amd64.deb ...
Unpacking libtiff6:amd64 (4.5.0-6+deb12u3) over (4.5.0-6+deb12u2) ...
Preparing to unpack .../libtiffxx6_4.5.0-6+deb12u3_amd64.deb ...
Unpacking libtiffxx6:amd64 (4.5.0-6+deb12u3) over (4.5.0-6+deb12u2) ...
Setting up initramfs-tools (0.142+deb12u3) ...
update-initramfs: deferring update (trigger activated)
Setting up libtiff6:amd64 (4.5.0-6+deb12u3) ...
Setting up libtiffxx6:amd64 (4.5.0-6+deb12u3) ...
Setting up linux-image-6.1.0-40-rt-amd64 (6.1.153-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-40-rt-amd64.
dkms: autoinstall for kernel: 6.1.0-40-rt-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-40-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-40-rt-amd64 (--configure):
 installed linux-image-6.1.0-40-rt-amd64 package post-installation script subprocess returned error exit status 1
Setting up libtiff-dev:amd64 (4.5.0-6+deb12u3) ...
dpkg: dependency problems prevent configuration of linux-image-rt-amd64:
 linux-image-rt-amd64 depends on linux-image-6.1.0-40-rt-amd64 (= 6.1.153-1); however:
  Package linux-image-6.1.0-40-rt-amd64 is not configured yet.

dpkg: error processing package linux-image-rt-amd64 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
Processing triggers for initramfs-tools (0.142+deb12u3) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-40-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-6.1.0-40-rt-amd64
 linux-image-rt-amd64
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Wonering what am I doing wrong. 

M

 
  • Fastfred
  • Fastfred
10 Oct 2025 22:27
Replied by Fastfred on topic Gmoccapy tool setter install "errors"

Gmoccapy tool setter install "errors"

Category: Gmoccapy

This is after making a few changes trying to figure it out?
any help would be helpful





(gmoccapy:3126): Gtk-CRITICAL **: 15:22:03.887: gtk_entry_set_text: assertion 'text != NULL' failed
[Gmoccapy.GMOCCAPY.GETINIINFO][[33mWARNING[0m] Found kinstype=BOTH but using trivkins. It is not recommended to do so! Will use mode to switch between Joints and World mode, hopefully supported by the used <<trivkins>> module. (getiniinfo.py:182)
15:22:05.211 WARNING Config: mousetweaks GSettings schema not found, mousetweaks integration disabled.
gmoccapy_postgui.hal:24: Pin 'gmoccapy.toolchange-change' was already linked to signal 'tool-change-request'
/usr/lib/python3/dist-packages/gi/overrides/GObject.py:493: Warning: ../../../gobject/gsignal.c:2772: instance '0x15975de0' has no handler with id '33554454'
return func(*args, **kwargs)
3075
  • MaHa
  • MaHa
10 Oct 2025 22:24
FlexGui QDoubleSpinBox HAL_IO was created by MaHa

FlexGui QDoubleSpinBox HAL_IO

Category: Flex GUI

It is very difficult or impossible to enter a floatingpoint value at once. I can enter only 1 digit, then the rest of the box is filled with zeros. So i have to select each digit and replace, minus can only be entered separately also. The input for variable works much better.


 
Displaying 7291 - 7305 out of 18203 results.
Time to create page: 0.810 seconds
Powered by Kunena Forum