I am starting to use the new Ubuntu 24 image for Homa development and am getting errors from dpkg that seem to be related to Emulab software. The way I work is to start with a CloudLab official image but then upgrade the kernel to a more recent release and use the newer kernel with the rest of the image. Starting with the official Ubuntu 24 image, I compiled a newer version of the kernel (6.13.9) and then invoked dpkg to install the built kernel package. However, dpkg is getting errors related to the directory /var/lib/dkms/emulab-ipod-dkms, which I'm guessing is Emulab software. The command I'm running, and its output, are listed below, and I ran them on node0 of the following experiment:
Can you help me understand what's going on and whether there is an easy fix?
By the way, in spite of the dpkg error, nodes do seem to boot into the new kernel and seem to be usable.
-John-
---------------------------- Command and error output follow below -----------------------------------
ouster@node0:/ouster$ sudo dpkg -i linux-image-6.13.9+_6.13.9-00001-g765763177633-109_amd64.deb
Selecting previously unselected package linux-image-6.13.9+.
(Reading database ... 171222 files and directories currently installed.)
Preparing to unpack linux-image-6.13.9+_6.13.9-00001-g765763177633-109_amd64.deb ...
Unpacking linux-image-6.13.9+ (6.13.9-00001-g765763177633-109) ...
Setting up linux-image-6.13.9+ (6.13.9-00001-g765763177633-109) ...
* dkms: running auto installation service for kernel 6.13.9+
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/emulab-ipod-dkms/3.4.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/emulab-ipod-dkms/3.4.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/emulab-ipod-dkms/3.4.0/source/dkms.conf)
Kernel config /lib/modules/6.13.9+/build/.config not found, modules won't be signed
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/emulab-ipod-dkms/3.4.0/source/dkms.conf)
Building module:
Cleaning build area...
make -j20 KERNELRELEASE=6.13.9+ -C /lib/modules/6.13.9+/build M=/var/lib/dkms/emulab-ipod-dkms/3.4.0/build...(bad exit status: 2)
ERROR (dkms apport): kernel package linux-headers-6.13.9+ is not supported
Error! Bad return status for module build on kernel: 6.13.9+ (x86_64)
Consult /var/lib/dkms/emulab-ipod-dkms/3.4.0/build/make.log for more information.
dkms autoinstall on 6.13.9+/x86_64 failed for emulab-ipod-dkms(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.13.9+ [fail]
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
update-initramfs: Generating /boot/initrd.img-6.13.9+
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.13.9+
Found initrd image: /boot/initrd.img-6.13.9+
Found linux image: /boot/vmlinuz-6.8.0-57-generic
Found initrd image: /boot/initrd.img-6.8.0-57-generic
Found linux image: /boot/vmlinuz-6.8.0-53-generic
Found initrd image: /boot/initrd.img-6.8.0-53-generic
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.
Adding boot menu entry for UEFI Firmware Settings ...
done
dpkg: error processing package linux-image-6.13.9+ (--install):
installed linux-image-6.13.9+ package post-installation script subprocess returned error exit status 11
Errors were encountered while processing:
linux-image-6.13.9+