Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

[Testing - Trixie] Kernel was not properly installed while upgrading from bookworm to trixie

$
0
0
I was upgrading from bookworm to trixie by following this page: https://wiki.debian.org/DebianUpgrade
while running apt-get full-upgrade at the first time upgraded several packages except the kernel. So i ran it again and got this error

Code:

# apt-get full-upgradeReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... DoneThe following packages were automatically installed and are no longer required:  clang-format-14 clangd-14 fcitx5-chewing fonts-noto-hinted gcc-11-base gdisk golang-1.19 golang-1.19-doc golang-1.19-go golang-1.19-src kross  kuserfeedback-doc libamd2 libappstream4 libappstreamqt2 libarmadillo11 libasan6 libavutil57 libblockdev-crypto2 libblockdev-fs2 libblockdev-loop2  libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2 libblockdev2 libboost-chrono1.74.0 libboost-date-time1.74-dev  libboost-date-time1.74.0 libboost-dev libboost-filesystem1.74.0 libboost-program-options1.74.0 libboost-regex1.74-dev libboost-regex1.74.0  libboost-serialization1.74-dev libboost-serialization1.74.0 libboost1.74-dev libcamd2 libcbor0.8 libccolamd2 libchewing3 libchewing3-data libcholmod3  libcodec2-1.0 libcolamd2 libdav1d6 libexecs0 libgcab-1.0-0 libgcc-11-dev libgdal32 libgeos3.11.1 libgfortran-11-dev libgit2-1.5 libgps28  libgupnp-igd-1.0-4 libhiredis0.14 libixml10 libjim0.81 libkf5js5 libkf5jsapi5 libkf5krosscore5 libkf5krossui5 liblc3-0 libllvm15 libmagick++-6.q16-8  libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra libmagickwand-6.q16-6 libmetis5 libnfs13 libnunit-cil-dev libnunit-console-runner2.6.3-cil  libnunit-core-interfaces2.6.3-cil libnunit-core2.6.3-cil libnunit-framework2.6.3-cil libnunit-mocks2.6.3-cil libnunit-util2.6.3-cil libobjc-12-dev  libokular5core10 libopenblas-dev libopenblas-pthread-dev libopenblas0 libperl5.36 libphonon4qt5-data libplacebo208 libpostproc56 libpython3-all-dev  libpython3.12 libpython3.12-dev libqt5script5 libraw20 libre2-9 libsdl-image1.2 libsmbios-c2 libspatialite7 libspdlog1.10 libsrt1.5-openssl  libstdc++-11-dev libsuitesparseconfig5 libsuperlu5 libswscale6 libtsan0 libumfpack5 libupnp13 libwireshark16 libwiretap13 libwsutil14 libxsimd-dev  libzxing2 linux-headers-6.1.0-17-amd64 linux-headers-6.1.0-17-common linux-image-6.1.0-17-amd64 node-busboy node-end-of-stream node-pump p7zip  perl-modules-5.36 python3-all-dev python3-beniget python3-gast python3-jdcal python3-ply python3-py python3-pythran python3.12-dev rtmpdump xtl-devUse 'sudo apt autoremove' to remove them.The following packages have been kept back:  libboost-dev0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.4 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Do you want to continue? [Y/n] Setting up linux-image-6.6.15-amd64 (6.6.15-2) .../etc/kernel/postinst.d/dkms:dkms: running auto installation service for kernel 6.6.15-amd64.Sign command: /lib/modules/6.6.15-amd64/build/scripts/sign-fileSigning key: /var/lib/dkms/mok.keyPublic certificate (MOK): /var/lib/dkms/mok.pubRunning the pre_build script:checking for a BSD-compatible install... /usr/bin/install -cchecking for gcc... gcc-13checking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether the compiler supports GNU C... yeschecking whether gcc-13 accepts -g... yeschecking for gcc-13 option to enable C11 features... none neededchecking how to run the C preprocessor... gcc-13 -Echecking kernel source directory... /usr/src/linux-headers-6.6.15-commonchecking kernel build directory... /usr/src/linux-headers-6.6.15-amd64checking kernel source version... 6.6.15-amd64checking kernel file name for module symbols... Module.symverschecking for linux/bits.h... yeschecking for linux/io-64-nonatomic-lo-hi.h... yeschecking for asm/set_memory.h... yeschecking for asm/fpu/api.h... yeschecking for linux/compiler_attributes.h... yeschecking for linux/fence-array.h... nochecking for linux/dma-resv.h... yeschecking for linux/mmap_lock.h... yeschecking for linux/pci-p2pdma.h... yeschecking for linux/dma-attrs.h... nochecking for linux/dma-buf-map.h... nochecking for linux/iosys-map.h... yeschecking for linux/stdarg.h... yeschecking for linux/dma-fence-chain.h... yeschecking for linux/xarray.h... yeschecking for linux/container_of.h... yeschecking for linux/cc_platform.h... yeschecking for linux/processor.h... yeschecking for linux/dma-map-ops.h... yeschecking for linux/apple-gmux.h... yeschecking for linux/build_bug.h... yeschecking for linux/device/class.h... yeschecking for drm/drm_backport.h... nochecking for drm/amdgpu_pciid.h... nochecking for drm/drm_probe_helper.h... yeschecking for drm/drmP.h... nochecking for drm/task_barrier.h... yeschecking for drm/drm_managed.h... yeschecking for drm/amd_asic_type.h... yeschecking for drm/drm_aperture.h... yeschecking for drm/dp/drm_dp_helper.h... nochecking for drm/dp/drm_dp_mst_helper.h... nochecking for drm/drm_gem_atomic_helper.h... yeschecking for drm/display/drm_dp_helper.h... yeschecking for drm/display/drm_dp_mst_helper.h... yeschecking for drm/display/drm_dsc.h... yeschecking for drm/display/drm_dsc_helper.h... yeschecking for drm/display/drm_hdmi_helper.h... yeschecking for drm/display/drm_hdcp_helper.h... yeschecking for drm/display/drm_hdcp.h... yeschecking for drm/display/drm_dp.h... yeschecking for linux/pgtable.h... yeschecking for drm/drm_fbdev_generic.h... yeschecking for drm/drm_suballoc.h... yeschecking for nproc... yeschecking for supported chips... donechecking for nproc... (cached) yeschecking for nproc... (cached) yeschecking for nproc... (cached) yeschecking for nproc... (cached) yeschecking for nproc... (cached) yeschecking for nproc... (cached) yes...checking for nproc... (cached) yeschecking for nproc... (cached) yeschecking for module configuration... doneconfigure: creating ./config.statusconfig.status: creating config/config.hBuilding module:Cleaning build area...(bad exit status: 2)Failed command:make -C /lib/modules/6.6.15-amd64/build M=/var/lib/dkms/amdgpu/6.3.6-1718217.22.04/build cleanBuilding module(s)...(bad exit status: 2)Failed command:make -j12 KERNELRELEASE=6.6.15-amd64 TTM_NAME=amdttm SCHED_NAME=amd-sched -C /lib/modules/6.6.15-amd64/build M=/var/lib/dkms/amdgpu/6.3.6-1718217.22.04/buildError! Bad return status for module build on kernel: 6.6.15-amd64 (x86_64)Consult /var/lib/dkms/amdgpu/6.3.6-1718217.22.04/build/make.log for more information.dkms autoinstall on 6.6.15-amd64/x86_64 failed for amdgpu(10)Error! One or more modules failed to install during autoinstall.Refer to previous errors for more information.dkms: autoinstall for kernel: 6.6.15-amd64 failed!run-parts: /etc/kernel/postinst.d/dkms exited with return code 11dpkg: error processing package linux-image-6.6.15-amd64 (--configure): installed linux-image-6.6.15-amd64 package post-installation script subprocess returned error exit status 11dpkg: dependency problems prevent configuration of linux-image-amd64: linux-image-amd64 depends on linux-image-6.6.15-amd64 (= 6.6.15-2); however:  Package linux-image-6.6.15-amd64 is not configured yet.dpkg: error processing package linux-image-amd64 (--configure): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of linux-headers-6.6.15-amd64: linux-headers-6.6.15-amd64 depends on linux-image-6.6.15-amd64 (= 6.6.15-2) | linux-image-6.6.15-amd64-unsigned (= 6.6.15-2); however:  Package linux-image-6.6.15-amd64 is not configured yet.  Package linux-image-6.6.15-amd64-unsigned is not installed.dpkg: error processing package linux-headers-6.6.15-amd64 (--configure): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of linux-headers-amd64: linux-headers-amd64 depends on linux-headers-6.6.15-amd64 (= 6.6.15-2); however:  Package linux-headers-6.6.15-amd64 is not configured yet.dpkg: error processing package linux-headers-amd64 (--configure): dependency problems - leaving unconfiguredErrors were encountered while processing: linux-image-6.6.15-amd64 linux-image-amd64 linux-headers-6.6.15-amd64 linux-headers-amd64E: Sub-process /usr/bin/dpkg returned an error code (1)
So i checked
/var/lib/dkms/amdgpu/6.3.6-1718217.22.04/build/make.log
and got this:

Code:

DKMS make.log for amdgpu-6.3.6-1718217.22.04 for kernel 6.6.15-amd64 (x86_64)Saturday 30 March 2024 04:59:16 PM ISTmake: Entering directory '/usr/src/linux-headers-6.6.15-amd64'/var/lib/dkms/amdgpu/6.3.6-1718217.22.04/build/Makefile:52: *** dma_resv->seq is missing. exit....  Stop.make[1]: *** [/usr/src/linux-headers-6.6.15-common/Makefile:1938: /var/lib/dkms/amdgpu/6.3.6-1718217.22.04/build] Error 2make: *** [/usr/src/linux-headers-6.6.15-common/Makefile:246: __sub-make] Error 2make: Leaving directory '/usr/src/linux-headers-6.6.15-amd64'
How to resolve this issue?

Hardware: HP laptop with AMD Ryzen 5 5500U (GPU: Radeon)

Statistics: Posted by roopesh — 2024-03-30 11:37 — Replies 1 — Views 32



Viewing all articles
Browse latest Browse all 3474

Trending Articles