Skip to content

Instantly share code, notes, and snippets.

@MykolaBova
Created November 12, 2020 00:44
Show Gist options
  • Save MykolaBova/74555ddaf5bff2893521da04b339b34b to your computer and use it in GitHub Desktop.
Save MykolaBova/74555ddaf5bff2893521da04b339b34b to your computer and use it in GitHub Desktop.
udo apt-get install --reinstall linux-image-5.8.0-29-generic
myk@myk-Bravo-17-A4DDK:~/Downloads/amdgpu-pro-20.40-1147286-ubuntu-20.04$ sudo apt-get install --reinstall linux-image-5.8.0-29-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 10,7 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ua.archive.ubuntu.com/ubuntu groovy-proposed/main amd64 linux-image-5.8.0-29-generic amd64 5.8.0-29.31 [10,7 MB]
Fetched 10,7 MB in 1s (9 957 kB/s)
(Reading database ... 258213 files and directories currently installed.)
Preparing to unpack .../linux-image-5.8.0-29-generic_5.8.0-29.31_amd64.deb ...
Unpacking linux-image-5.8.0-29-generic (5.8.0-29.31) over (5.8.0-29.31) ...
Setting up linux-image-5.8.0-29-generic (5.8.0-29.31) ...
Setting up amdgpu-dkms (1:5.6.14.224-1147286) ...
Loading new amdgpu-5.6.14.224-1147286 DKMS files...
Building for 5.8.0-29-generic
Building for architecture x86_64
Building initial module for 5.8.0-29-generic
Error! Bad return status for module build on kernel: 5.8.0-29-generic (x86_64)
Consult /var/lib/dkms/amdgpu/5.6.14.224-1147286/build/make.log for more information.
dpkg: error processing package amdgpu-dkms (--configure):
installed amdgpu-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for linux-image-5.8.0-29-generic (5.8.0-29.31) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.8.0-29-generic
Kernel preparation unnecessary for this kernel. Skipping...
Running the pre_build script:
checking for a BSD-compatible install... /bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking kernel source directory... /usr/src/linux-headers-5.8.0-29-generic
checking kernel build directory... /usr/src/linux-headers-5.8.0-29-generic
checking kernel source version... 5.8.0-29-generic
checking kernel file name for module symbols... Module.symvers
checking for linux/overflow.h... yes
checking for linux/sched/mm.h... yes
checking for linux/sched/task.h... yes
checking for linux/sched/signal.h... yes
checking for linux/nospec.h... yes
checking for linux/kfifo-new.h... no
checking for linux/bits.h... yes
checking for linux/io-64-nonatomic-lo-hi.h... yes
checking for asm/set_memory.h... yes
checking for asm/fpu/api.h... yes
checking for uapi/linux/sched/types.h... yes
checking for linux/interval_tree_generic.h... yes
checking for linux/dma-fence.h... yes
checking for linux/dma-resv.h... yes
checking for drm/drm_irq.h... yes
checking for drm/drm_connector.h... yes
checking for drm/drm_encoder.h... yes
checking for drm/drm_plane.h... yes
checking for drm/task_barrier.h... yes
checking for drm/drm_file.h... yes
checking for drm/drm_auth.h... yes
checking for drm/drm_print.h... yes
checking for drm/drm_atomic_uapi.h... yes
checking for drm/drm_util.h... yes
checking for drm/drm_probe_helper.h... yes
checking for drm/drm_drv.h... yes
checking for drm/drm_gem_framebuffer_helper.h... yes
checking for drm/drm_device.h... yes
checking for drm/drmP.h... no
checking for drm/drm_vblank.h... yes
checking for drm/drm_ioctl.h... yes
checking for drm/amdgpu_pciid.h... no
checking for drm/drm_debugfs.h... yes
checking for drm/drm_backport.h... no
checking for module configuration... done
configure: creating ./config.status
config.status: creating config/config.h
Building module:
cleaning build area...(bad exit status: 2)
make -j16 KERNELRELEASE=5.8.0-29-generic -j16 TTM_NAME=amdttm SCHED_NAME=amd-sched -C /lib/modules/5.8.0-29-generic/build M=/var/lib/dkms/amdgpu/5.6.14.224-1147286/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.8.0-29-generic (x86_64)
Consult /var/lib/dkms/amdgpu/5.6.14.224-1147286/build/make.log for more information.
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.8.0-29-generic
I: The initramfs will attempt to resume from /dev/nvme0n1p4
I: (UUID=20295a60-5990-43b3-b9ae-b7c62417c8de)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.8.0-29-generic
Found initrd image: /boot/initrd.img-5.8.0-29-generic
Found linux image: /boot/vmlinuz-5.8.0-28-generic
Found initrd image: /boot/initrd.img-5.8.0-28-generic
Adding boot menu entry for UEFI Firmware Settings
done
Errors were encountered while processing:
amdgpu-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment