and it is an upgrade from linux kernel 6.8.0-49-generic (as is returned from uname -a). The first thing I wonder is what should I do, should I just sit and wait in hope that the developers eventually will solve this issue or should I try to resolve it myself? I have given it one day already and it is not resolved.
The more detailed error from the apt upgrade is as follows:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-5.15.0-126 linux-headers-5.15.0-126-generic
Use 'sudo apt autoremove' to remove them.
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
libcjson1 libavdevice60 ffmpeg libpostproc57 libavcodec60 libavutil58
libswscale7 libswresample4 libavformat60 libavfilter9
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following upgrades have been deferred due to phasing:
apport apport-core-dump-handler apport-gtk apport-kde gir1.2-packagekitglib-1.0 gir1.2-udisks-2.0 libpackagekit-glib2-18
libudisks2-0 packagekit packagekit-tools python3-apport python3-problem-report udisks2
The following packages will be upgraded:
thermald
1 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
4 not fully installed or removed.
Need to get 213 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://se.archive.ubuntu.com/ubuntu noble-updates/main amd64 thermald amd64 2.5.6-2ubuntu0.24.04.1 [213 kB]
Fetched 213 kB in 0s (1 294 kB/s)
(Reading database ... 390713 files and directories currently installed.)
Preparing to unpack .../thermald_2.5.6-2ubuntu0.24.04.1_amd64.deb ...
Unpacking thermald (2.5.6-2ubuntu0.24.04.1) over (2.5.6-2build2) ...
Setting up linux-image-6.8.0-50-generic (6.8.0-50.51) ...
Setting up linux-headers-6.8.0-50-generic (6.8.0-50.51) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-50-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Building module:
Cleaning build area...(bad exit status: 2)
make -j8 KERNELRELEASE=6.8.0-50-generic all INCLUDEDIR=/lib/modules/6.8.0-50-generic/build/include KVERSION=6.8.0-50-generic DKMS_BUILD=1...(bad exit status: 2)
ERROR (dkms apport): binary package for evdi: 4.4.24 not found
Error! Bad return status for module build on kernel: 6.8.0-50-generic (x86_64)
Consult /var/lib/dkms/evdi/4.4.24/build/make.log for more information.
dkms autoinstall on 6.8.0-50-generic/x86_64 failed for evdi(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.8.0-50-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.8.0-50-generic (--configure):
installed linux-headers-6.8.0-50-generic package post-installation script subprocess returned error exit status 11
Setting up thermald (2.5.6-2ubuntu0.24.04.1) ...
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-6.8.0-50-generic; however:
Package linux-headers-6.8.0-50-generic is not configured yet.
dpkg: error processing package linux-headers-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-headers-generic (= 6.8.0-50.51); however:
Package linux-headers-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for dbus (1.14.10-4ubuntu4.1) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for linux-image-6.8.0-50-generic (6.8.0-50.51) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-50-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Building module:
Cleaning build area...(bad exit status: 2)
make -j8 KERNELRELEASE=6.8.0-50-generic all INCLUDEDIR=/lib/modules/6.8.0-50-generic/build/include KVERSION=6.8.0-50-generic DKMS_BUILD=1...(bad exit status: 2)
ERROR (dkms apport): binary package for evdi: 4.4.24 not found
Error! Bad return status for module build on kernel: 6.8.0-50-generic (x86_64)
Consult /var/lib/dkms/evdi/4.4.24/build/make.log for more information.
dkms autoinstall on 6.8.0-50-generic/x86_64 failed for evdi(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.8.0-50-generic
...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.8.0-50-generic (--configure):
installed linux-image-6.8.0-50-generic package post-installation script subprocess returned error exit status 11
No apport report written because MaxReports is reached already
Errors were encountered while processing:
linux-headers-6.8.0-50-generic
linux-headers-generic
linux-generic
linux-image-6.8.0-50-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried to resolve this by apt installing evdi-dkms but that didn’t help. When looking into the evdi log (/var/lib/dkms/evdi/4.4.24/build/make.log) it looks like this:
DKMS make.log for evdi-4.4.24 for kernel 6.8.0-50-generic (x86_64)
tor 12 dec 2024 19:00:49 MSK
make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/4.4.24/build SRCROOT=/var/lib/dkms/evdi/4.4.24/build CONFIG_MODULE_SIG= -C /lib/modules/6.8.0-50-generic/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-50-generic'
make --no-print-directory -C /usr/src/linux-headers-6.8.0-50-generic \
-f /usr/src/linux-headers-6.8.0-50-generic/Makefile modules
make -f ./scripts/Makefile.build obj=arch/x86/entry/syscalls all
make -f ./scripts/Makefile.build obj=scripts/basic
set -e; mkdir -p include/config/; trap "rm -f include/config/.tmp_kernel.release" EXIT; { echo 6.8.0-50-generic; } > include/config/.tmp_kernel.release; if [ ! -r include/config/kernel.release ] || ! cmp -s include/config/kernel.release include/config/.tmp_kernel.release; then : ' UPD include/config/kernel.release'; mv -f include/config/.tmp_kernel.release include/config/kernel.release; fi
make -f ./scripts/Makefile.asm-generic obj=arch/x86/include/generated/uapi/asm \
generic=include/uapi/asm-generic
set -e; mkdir -p include/generated/uapi/linux/; trap "rm -f include/generated/uapi/linux/.tmp_version.h" EXIT; { if [ 12 -gt 255 ]; then echo \#define LINUX_VERSION_CODE 395519; else echo \#define LINUX_VERSION_CODE 395276; fi; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c)))'; echo \#define LINUX_VERSION_MAJOR 6; echo \#define LINUX_VERSION_PATCHLEVEL 8; echo \#define LINUX_VERSION_SUBLEVEL 12; } > include/generated/uapi/linux/.tmp_version.h; if [ ! -r include/generated/uapi/linux/version.h ] || ! cmp -s include/generated/uapi/linux/version.h include/generated/uapi/linux/.tmp_version.h; then : ' UPD include/generated/uapi/linux/version.h'; mv -f include/generated/uapi/linux/.tmp_version.h include/generated/uapi/linux/version.h; fi
set -e; mkdir -p include/generated/; trap "rm -f include/generated/.tmp_compile.h" EXIT; { ./scripts/mkcompile_h "x86_64" "gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0" "ld"; } > include/generated/.tmp_compile.h; if [ ! -r include/generated/compile.h ] || ! cmp -s include/generated/compile.h include/generated/.tmp_compile.h; then : ' UPD include/generated/compile.h'; mv -f include/generated/.tmp_compile.h include/generated/compile.h; fi
./scripts/remove-stale-files
make -f ./scripts/Makefile.asm-generic obj=arch/x86/include/generated/asm \
generic=include/asm-generic
mkdir -p ./tools
et -e; mkdir -p include/generated/; trap "rm -f include/generated/.tmp_utsrelease.h" EXIT; { if [ `echo -n "6.8.0-50-generic" | wc -c ` -gt 64 ]; then echo '"6.8.0-50-generic" exceeds 64 characters' >&2; exit 1; fi; echo \#define UTS_RELEASE \"6.8.0-50-generic\"; } > include/generated/.tmp_utsrelease.h; if [ ! -r include/generated/utsrelease.h ] || ! cmp -s include/generated/utsrelease.h include/generated/.tmp_utsrelease.h; then : ' UPD include/generated/utsrelease.h'; mv -f include/generated/.tmp_utsrelease.h include/generated/utsrelease.h; fi
make LDFLAGS= MAKEFLAGS=" --jobserver-auth=3,4" O=/usr/src/linux-headers-6.8.0-50-generic subdir=tools -C ./tools/ objtool
make -f ./scripts/Makefile.build obj=arch/x86/tools relocs
make -f ./scripts/Makefile.build obj=scripts/dtc
make[3]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'. Stop.
make[2]: *** [arch/x86/Makefile:249: archheaders] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: *** No rule to make target 'arch/x86/tools/relocs_32.c', needed by 'arch/x86/tools/relocs_32.o'. Stop.
make[2]: *** [arch/x86/Makefile:243: archscripts] Error 2
mkdir -p /usr/src/linux-headers-6.8.0-50-generic/tools/objtool && make O=/usr/src/linux-headers-6.8.0-50-generic subdir=tools/objtool --no-print-directory -C objtool
/usr/src/linux-headers-6.8.0-50-generic/tools/build/Makefile.build:45: /usr/src/linux-headers-6.8.0-50-generic/tools/build/Build.include: No such file or directory
make[6]: *** No rule to make target '/usr/src/linux-headers-6.8.0-50-generic/tools/build/Build.include'. Stop.
make[5]: *** [Makefile:47: /usr/src/linux-headers-6.8.0-50-generic/tools/objtool/fixdep-in.o] Error 2
make[4]: *** [/usr/src/linux-headers-6.8.0-50-generic/tools/build/Makefile.include:5: fixdep] Error 2
make[3]: *** [Makefile:73: objtool] Error 2
make[2]: *** [/usr/src/linux-headers-6.8.0-50-generic/Makefile:1364: tools/objtool] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-50-generic'
make: *** [Makefile:22: all] Error 2
I tried troubleshooting this syscall_32.tbl error following this link:
but I don’t know where to look for this file nor where to look for the file referencing it. I tried grepping those strings in various paths but failed. So I don’t know how to resolve this error.
I’m in the same boat, I use qt-fsarchiver and just rolled it back to my last save. Which was two weeks ago.
I’m waiting for the devs to sort it out before attempting another upgrade.
I also spent a day chasing my tail and gave up, life’s too short and I ain’t got too much of it left!
Cheers Tony
Don’t know if I did it correctly. Don’t know what package is involved exactly in terms of evdi. The error of evdi refers to verson 4.4.24 (a number which may be connected to Ubuntu 24.04.1?) but the version of evdi-dkms is 1.14.2.
If the problem is with the DisplayLink driver, I don’t mind uninstalling it. I just don’t know whether it is installed or not in the first place.
My computer crashed after I issued a command that scanned for hardware with inxi. When I rebooted (after turning off and on, it crashed so hard that it no longer responded to keystrokes), I was introduced to a black screen. I couldn’t do anything but turn off and on to get back to the grub boot menu.
When going into Advanced Ubuntu settings I see now there is an entry for linux-6.8.0-50 so no wonder it doesn’t work. I could wish for some kind of message saying “missing kernel” + version number or something along those lines instead of unresponsiveness and a black screen. But 6.8.0-49 was still in grub advanced boot options so I could get back here.
Continue booting using Advanced Options for Ubuntu and selecting the Linux 6.8.0-49 kernel.
I would also update/upgrade using the terminal and not Software Updater as that utility will install a kernel and remove an older kernel at the same time.
You could be in a situation where a newer kernel is brought in that is also broken in some way and the one working kernel (Linux 6.8.0-49 is automatically removed.
Wait until you get two newer kernels that work before you use Software Updater again or run autoremove.
This is what I have done in the past. In fact, earlier on in the year I had an install of Ubuntu 20.04 LTS that was so broken it could not be used. I was on the point of installing over it when I decided to give that install one more try.
I used advanced options recovery mode. At the recovery menu I selected Network to establish an internet connection. Followed by Root shell prompt and I ran apt update and apt upgrade. close to 500 packages were downloaded and installed.
With every kernel i have including " 6.8.0-51" this is the error:
ERROR (dkms apport): kernel package linux-headers-6.11.0-1002-nvidia is not supported
Error! Bad return status for module build on kernel: 6.11.0-1002-nvidia (x86_64)
Consult /var/lib/dkms/evdi/1.14.2+dfsg/build/make.log for more information.
dpkg: error processing package evdi-dkms (--configure):
installed evdi-dkms package post-installation script subprocess returned error exit status 10
Setting up libevdi1 (1.14.2+dfsg-1build1) ...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
Errors were encountered while processing:
evdi-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
So it’s just a waste in my view:
The following packages will be REMOVED:
evdi-dkms* libevdi1*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 228 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 556778 files and directories currently installed.)
Removing evdi-dkms (1.14.2+dfsg-1build1) ...
Deleting module evdi-1.14.2+dfsg completely from the DKMS tree.
Removing libevdi1 (1.14.2+dfsg-1build1) ...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
And in “some” cases fix’s sound issues as well.
I just executed the commands as you specified. It doesn’t look like it resolved the dpkg errors. I have the following logs:
Output:
Setting up linux-headers-6.8.0-51-generic (6.8.0-51.52) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-51-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Building module:
Cleaning build area...(bad exit status: 2)
make -j8 KERNELRELEASE=6.8.0-51-generic all INCLUDEDIR=/lib/modules/6.8.0-51-generic/build/include KVERSION=6.8.0-51-generic DKMS_BUILD=1...(bad exit status: 2)
ERROR (dkms apport): binary package for evdi: 4.4.24 not found
Error! Bad return status for module build on kernel: 6.8.0-51-generic (x86_64)
Consult /var/lib/dkms/evdi/4.4.24/build/make.log for more information.
dkms autoinstall on 6.8.0-51-generic/x86_64 failed for evdi(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.8.0-51-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.8.0-51-generic (--configure):
installed linux-headers-6.8.0-51-generic package post-installation script subprocess returned error exit status 11
Setting up linux-image-6.8.0-51-generic (6.8.0-51.52) ...
I: /boot/initrd.img is now a symlink to initrd.img-6.8.0-51-generic
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-6.8.0-51-generic; however:
Package linux-headers-6.8.0-51-generic is not configured yet.
dpkg: error processing package linux-headers-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-headers-generic (= 6.8.0-51.52); however:
Package linux-headers-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
Processing triggers for linux-image-6.8.0-51-generic (6.8.0-51.52) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-51-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Building module:
Cleaning build area...(bad exit status: 2)
make -j8 KERNELRELEASE=6.8.0-51-generic all INCLUDEDIR=/lib/modules/6.8.0-51-generic/build/include KVERSION=6.8.0-51-generic DKMS_BUILD=1...(bad exit status: 2)
ERROR (dkms apport): binary package for evdi: 4.4.24 not found
Error! Bad return status for module build on kernel: 6.8.0-51-generic (x86_64)
Consult /var/lib/dkms/evdi/4.4.24/build/make.log for more information.
dkms autoinstall on 6.8.0-51-generic/x86_64 failed for evdi(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.8.0-51-generic
...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.8.0-51-generic (--configure):
installed linux-image-6.8.0-51-generic package post-installation script subprocess returned error exit status 11
No apport report written because MaxReports is reached already
Errors were encountered while processing:
linux-headers-6.8.0-51-generic
linux-headers-generic
linux-generic
linux-image-6.8.0-51-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
The evdi log:
/var/lib/dkms/evdi/4.4.24/build/make.log
DKMS make.log for evdi-4.4.24 for kernel 6.8.0-51-generic (x86_64)
mĂĄn 23 dec 2024 21:37:27 MSK
make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/4.4.24/build SRCROOT=/var/lib/dkms/evdi/4.4.24/build CONFIG_MODULE_SIG= -C /lib/modules/6.8.0-51-generic/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-51-generic'
make --no-print-directory -C /usr/src/linux-headers-6.8.0-51-generic \
-f /usr/src/linux-headers-6.8.0-51-generic/Makefile modules
make -f ./scripts/Makefile.build obj=arch/x86/entry/syscalls all
make -f ./scripts/Makefile.build obj=scripts/basic
set -e; mkdir -p include/config/; trap "rm -f include/config/.tmp_kernel.release" EXIT; { echo 6.8.0-51-generic; } > include/config/.tmp_kernel.release; if [ ! -r include/config/kernel.release ] || ! cmp -s include/config/kernel.release include/config/.tmp_kernel.release; then : ' UPD include/config/kernel.release'; mv -f include/config/.tmp_kernel.release include/config/kernel.release; fi
make -f ./scripts/Makefile.asm-generic obj=arch/x86/include/generated/uapi/asm \
generic=include/uapi/asm-generic
set -e; mkdir -p include/generated/uapi/linux/; trap "rm -f include/generated/uapi/linux/.tmp_version.h" EXIT; { if [ 12 -gt 255 ]; then echo \#define LINUX_VERSION_CODE 395519; else echo \#define LINUX_VERSION_CODE 395276; fi; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c)))'; echo \#define LINUX_VERSION_MAJOR 6; echo \#define LINUX_VERSION_PATCHLEVEL 8; echo \#define LINUX_VERSION_SUBLEVEL 12; } > include/generated/uapi/linux/.tmp_version.h; if [ ! -r include/generated/uapi/linux/version.h ] || ! cmp -s include/generated/uapi/linux/version.h include/generated/uapi/linux/.tmp_version.h; then : ' UPD include/generated/uapi/linux/version.h'; mv -f include/generated/uapi/linux/.tmp_version.h include/generated/uapi/linux/version.h; fi
set -e; mkdir -p include/generated/; trap "rm -f include/generated/.tmp_compile.h" EXIT; { ./scripts/mkcompile_h "x86_64" "gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0" "ld"; } > include/generated/.tmp_compile.h; if [ ! -r include/generated/compile.h ] || ! cmp -s include/generated/compile.h include/generated/.tmp_compile.h; then : ' UPD include/generated/compile.h'; mv -f include/generated/.tmp_compile.h include/generated/compile.h; fi
./scripts/remove-stale-files
make -f ./scripts/Makefile.asm-generic obj=arch/x86/include/generated/asm \
generic=include/asm-generic
mkdir -p ./tools
make LDFLAGS= MAKEFLAGS=" --jobserver-auth=3,4" O=/usr/src/linux-headers-6.8.0-51-generic subdir=tools -C ./tools/ objtool
set -e; mkdir -p include/generated/; trap "rm -f include/generated/.tmp_utsrelease.h" EXIT; { if [ `echo -n "6.8.0-51-generic" | wc -c ` -gt 64 ]; then echo '"6.8.0-51-generic" exceeds 64 characters' >&2; exit 1; fi; echo \#define UTS_RELEASE \"6.8.0-51-generic\"; } > include/generated/.tmp_utsrelease.h; if [ ! -r include/generated/utsrelease.h ] || ! cmp -s include/generated/utsrelease.h include/generated/.tmp_utsrelease.h; then : ' UPD include/generated/utsrelease.h'; mv -f include/generated/.tmp_utsrelease.h include/generated/utsrelease.h; fi
make -f ./scripts/Makefile.build obj=arch/x86/tools relocs
make -f ./scripts/Makefile.build obj=scripts/dtc
make[3]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'. Stop.
make[2]: *** [arch/x86/Makefile:249: archheaders] Error 2
make[2]: *** Waiting for unfinished jobs....
mkdir -p /usr/src/linux-headers-6.8.0-51-generic/tools/objtool && make O=/usr/src/linux-headers-6.8.0-51-generic subdir=tools/objtool --no-print-directory -C objtool
make[3]: *** No rule to make target 'arch/x86/tools/relocs_32.c', needed by 'arch/x86/tools/relocs_32.o'. Stop.
make[2]: *** [arch/x86/Makefile:243: archscripts] Error 2
/usr/src/linux-headers-6.8.0-51-generic/tools/build/Makefile.build:45: /usr/src/linux-headers-6.8.0-51-generic/tools/build/Build.include: No such file or directory
make[6]: *** No rule to make target '/usr/src/linux-headers-6.8.0-51-generic/tools/build/Build.include'. Stop.
make[5]: *** [Makefile:47: /usr/src/linux-headers-6.8.0-51-generic/tools/objtool/fixdep-in.o] Error 2
make[4]: *** [/usr/src/linux-headers-6.8.0-51-generic/tools/build/Makefile.include:5: fixdep] Error 2
make[3]: *** [Makefile:73: objtool] Error 2
make[2]: *** [/usr/src/linux-headers-6.8.0-51-generic/Makefile:1364: tools/objtool] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-51-generic'
make: *** [Makefile:22: all] Error 2
It doesn’t make any sense, didn’t I just uninstall evdi?!?
But that didn’t help either. I still have the evdi errors even though i don’t have evdi installed!??!?
I did sudo apt-file search /var/lib/dkms/evdi/ but there is no package associated with that path. Ok I found a hit with dpkg -S. According to it, there is a package named dkms. I did apt remove on it…
Once I located the dkms install by dpkg -S /var/lib/dkms and removed it with sudo apt remove dkms, I no longer have issues. The point here is that I wanted to be rid of those evdi log files and I didn’t know the name of the package that hosted those files. Which is why I used the dpkg -S command to locate it and then proceed to uninstall it.
As a kernel install/upgrade issue I’d consider it resolved. As a bug in EVDI preventing DisplayLink drivers from installing, I would consider it unresolved.
I have no need for DisplayLink. It was a half-assed solution to make multiple external monitors work over only one Thunderbolt lane (back in 2019). There were cheap docking stations that could connect two monitors (using DisplayLink) but were using only one TB/USB-C connection. It had performance issues and I recall that XServer had issues with it. Don’t know anymore because I don’t use it today.
This has not resolved the other issues I’m working on and I have now tried different kernels. I’ll post more info on that in the other thread.
I mark this as the solution combined with the instructions in the prior post from @1fallen
I don’t know who to blame for the evdi bug. There are better solutions than DisplayLink for multi-monitor setups imo. I prefer working with three monitors (including the laptop monitor) but that has been tantamount to begging for trouble in Linux from my experience. One extra monitor is fine but if you want another one, then you get problems. Especially if the monitors are QHD or UHD.
Maybe DisplayLink is more mature now than back when I tried to use it and not as cumbersome now that we have higher bandwidth thunderbolt protocols. I think I have seen it in more recent times in equipment for video conferencing. I think some devices us the DisplayLink protocol to share computer screens remotely.
Perhaps for MST (Micro Soft) and ChromeOS, but we Linux users are still low hanging fruit.
Hardware comes into play here as well some are much better with Display Link.