[17.10] [radeon] *ERROR* Failed to load firmware!

Greetings,

My system has been running fine for several moons but just today, when I powered my monitor on to use my machine it had crashed.

Upon reboot, I noticed that I have 2 kernels installed: 4.4.0.93 & 4.10.0.37.

When I now select the latest, I am facing a weird video error. The problem is that my monitor isn’t detected and my resolution now maxes out at 1280 x 1024.

When I tried booting on the 4.4.0.93 kernel my monitor/resolution are fine (Samsung Electronics Monitor 27" @ 1920 x 1080).

dmesg states the following:

[ 0.783037] radeon 0000:01:00.0: Direct firmware load for radeon/CAICOS_pfp.bin failed with error -2
[ 0.783038] ni_cp: Failed to load firmware “radeon/CAICOS_pfp.bin”
[ 0.783163] [drm:evergreen_init [radeon]] ERROR Failed to load firmware!
[ 0.783273] radeon 0000:01:00.0: Fatal error during GPU init
[ 0.783379] [drm] radeon: finishing device.

After having googled it out, it brought me over to the /lib/firmware folder but both folders seem to be configured the same way and have the same size:

[email protected]:/lib/firmware/4.4.0-93-generic# ls -lsa
total 112
4 drwxr-xr-x. 11 root root 4096 Aug 29 00:58 .
40 drwxr-xr-x. 6 root root 36864 Oct 26 18:08 …
4 drwxr-xr-x. 2 root root 4096 Aug 29 00:58 3com
4 drwxr-xr-x. 2 root root 4096 Aug 29 00:58 bnx2
4 drwxr-xr-x. 2 root root 4096 Aug 29 00:58 bnx2x
4 drwxr-xr-x. 2 root root 4096 Aug 29 00:58 e100
4 drwxr-xr-x. 2 root root 4096 Aug 29 00:58 emi26
4 drwxr-xr-x. 2 root root 4096 Aug 29 00:58 emi62
4 drwxr-xr-x. 2 root root 4096 Aug 29 00:58 korg
4 drwxr-xr-x. 2 root root 4096 Aug 29 00:58 qlogic
4 drwxr-xr-x. 2 root root 4096 Aug 29 00:58 tigon
24 -rw-r–r--. 1 root root 23554 Aug 11 19:42 whiteheat.fw
8 -rw-r–r--. 1 root root 5626 Aug 11 19:42 whiteheat_loader.fw
[email protected]:/lib/firmware/4.4.0-93-generic# cd …
[email protected]:/lib/firmware# ls -lsa
total 68
40 drwxr-xr-x. 6 root root 36864 Oct 26 18:08 .
4 drwxr-xr-x. 25 root root 4096 Jan 17 17:16 …
4 drwxr-xr-x. 11 root root 4096 Oct 19 18:20 4.10.0-37-generic
4 drwxr-xr-x. 11 root root 4096 Aug 29 00:58 4.4.0-93-generic
4 drwxr-xr-x. 2 root root 4096 Apr 7 2016 hp
12 drwxr-xr-x. 2 root root 12288 Jan 12 06:35 intel-ucode
[email protected]:/lib/firmware# cd 4.10.0-37-generic/
[email protected]:/lib/firmware/4.10.0-37-generic# ls -lsa
total 112
4 drwxr-xr-x. 11 root root 4096 Oct 19 18:20 .
40 drwxr-xr-x. 6 root root 36864 Oct 26 18:08 …
4 drwxr-xr-x. 2 root root 4096 Oct 19 18:20 3com
4 drwxr-xr-x. 2 root root 4096 Oct 19 18:20 bnx2
4 drwxr-xr-x. 2 root root 4096 Oct 19 18:20 bnx2x
4 drwxr-xr-x. 2 root root 4096 Oct 19 18:20 e100
4 drwxr-xr-x. 2 root root 4096 Oct 19 18:20 emi26
4 drwxr-xr-x. 2 root root 4096 Oct 19 18:20 emi62
4 drwxr-xr-x. 2 root root 4096 Oct 19 18:20 korg
4 drwxr-xr-x. 2 root root 4096 Oct 19 18:20 qlogic
4 drwxr-xr-x. 2 root root 4096 Oct 19 18:20 tigon
24 -rw-r–r--. 1 root root 23554 Oct 6 15:45 whiteheat.fw
8 -rw-r–r--. 1 root root 5626 Oct 6 15:45 whiteheat_loader.fw
[email protected]:/lib/firmware/4.10.0-37-generic# du . -sh
1.5M .
[email protected]:/lib/firmware/4.10.0-37-generic# cd …
[email protected]:/lib/firmware# cd 4.4.0-93-generic/
[email protected]:/lib/firmware/4.4.0-93-generic# du . -sh
1.5M .
[email protected]:/lib/firmware/4.4.0-93-generic#

Here’s what I have installed:

[email protected]:/lib/firmware/4.4.0-93-generic# aptitude search ati | grep video
i xserver-xorg-video-ati - X.Org X server – AMD/ATI display driver wrapper
p xserver-xorg-video-ati:i386 - X.Org X server – AMD/ATI display driver wrapper
p xserver-xorg-video-ati-dbg - X.Org X server – AMD/ATI display driver wrapper (debugging symbols)
p xserver-xorg-video-ati-dbg:i386 - X.Org X server – AMD/ATI display driver wrapper (debugging symbols)
[email protected]:/lib/firmware/4.4.0-93-generic#

[email protected]:/lib/firmware/4.4.0-93-generic# uname -a
Linux T-REX2020 4.10.0-37-generic #41-Ubuntu SMP Fri Oct 6 20:20:37 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[email protected]:/lib/firmware/4.4.0-93-generic# cat /etc/os-release
NAME=“Ubuntu”
VERSION=“17.10 (Artful Aardvark)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=“Ubuntu 17.10”
VERSION_ID=“17.10”
HOME_URL=“https://www.ubuntu.com/
SUPPORT_URL=“https://help.ubuntu.com/
BUG_REPORT_URL=“https://bugs.launchpad.net/ubuntu/
PRIVACY_POLICY_URL=“https://www.ubuntu.com/legal/terms-and-policies/privacy-policy
VERSION_CODENAME=artful
UBUNTU_CODENAME=artful
[email protected]:/lib/firmware/4.4.0-93-generic#

[email protected]:/lib/firmware/4.4.0-93-generic# lshw -c video
*-display UNCLAIMED
description: VGA compatible controller
product: Caicos PRO [Radeon HD 7450]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: [email protected]:01:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller cap_list
configuration: latency=0
resources: memory:e0000000-efffffff memory:f7e20000-f7e3ffff ioport:e000(size=256) memory:c0000-dffff
[email protected]:/lib/firmware/4.4.0-93-generic#

Please advise,

DLS

PS: My machine worked fine yesterday using the same kernel/configuration.

This has to be a bug in the 4.10 Radeon kernel module. The Radeon firmware is not kernel specific. Location: /lib/firmware/radeon

The Radeon firmware is updated via the package “linux-firmware” which may need to be updated for the new kernel. However I don’t see any possible changes to the CAICOS GPU firmware until linux-firmware 1.117 (which is for 18.04/bionic).
https://launchpad.net/ubuntu/+source/linux-firmware/1.170

Are you using linux-firmware 1.169.1 ?
You can find out by: apt-cache show linux-firmware

If you are using 1.169.1 then it is a Radeon kernel driver bug:(

Good luck.
djb

1 Like

Thank you.

As a FYI, here’s what I got:

% sudo apt-cache show linux-firmware
[sudo] password for dls:
Package: linux-firmware
Architecture: all
Version: 1.169.2
Multi-Arch: foreign
Priority: optional
Section: misc
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team [email protected]
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 210528
Provides: atmel-firmware
Conflicts: atmel-firmware
Breaks: linux-firmware-snapdragon (<= 1.2-0ubuntu1)
Replaces: atmel-firmware, linux-firmware-snapdragon (<= 1.2-0ubuntu1), linux-restricted-common
Filename: pool/main/l/linux-firmware/linux-firmware_1.169.2_all.deb
Size: 42485844
MD5sum: 57ba84f9942b26d900ad976ab97fb8d0
SHA1: 97a493d84cc6d4b998c4471297879d5a6d274ea9
SHA256: 50838158df8ca9641d4ef2fac932efaed4249254b5b5bf75b534c8cfb69c2d98
Description-en: Firmware for Linux kernel drivers
This package provides firmware used by Linux kernel drivers.
Description-md5: 7a047bff9e44dce458a300976c12f9da
Supported: 9m

Package: linux-firmware
Architecture: all
Version: 1.169.1
Multi-Arch: foreign
Priority: optional
Section: misc
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team [email protected]
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 200717
Provides: atmel-firmware
Conflicts: atmel-firmware
Breaks: linux-firmware-snapdragon (<= 1.2-0ubuntu1)
Replaces: atmel-firmware, linux-firmware-snapdragon (<= 1.2-0ubuntu1), linux-restricted-common
Filename: pool/main/l/linux-firmware/linux-firmware_1.169.1_all.deb
Size: 40869062
MD5sum: f5e65c1f7d3412b801612e06746b5654
SHA1: f73622ea39e1aba705fac8fb3db709ae89770e7e
SHA256: 62d716444738c0fe0228e45d159c5c724189d7842e3e0c83869a0279f1b0b956
Description-en: Firmware for Linux kernel drivers
This package provides firmware used by Linux kernel drivers.
Description-md5: 7a047bff9e44dce458a300976c12f9da
Supported: 9m

Package: linux-firmware
Architecture: all
Version: 1.169
Multi-Arch: foreign
Priority: optional
Section: misc
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team [email protected]
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 200712
Provides: atmel-firmware
Conflicts: atmel-firmware
Replaces: atmel-firmware, linux-restricted-common
Filename: pool/main/l/linux-firmware/linux-firmware_1.169_all.deb
Size: 40868430
MD5sum: c03e426d9841d98c9beb97183fea658e
SHA1: e36235420c7e12aec79a6bf85de5f1b4d39f7152
SHA256: f47a7d1b7c22025b4dfc1c743ea098832eb1dfad9020357dbc1c390dc3cffbde
Description-en: Firmware for Linux kernel drivers
This package provides firmware used by Linux kernel drivers.
Description-md5: 7a047bff9e44dce458a300976c12f9da
Supported: 9m
%

PS: Sorry for late reply.