- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- A little help understanding what's going on with the pncconf wizard...
A little help understanding what's going on with the pncconf wizard...
- Sparkman61
- Offline
- Junior Member
Less
More
- Posts: 38
- Thank you received: 6
30 Sep 2023 02:37 - 30 Sep 2023 02:40 #281902
by Sparkman61
Well, the apt update and upgrade produced similar errors (RE: z50-raspi-firmware and initramfs-tools). The only thing it looks like that it actually updated was firefox and a debian/bookworm-security update. Despite these issues, it seems to be running like a champ. No more follow errors. I'll attach the output from the apt update/upgrade - it would be nice to fix this but it doesn't appear to be hurting anything (at least at the moment). Question, how can I tell if I am at 12.0 vs 12.1? I haven't run the dkms driver thing because I think the right driver is already installed during the previous. Thought?
In the meantime, I'm gonna let this thing run for a while before I attempt anything new.
~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
firefox-esr libvpx7
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 1,003 kB/64.1 MB of archives.
After this operation, 13.7 MB 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 libvpx7 amd64 1.12.0-1+deb12u1 [1,003 kB]
Fetched 1,003 kB in 0s (4,512 kB/s)
(Reading database ... 265039 files and directories currently installed.)
Preparing to unpack .../libvpx7_1.12.0-1+deb12u1_amd64.deb ...
Unpacking libvpx7:amd64 (1.12.0-1+deb12u1) over (1.12.0-1) ...
Preparing to unpack .../firefox-esr_115.3.0esr-1~deb12u1_amd64.deb ...
Leaving 'diversion of /usr/bin/firefox to /usr/bin/firefox.real by firefox-esr'
Unpacking firefox-esr (115.3.0esr-1~deb12u1) over (102.15.1esr-1~deb12u1) ...
Setting up linux-image-6.3.0-rt11-linuxcnc (6.3.0-2) ...
dkms: running auto installation service for kernel 6.3.0-rt11-linuxcnc.
dkms: autoinstall for kernel: 6.3.0-rt11-linuxcnc.
update-initramfs: Generating /boot/initrd.img-6.3.0-rt11-linuxcnc
W: Possible missing firmware /lib/firmware/i915/dg2_huc_gsc.bin for module i915
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
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
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/kernel/postinst.d/z50-raspi-firmware exited with return code 1
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.3.0-rt11-linuxcnc
Found initrd image: /boot/initrd.img-6.3.0-rt11-linuxcnc
Found linux image: /boot/vmlinuz-6.1.0-12-rt-amd64
Found initrd image: /boot/initrd.img-6.1.0-12-rt-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot
entries.
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
dpkg: error processing package linux-image-6.3.0-rt11-linuxcnc (--configure):
installed linux-image-6.3.0-rt11-linuxcnc package post-installation script subp
rocess returned error exit status 1
Setting up initramfs-tools (0.142) ...
update-initramfs: deferring update (trigger activated)
Setting up libvpx7:amd64 (1.12.0-1+deb12u1) ...
Setting up firefox-esr (115.3.0esr-1~deb12u1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.36-9+deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.3.0-rt11-linuxcnc
W: Possible missing firmware /lib/firmware/i915/dg2_huc_gsc.bin for module i915
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
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
Errors were encountered while processing:
linux-image-6.3.0-rt11-linuxcnc
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
Replied by Sparkman61 on topic A little help understanding what's going on with the pncconf wizard...
Odd, the raspi error was a bug in Bookworm 12.0 that was fixed in the 12.1 update. I had not see it break before.
Forget the kernel for now. Do
sudo apt update
sudo apt upgrade
That should get you to 12.1
Then do the dkms driver thing
Well, the apt update and upgrade produced similar errors (RE: z50-raspi-firmware and initramfs-tools). The only thing it looks like that it actually updated was firefox and a debian/bookworm-security update. Despite these issues, it seems to be running like a champ. No more follow errors. I'll attach the output from the apt update/upgrade - it would be nice to fix this but it doesn't appear to be hurting anything (at least at the moment). Question, how can I tell if I am at 12.0 vs 12.1? I haven't run the dkms driver thing because I think the right driver is already installed during the previous. Thought?
In the meantime, I'm gonna let this thing run for a while before I attempt anything new.
~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
firefox-esr libvpx7
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 1,003 kB/64.1 MB of archives.
After this operation, 13.7 MB 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 libvpx7 amd64 1.12.0-1+deb12u1 [1,003 kB]
Fetched 1,003 kB in 0s (4,512 kB/s)
(Reading database ... 265039 files and directories currently installed.)
Preparing to unpack .../libvpx7_1.12.0-1+deb12u1_amd64.deb ...
Unpacking libvpx7:amd64 (1.12.0-1+deb12u1) over (1.12.0-1) ...
Preparing to unpack .../firefox-esr_115.3.0esr-1~deb12u1_amd64.deb ...
Leaving 'diversion of /usr/bin/firefox to /usr/bin/firefox.real by firefox-esr'
Unpacking firefox-esr (115.3.0esr-1~deb12u1) over (102.15.1esr-1~deb12u1) ...
Setting up linux-image-6.3.0-rt11-linuxcnc (6.3.0-2) ...
dkms: running auto installation service for kernel 6.3.0-rt11-linuxcnc.
dkms: autoinstall for kernel: 6.3.0-rt11-linuxcnc.
update-initramfs: Generating /boot/initrd.img-6.3.0-rt11-linuxcnc
W: Possible missing firmware /lib/firmware/i915/dg2_huc_gsc.bin for module i915
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
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
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/kernel/postinst.d/z50-raspi-firmware exited with return code 1
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.3.0-rt11-linuxcnc
Found initrd image: /boot/initrd.img-6.3.0-rt11-linuxcnc
Found linux image: /boot/vmlinuz-6.1.0-12-rt-amd64
Found initrd image: /boot/initrd.img-6.1.0-12-rt-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot
entries.
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
dpkg: error processing package linux-image-6.3.0-rt11-linuxcnc (--configure):
installed linux-image-6.3.0-rt11-linuxcnc package post-installation script subp
rocess returned error exit status 1
Setting up initramfs-tools (0.142) ...
update-initramfs: deferring update (trigger activated)
Setting up libvpx7:amd64 (1.12.0-1+deb12u1) ...
Setting up firefox-esr (115.3.0esr-1~deb12u1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.36-9+deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.3.0-rt11-linuxcnc
W: Possible missing firmware /lib/firmware/i915/dg2_huc_gsc.bin for module i915
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
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
Errors were encountered while processing:
linux-image-6.3.0-rt11-linuxcnc
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
Last edit: 30 Sep 2023 02:40 by Sparkman61.
Please Log in or Create an account to join the conversation.
30 Sep 2023 11:43 - 30 Sep 2023 11:44 #281924
by rodw
Replied by rodw on topic A little help understanding what's going on with the pncconf wizard...
I think you will be fine. I have helped rescue a few PCs with similar specs with these settings.
Not to mention 3 of my own PC's which used to throw error finishing reads now work!
Ususally I suggest do the NIC driver then see if that is enough but thought in your case, the kernel would also be needed.
And the dkms drivers are best applied to the final kernel because they actually build the driver from source code if the kernel is upgraded. Thats why they need the kernel header files installed.
Not to mention 3 of my own PC's which used to throw error finishing reads now work!
Ususally I suggest do the NIC driver then see if that is enough but thought in your case, the kernel would also be needed.
And the dkms drivers are best applied to the final kernel because they actually build the driver from source code if the kernel is upgraded. Thats why they need the kernel header files installed.
Last edit: 30 Sep 2023 11:44 by rodw.
Please Log in or Create an account to join the conversation.
30 Sep 2023 11:57 #281925
by rodw
Replied by rodw on topic A little help understanding what's going on with the pncconf wizard...
I think if you have got the security updates, you would have also upgraded the Debian version. type:
lsb_release -a
to confirm
Debian gets upgraded infrequently. There will be a 12.2 coming in a month or so, but security updates can happen at any time.
If you folow the steps under step 9 of the getting linuxcnc docs I shared earlier, you can set it up so the update/upgrade steps will also upgrade linuxcnc at any time
lsb_release -a
to confirm
Debian gets upgraded infrequently. There will be a 12.2 coming in a month or so, but security updates can happen at any time.
If you folow the steps under step 9 of the getting linuxcnc docs I shared earlier, you can set it up so the update/upgrade steps will also upgrade linuxcnc at any time
Please Log in or Create an account to join the conversation.
- Sparkman61
- Offline
- Junior Member
Less
More
- Posts: 38
- Thank you received: 6
30 Sep 2023 12:09 #281926
by Sparkman61
Replied by Sparkman61 on topic A little help understanding what's going on with the pncconf wizard...
Well crap - I read through the instructions you sent but I was really focused on step 10 and overlooked step 9 altogether. Can I assume it's not too late to run through step 9?
Please Log in or Create an account to join the conversation.
30 Sep 2023 12:23 #281930
by rodw
Replied by rodw on topic A little help understanding what's going on with the pncconf wizard...
No its fine to do it now.
Since I wrote that guide, I built an all inclusive ISO to make life easier but I noticed you already had Bookworm installed so you don't need it.
forum.linuxcnc.org/9-installing-linuxcnc...or-linuxcnc-x86-only
It will also be slow to download, Google drive seems to throttle things
Since I wrote that guide, I built an all inclusive ISO to make life easier but I noticed you already had Bookworm installed so you don't need it.
forum.linuxcnc.org/9-installing-linuxcnc...or-linuxcnc-x86-only
It will also be slow to download, Google drive seems to throttle things
Please Log in or Create an account to join the conversation.
- Sparkman61
- Offline
- Junior Member
Less
More
- Posts: 38
- Thank you received: 6
30 Sep 2023 12:41 #281932
by Sparkman61
Replied by Sparkman61 on topic A little help understanding what's going on with the pncconf wizard...
You know, I saw that thread and would have installed but was scared off by the "the adventurous can try this" statement at the beginning. I just downloaded the iso and there was no throttling - it downloaded in less than 3 minutes. I am tempted to wipe this box and start over from scratch - well, maybe not today.
For now, I'll be happy with just getting this thing to 12.1 and cleaning up grub (if I can) to get rid of those pesky raspi errors.
For now, I'll be happy with just getting this thing to 12.1 and cleaning up grub (if I can) to get rid of those pesky raspi errors.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- Sparkman61
- Offline
- Junior Member
Less
More
- Posts: 38
- Thank you received: 6
30 Sep 2023 13:46 #281934
by Sparkman61
Replied by Sparkman61 on topic A little help understanding what's going on with the pncconf wizard...
I was able to get rid of the raspi errors in apt upgrade by running "sudo dpkg --purge raspi-firmware".
However, still getting "Possible missing firmware /lib/firmware/i915/dg2_huc_gsc.bin for module i915"
I read somewhere that this is related to Intel graphics so I'm not too worried about it but it would be nice have this thing not throw up warnings during apt update / apt upgrade.
Any thoughts or ideas?
However, still getting "Possible missing firmware /lib/firmware/i915/dg2_huc_gsc.bin for module i915"
I read somewhere that this is related to Intel graphics so I'm not too worried about it but it would be nice have this thing not throw up warnings during apt update / apt upgrade.
Any thoughts or ideas?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
30 Sep 2023 15:59 #281940
by tommylight
Replied by tommylight on topic A little help understanding what's going on with the pncconf wizard...
Missing firmware are just warnings, if you are not actually using an i915 (Intel 915 chipset with built in graphic card), no worries, you do not need it.
Ironically, the i915 driver was blacklisted in Linux for a long time as it caused a lot of issues. Now that no one uses it, it complains about it!
Ironically, the i915 driver was blacklisted in Linux for a long time as it caused a lot of issues. Now that no one uses it, it complains about it!
Please Log in or Create an account to join the conversation.
- Sparkman61
- Offline
- Junior Member
Less
More
- Posts: 38
- Thank you received: 6
30 Sep 2023 16:46 #281943
by Sparkman61
Replied by Sparkman61 on topic A little help understanding what's going on with the pncconf wizard...
Funny, a friend of mine says the same thing about his ex-wife.Now that no one uses it, it complains about it!
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
30 Sep 2023 16:51 #281945
by tommylight
Replied by tommylight on topic A little help understanding what's going on with the pncconf wizard...
That was good ...
Please Log in or Create an account to join the conversation.
Moderators: cmorley
- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- A little help understanding what's going on with the pncconf wizard...
Time to create page: 0.108 seconds