Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #988911

Bug#933733: linux-image-4.19.0-5-amd64: amdgpu does not find installed firmware (Also "5.3.0-0.bpo.2-amd64")

From Fab Stz <fabstz-it@yahoo.fr>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#933733: linux-image-4.19.0-5-amd64: amdgpu does not find installed firmware (Also "5.3.0-0.bpo.2-amd64")
Date 2019-12-28 20:30 +0100
Message-ID <zipWF-Ur-1@gated-at.bofh.it> (permalink)
References <yqIhX-6OC-7@gated-at.bofh.it> <zip0C-kU-11@gated-at.bofh.it> <yqIhX-6OC-7@gated-at.bofh.it> <zip0C-kU-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Le samedi 28 décembre 2019, 19:21:47 CET Fab Stz a écrit :
> Hello,
> 
> I have an equivalent problem with "5.3.0-0.bpo.2-amd64"
> 
> [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires firmware installed
> 
> I have both "4.19.0-6-amd64" installed and "5.3.0-0.bpo.2-amd64"
> 
> I checked the content of "/boot/initrd.img-5.3.0-0.bpo.2-amd64" which is the
> file used by grub according to /boot/grub/grub.cfg. Please find it attached
> 
> # lsinitramfs /boot/initrd.img-5.3.0-0.bpo.2-amd64  | grep amdgpu >
> lsinitramfs.out.txt
> 
> The firmware files are there, but
> - on 4.19 they are in folder usr/lib/firmware/amdgpu/
> - on 5.3 they are in folder usr/lib/firmware/5.3.0-0.bpo.2-amd64/amdgpu/
> 
> Could that difference in location be the cause ? How to get it working ?
> 
> Regards

A workaround/fix is to patch /usr/share/initramfs-tools/hook-functions this 
way (see patch attached)

That way, the firmware will be copied from 
  /lib/firmware/5.3.0-0.bpo.2-amd64/amdgpu/
to this dir in the initramfs
  usr/lib/firmware/amdgpu/
instead of
  usr/lib/firmware/5.3.0-0.bpo.2-amd64/amdgpu/

After that, at boot-time the amdgpu firmware is found.

Please note that after patching it is necessary to run this command:
# update-initramfs -u -k <the_kernel_version>

BTW: #933733 and #942513 may be duplicates.

Regards

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#933733: linux-image-4.19.0-5-amd64: amdgpu does not find installed firmware (Also "5.3.0-0.bpo.2-amd64") Fab Stz <fabstz-it@yahoo.fr> - 2019-12-28 19:30 +0100
  Bug#933733: linux-image-4.19.0-5-amd64: amdgpu does not find installed firmware (Also "5.3.0-0.bpo.2-amd64") Fab Stz <fabstz-it@yahoo.fr> - 2019-12-28 20:30 +0100

csiph-web