Fixing issue: “amdgpu kernel module failed to build”

DuplicateSignature: dkms:amdgpu-dkms-firmware:1:5.6.5.24-1109583:/var/lib/dkms/amdgpu/5.6.5.24-1109583/build/amd/amdgpu/amdgpu_bios.c:200:9: error: implicit declaration of function ‘pci_platform_rom’ [-Werror=implicit-function-declaration]
Package: amdgpu-dkms-firmware 1:5.6.5.24-1109583
PackageVersion: 1:5.6.5.24-1109583
SourcePackage: amdgpu-dkms
Title: amdgpu-dkms-firmware 1:5.6.5.24-1109583: amdgpu kernel module failed to build
uname -r
ls /boot
dpkg -l | grep linux- | grep 5.4.0-54
sudo apt install -y linux-image-5.4.0-54-generic
sudo apt install -y linux-headers-5.4.0-54
sudo apt install -y linux-headers-5.4.0-54-generic
sudo apt install -y linux-modules-extra-5.4.0-54-generic
sudo apt remove -y linux-headers-5.4.0-56-generic linux-image-5.4.0-56-generic 
sudo apt remove -y linux-image-unsigned-5.4.0-56-generic
sudo apt remove -y linux-headers-5.4.0-56
sudo apt remove -y linux-modules-5.4.0-56-generic
ls /boot
sudo update-grub && sudo reboot
#1 https://community.amd.com/t5/drivers-software/can-t-install-amdgpu-drivers-on-ubuntu-20-04-1-5-4-0-56-generic/m-p/427234
#2 https://tomas-savenas.medium.com/installing-nvidia-and-amd-gpu-driver-on-linux-server-4f1f1d4360d

--

--

--

Kibernetinio saugumo entuziastas; Aktyviausias Lietuvis TryHackMe platformoje; Inovacijų valdymo ir Antreprenerystės Magistrantas @ KTU

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to remove Children from Xpath Expression Nodes in C# .NET Framework

What is the difference between .nil & .none ?

How to setup the PySpark environment for development, with good software engineering practices

What to do if Visual Studio Code can’t find your virtual environment’s Python interpreter

Stack Data Structure

Build Your Own Python Synthesizer, Part 3

Why Working for a Company With Solid Test Coverage Matters

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tomas Savenas

Tomas Savenas

Kibernetinio saugumo entuziastas; Aktyviausias Lietuvis TryHackMe platformoje; Inovacijų valdymo ir Antreprenerystės Magistrantas @ KTU

More from Medium

Discovering Entities in Documents and Images with OCI Vision and Data Integration

System Verilog EEnet (SV-EEnet) application: Modeling block currents in Mixed Signal Verification |…

Deploy Bare Metal OpenShift in a Disconnected Environment Using Advanced Cluster Management

Node-RED with Qubitro