Bug 110733 - [Regression] Kernel 4.19.x + linux-firmware 20190514 + Vega 64: boot fails
Summary: [Regression] Kernel 4.19.x + linux-firmware 20190514 + Vega 64: boot fails
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-22 21:53 UTC by Alexander Mezin
Modified: 2019-11-19 09:28 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Alexander Mezin 2019-05-22 21:53:12 UTC
Copying https://bugzilla.kernel.org/show_bug.cgi?id=203627 here, as I'm not sure where to report the issue (and got no response in kernel bugzilla so far)

After linux-firmware upgrade from 4b6cf2bd1a9d53caa087403d943e7695009c1d0c to 711d3297bac870af42088a467459a0634c1970ca (20190514), 4.19 kernels (at least 4.19.40-4.19.45) don't boot anymore. Early during boot the monitor turns off, and, apparently, the system hangs. Can't connect over SSH, SysRq keys don't work. Also the failed boot attempt doesn't get recorded by journald.

Kernels 5.0 and 5.1 still boot completely fine. Also, 4.19 kernels boot if I downgrade firmware back to 4b6cf2bd1a9d53caa087403d943e7695009c1d0c.

Apparently, these problems are caused by https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=2579167548be33afb1fe2a9a5c141561ee5a8bbe

GPU: RX Vega 64 (Sapphire Nitro+, vbios_version: 113-D0500110-O01)
Distro: Arch Linux
Archlinux bug: https://bugs.archlinux.org/task/62666
Comment 1 Alexander Mezin 2019-06-30 10:42:53 UTC
This is caused by vega10_sos.bin
Still happens with linux-firmware 20190618 and linux 4.19.56

https://bugzilla.kernel.org/show_bug.cgi?id=203627#c2
Comment 2 Alexander Mezin 2019-07-20 13:55:04 UTC
Kernel starts booting with firmware 20190618 after commit https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bfcea5204287b0a09dac71fa56a5d066d94d9bb1

Unfortunately, when I apply that patch to 4.19.59, compilation fails, so I don't know if it's enough
Comment 3 Alexander Mezin 2019-10-29 18:25:42 UTC
With linux-firmware 20191022 + kernel 4.19.80 the system doesn't boot again

Is it possible to backport https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bfcea5204287b0a09dac71fa56a5d066d94d9bb1 to 4.19?
Comment 4 Martin Peres 2019-11-19 09:28:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/796.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.