Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0008920Kali LinuxKali Package Bugpublic2024-10-06 03:37
ReporterMikeKachar Assigned Toarnaudr  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0008920: linux-image/headers-6.10.9-amd64 Upgrade Issues
Description

I noticed I didn't have any updates available to process yesterday (Monday, 09/16/2024), when I checked around 4~5pm ET.
Today (Tuesday, 09/17/2024) when I checked, I had about 1,155 updates available.
There are a few [4] that are throwing errors when running sudo apt upgrade, and those are:
The error I'm receiving is as follows:

Errors were encountered while processing:
linux-image-6.10.9-amd64
linux-image-amd64
linux-headers-6.10.9-amd64
linux-headers-amd64
Config is in use.
needrestart is being skipped since dpkg has failed
Error: Sub-process /usr/bin/dpkg returned an error code (1)

I tried running sudo dpkg --configure -a, and it still errored out, pointing to " consult /var/lib/dkms/evdi/1.14.2+dfsg/build/make.log for more information.".
I have saved a copy of the make.log file, and will attach it here.
The [first] error that's jumping out to me in this make.log file is as follows:

/var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c:319:25: error: implicit declaration of function ‘vmap’; did you mean ‘kmap’?
[-Werror=implicit-function-declaration]
319 | obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL);
| ^~~~
| kmap

After I reboot, I already know that my BTRFS-formatted Kali machine will not be able to boot up, and I'll need to restore to a previous snapshot (which I created a snapshot just before I initially ran sudo apt upgrade).
I will be restoring to a previous snapshot after rebooting.

Not sure if others are experiencing this issue (especially how there were no updates yesterday, but then today I've got over 1k+ updates), but I thought it pertinent to bring this to someones attention.

Please advise how to proceed here.
Thanks.

Attached Files
make.log (2,619 bytes)   
DKMS make.log for evdi-1.14.2+dfsg for kernel 6.10.9-amd64 (x86_64)
Tue Sep 17 05:45:12 PM EDT 2024
make: Entering directory '/usr/src/linux-headers-6.10.9-amd64'
  CC [M]  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_platform_drv.o
  CC [M]  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_platform_dev.o
  CC [M]  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_sysfs.o
  CC [M]  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_modeset.o
  CC [M]  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_connector.o
  CC [M]  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_encoder.o
  CC [M]  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_drm_drv.o
  CC [M]  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_fb.o
  CC [M]  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.o
  CC [M]  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_painter.o
  CC [M]  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_params.o
  CC [M]  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_cursor.o
  CC [M]  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_debug.o
  CC [M]  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_i2c.o
  CC [M]  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_ioc32.o
/var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c: In function ‘evdi_gem_vmap’:
/var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c:319:25: error: implicit declaration of function ‘vmap’; did you mean ‘kmap’? [-Werror=implicit-function-declaration]
  319 |         obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL);
      |                         ^~~~
      |                         kmap
/var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c:319:23: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  319 |         obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL);
      |                       ^
/var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c: In function ‘evdi_gem_vunmap’:
/var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c:355:17: error: implicit declaration of function ‘vunmap’; did you mean ‘kunmap’? [-Werror=implicit-function-declaration]
  355 |                 vunmap(obj->vmapping);
      |                 ^~~~~~
      |                 kunmap
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-6.10.9-common/scripts/Makefile.build:249: /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/src/linux-headers-6.10.9-common/Makefile:1959: /var/lib/dkms/evdi/1.14.2+dfsg/build] Error 2
make: *** [/usr/src/linux-headers-6.10.9-common/Makefile:252: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.10.9-amd64'
make.log (2,619 bytes)   

Relationships

has duplicate 0008923 closedarnaudr Unable to boot after update 

Activities

baraka983

baraka983

2024-09-17 22:44

reporter   ~0019790

Hi i get ERROR to
My OS Linux kali 6.8.11-amd64 0000001 SMP PREEMPT_DYNAMIC Kali 6.8.11-1kali2 (2024-05-30) x86_64 GNU/Linux

apt install linux-headers-amd64 linux-image-amd64
Upgrading:
bpftool linux-headers-amd64 linux-image-amd64 linux-libc-dev

Installing dependencies:
linux-headers-6.10.9-amd64 linux-headers-6.10.9-common linux-image-6.10.9-amd64 linux-kbuild-6.10.9

Suggested packages:
linux-doc-6.10 debian-kernel-handbook

Summary:
Upgrading: 4, Installing: 4, Removing: 0, Not Upgrading: 1
Download size: 101 MB / 118 MB
Space needed: 271 MB / 45.0 GB available

Continue? [Y/n] y
Get:1 https://mirror.accuris.ca/kali kali-rolling/main amd64 linux-image-6.10.9-amd64 amd64 6.10.9-1kali1 [101 MB]
Fetched 13.9 MB in 5s (2,553 kB/s)
Reading changelogs... Done
(Reading database ... 1268454 files and directories currently installed.)
Preparing to unpack .../0-bpftool_7.5.0+6.10.9-1kali1_amd64.deb ...
Unpacking bpftool (7.5.0+6.10.9-1kali1) over (7.4.0+6.8.11-1kali2) ...
Selecting previously unselected package linux-headers-6.10.9-common.
Preparing to unpack .../1-linux-headers-6.10.9-common_6.10.9-1kali1_all.deb ...
Unpacking linux-headers-6.10.9-common (6.10.9-1kali1) ...
Selecting previously unselected package linux-image-6.10.9-amd64.
Preparing to unpack .../2-linux-image-6.10.9-amd64_6.10.9-1kali1_amd64.deb ...
Unpacking linux-image-6.10.9-amd64 (6.10.9-1kali1) ...
Selecting previously unselected package linux-kbuild-6.10.9.
Preparing to unpack .../3-linux-kbuild-6.10.9_6.10.9-1kali1_amd64.deb ...
Unpacking linux-kbuild-6.10.9 (6.10.9-1kali1) ...
Selecting previously unselected package linux-headers-6.10.9-amd64.
Preparing to unpack .../4-linux-headers-6.10.9-amd64_6.10.9-1kali1_amd64.deb ...
Unpacking linux-headers-6.10.9-amd64 (6.10.9-1kali1) ...
Preparing to unpack .../5-linux-headers-amd64_6.10.9-1kali1_amd64.deb ...
Unpacking linux-headers-amd64 (6.10.9-1kali1) over (6.8.11-1kali2) ...
Preparing to unpack .../6-linux-image-amd64_6.10.9-1kali1_amd64.deb ...
Unpacking linux-image-amd64 (6.10.9-1kali1) over (6.8.11-1kali2) ...
Preparing to unpack .../7-linux-libc-dev_6.10.9-1kali1_all.deb ...
Unpacking linux-libc-dev (6.10.9-1kali1) over (6.8.11-1kali2) ...
Setting up bpftool (7.5.0+6.10.9-1kali1) ...
Setting up linux-libc-dev (6.10.9-1kali1) ...
Setting up linux-kbuild-6.10.9 (6.10.9-1kali1) ...
Setting up linux-image-6.10.9-amd64 (6.10.9-1kali1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.8.11-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.8.11-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.10.9-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.10.9-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.10.9-amd64.
Sign command: /lib/modules/6.10.9-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
Building module(s)...........
Signing module /var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20240527.d8208c8/build/8814au.ko
Cleaning build area...

8814au.ko.xz:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/6.10.9-amd64/updates/dkms/
      depmod....
      Sign command: /lib/modules/6.10.9-amd64/build/scripts/sign-file
      Signing key: /var/lib/dkms/mok.key
      Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
Building module(s)..............
Signing module /var/lib/dkms/realtek-rtl88xxau/5.6.4.2~git20240726.63cf0b4/build/88XXau.ko
Cleaning build area...

88XXau.ko.xz:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/6.10.9-amd64/updates/dkms/
      depmod....
      Sign command: /lib/modules/6.10.9-amd64/build/scripts/sign-file
      Signing key: /var/lib/dkms/mok.key
      Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
Building module(s)...(bad exit status: 2)
Failed command:
make -j6 KERNELRELEASE=6.10.9-amd64 -C /lib/modules/6.10.9-amd64/build M=/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.5/build
Error! Bad return status for module build on kernel: 6.10.9-amd64 (x86_64)
Consult /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.5/build/make.log for more information.
dkms autoinstall on 6.10.9-amd64/x86_64 succeeded for realtek-rtl8814au realtek-rtl88xxau
dkms autoinstall on 6.10.9-amd64/x86_64 failed for xtrx(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.10.9-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.10.9-amd64 (--configure):
installed linux-image-6.10.9-amd64 package post-installation script subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-image-amd64:
linux-image-amd64 depends on linux-image-6.10.9-amd64 (= 6.10.9-1kali1); however:
Package linux-image-6.10.9-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
dependency problems - leaving unconfigured
Setting up linux-headers-6.10.9-common (6.10.9-1kali1) ...
dpkg: dependency problems prevent configuration of linux-headers-6.10.9-amd64:
linux-headers-6.10.9-amd64 depends on linux-image-6.10.9-amd64 (= 6.10.9-1kali1) | linux-image-6.10.9-amd64-unsigned (= 6.10.9-1kali1); however:
Package linux-image-6.10.9-amd64 is not configured yet.
Package linux-image-6.10.9-amd64-unsigned is not installed.

dpkg: error processing package linux-headers-6.10.9-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-amd64:
linux-headers-amd64 depends on linux-headers-6.10.9-amd64 (= 6.10.9-1kali1); however:
Package linux-headers-6.10.9-amd64 is not configured yet.

dpkg: error processing package linux-headers-amd64 (--configure):
dependency problems - leaving unconfigured
Processing triggers for kali-menu (2024.3.1) ...
Processing triggers for man-db (2.13.0-1) ...
Errors were encountered while processing:
linux-image-6.10.9-amd64
linux-image-amd64
linux-headers-6.10.9-amd64
linux-headers-amd64
Error: Sub-process /usr/bin/dpkg returned an error code (1)

henrylaplace

henrylaplace

2024-09-18 00:03

reporter   ~0019792

The same thing happened to me, I had about 900 update packages.

jo8341

jo8341

2024-09-18 02:26

reporter   ~0019797

After Kali Purple is updated and upgraded, the 6.10.9 kernel configuration fails and the graphical interface cannot be entered when the system is restarted.

Sunny_20240918_102428.png (629,526 bytes)
arnaudr

arnaudr

2024-09-18 06:43

manager   ~0019799

Should be fixed with package xtrx-dkms 0.0.1+git20190320.5ae3a3e-4~kali1, it should be available in Kali Rolling in an hour or so.

mrityunjay singh rajawat

mrityunjay singh rajawat

2024-09-18 08:01

reporter   ~0019801

Password issue resolved

henrylaplace

henrylaplace

2024-09-19 05:56

reporter   ~0019805

when will it be fixed in kali-linux-everything?

daniruiz

daniruiz

2024-09-19 06:42

manager   ~0019806

Last edited: 2024-09-19 09:33

when will it be fixed in kali-linux-everything?

@henrylaplace it should be resolved for all Kali versions now

palink

palink

2024-09-19 08:43

reporter   ~0019807

Last edited: 2024-09-19 09:33

Building module:
Cleaning build area...
Building module(s)...(bad exit status: 2)
Failed command:
make -j12 KERNELRELEASE=6.10.9-amd64 -C /lib/modules/6.10.9-amd64/build M=/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-4~kali1/build
Error! Bad return status for module build on kernel: 6.10.9-amd64 (x86_64)
Consult /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-4~kali1/build/make.log for more information.
dkms autoinstall on 6.10.9-amd64/x86_64 succeeded for nvidia-current virtualbox
dkms autoinstall on 6.10.9-amd64/x86_64 failed for xtrx(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.10.9-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11

I am also encountering this issue. When will it be fixed?

arnaudr

arnaudr

2024-09-19 09:32

manager   ~0019808

There is a tentative fix proposed at https://github.com/myriadrf/xtrx_linux_pcie_drv/pull/20

We applied it in package xtrx-dkms 0.0.1+git20190320.5ae3a3e-4~kali1 but unfortunately it doesn't work.

The issue will not be resolved until someone comes up with a patch. Nobody in the Kali team has the bandwidth to work on that at the moment.

In the meantime, I think the best is just to remove the package xtrx-dkms.

atdtphreaker

atdtphreaker

2024-09-19 17:24

reporter   ~0019809

I'm experiencing the same issue/errors.

Thank you.

arnaudr

arnaudr

2024-09-30 03:33

manager   ~0019855

I uploaded a new version of the package xtrx-dkms, the version is 0.0.1+git20190320.5ae3a3e-4~kali2. This time it should fix the issue. It should land in the repo in a few hours.

atdtphreaker

atdtphreaker

2024-09-30 17:04

reporter   ~0019858

@arnaudr

I can confirm that this DOES indeed fix the issue.

I appreciate your time, thanks!

arnaudr

arnaudr

2024-10-01 07:21

manager   ~0019864

Thanks for the confirmation @atdtphreaker

Issue History

Date Modified Username Field Change
2024-09-17 21:58 MikeKachar New Issue
2024-09-17 21:58 MikeKachar File Added: make.log
2024-09-17 22:44 baraka983 Note Added: 0019790
2024-09-18 00:03 henrylaplace Note Added: 0019792
2024-09-18 00:03 henrylaplace File Added: Screenshot_2024-09-17_21-00-36.png
2024-09-18 00:03 henrylaplace File Added: Screenshot_2024-09-17_21-00-56.png
2024-09-18 02:26 jo8341 Note Added: 0019797
2024-09-18 02:26 jo8341 File Added: Sunny_20240918_102428.png
2024-09-18 06:43 arnaudr Note Added: 0019799
2024-09-18 08:01 mrityunjay singh rajawat Note Added: 0019801
2024-09-19 05:56 henrylaplace Note Added: 0019805
2024-09-19 06:42 daniruiz Note Added: 0019806
2024-09-19 08:43 palink Note Added: 0019807
2024-09-19 09:32 arnaudr Note Added: 0019808
2024-09-19 09:33 arnaudr Note Edited: 0019806
2024-09-19 09:33 arnaudr Note Edited: 0019807
2024-09-19 17:24 atdtphreaker Note Added: 0019809
2024-09-30 03:33 arnaudr Note Added: 0019855
2024-09-30 03:34 arnaudr Relationship added has duplicate 0008923
2024-09-30 17:04 atdtphreaker Note Added: 0019858
2024-10-01 07:21 arnaudr Note Added: 0019864
2024-10-01 07:21 arnaudr Assigned To => arnaudr
2024-10-01 07:21 arnaudr Status new => assigned
2024-10-01 07:21 arnaudr Status assigned => resolved
2024-10-01 07:21 arnaudr Resolution open => fixed