Description of problem: System is not able to kms due to missing firmware for RX6800 (sienna_cichlid) with 20201118-115.fc33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ff2b09cd0a states the inclusion of the sienna firmware in 1022. Seen behavior: rpm -ql linux-firmware | grep sienna -> returns empty on 20201118-115.fc33 Boot shows: kernel: amdgpu 0000:0a:00.0: amdgpu: failed to init sos firmware kernel: [drm:psp_sw_init [amdgpu]] *ERROR* Failed to load psp firmware! kernel: [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP block <psp> failed -2 kernel: amdgpu 0000:0a:00.0: amdgpu: amdgpu_device_ip_init failed kernel: amdgpu 0000:0a:00.0: amdgpu: Fatal error during GPU init
The build log of 1022 is mentioning the sienna binary. But the files are indeed not included in the rpm.
There seems to be a bug in the spec of linux-firmware. A local rpmbuild shows that the extra package "updated-amdgpu-fw.tar.gz" is extracted but the files are later not included.
The added firmware files are not part of the list of included files generated by the following lines in the spec: pushd %{buildroot}/%{_firmwarepath} find . \! -type d > $FILEDIR/linux-firmware.files find . -type d | sed -e '/^.$/d' > $FILEDIR/linux-firmware.dirs popd
Adding "tar xzf %{SOURCE1} -C %{buildroot}/%{_firmwarepath}" as an install step to the spec fixes the issue.
(In reply to mershl from comment #4) > Adding "tar xzf %{SOURCE1} -C %{buildroot}/%{_firmwarepath}" as an install > step to the spec fixes the issue. No, it works around this issue. There was nothing of note changed from the prior revision, literally updating to the new upstream release of linux-firmware and removing the verbose option on the tar command.
Hi Peter, It seems the prior release was also missing the sienna blobs. Just downgraded and "rpm -ql linux-firmware | grep sienna" -> returns empty for 1022. Hmmm, sorry for the confusion. Including the files in the buildroot, then building the rpm and rebooting still shows a firmware load error for the RX6800 I'm testing. No luck so far.
(In reply to mershl from comment #6) > Hi Peter, > > It seems the prior release was also missing the sienna blobs. Just > downgraded and "rpm -ql linux-firmware | grep sienna" -> returns empty for > 1022. Hmmm, sorry for the confusion. > > Including the files in the buildroot, then building the rpm and rebooting > still shows a firmware load error for the RX6800 I'm testing. No luck so far. Right, so the problem I suspect is the WHENCE file wasn't patched and that is the reference for where the files are copied to so this isn't a regression. I'm not sure I want to churn this for all the other thousands of Fedora users for the few that have these cards when the next upstream-linux release will properly have it all.
Unfortunatly the last release was 1 day (11-18) before the upstream support for sienna (11-19 - https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=54c797a694d3830ef93f349ec25e1d96d4b88102). As the releases usually happen every ~6 weeks this would be quite rogue for users of the RX6xxx series.
Built linux-firmware with upstream locally using your spec, Peter. The RX6800 is not able to boot on 5.9.10 even with the sienna firmware included. Updating to 5.10.rc5 did the trick. Working perfectly now.
FEDORA-2020-53df9f500d has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-53df9f500d
FEDORA-2020-39f7307164 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-39f7307164
FEDORA-2020-39f7307164 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-39f7307164` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-39f7307164 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-53df9f500d has been pushed to the Fedora 32 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-53df9f500d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-53df9f500d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-39f7307164 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2020-53df9f500d has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.