FS#69004 - Linux 5.10.1 fails to boot

Attached to Project: Arch Linux
Opened by Mortimer Houghton (Mortimer_Houghton) - Wednesday, 16 December 2020, 14:39 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 27 December 2020, 12:05 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jan Alexander Steffens (heftig)
Levente Polyak (anthraxx)
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Linux 5.10.1 fails to boot. A brief systemd version message will show then a blank screen and the system freezes. Downgrading to 5.9.14 resolves the issue.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Sunday, 27 December 2020, 12:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  5.10.3.arch1
Comment by Mortimer Houghton (Mortimer_Houghton) - Wednesday, 16 December 2020, 14:40 GMT
There is no journalctl entry from the failed boot.

CPU: AMD E2-9000e RADEON R2 2C+2G (2) @ 1.500GHz
GPU: AMD ATI Radeon R2/R3/R4/R5 Graphics
Comment by Mortimer Houghton (Mortimer_Houghton) - Thursday, 17 December 2020, 15:42 GMT
Problem with 5.10.1 kernel is resolved by appending "amdgpu.dc=0" to the kernel parameters.

https://bbs.archlinux.org/viewtopic.php?pid=1943916#p1943916
Comment by Dmitry Denisjuk (dimadenisjuk) - Saturday, 19 December 2020, 09:48 GMT
It still doesn't work on 5.10.1-arch1-1 linux.
The screen is black, system is not booting.

AMD A9-9425 RADEON R5 graphics
Comment by loqs (loqs) - Tuesday, 22 December 2020, 04:36 GMT Comment by Jonathon (jonathon) - Tuesday, 22 December 2020, 11:35 GMT
(edit, not sure how it double-posted)
Comment by Jonathon (jonathon) - Tuesday, 22 December 2020, 11:41 GMT
Can confirm this bug, and that the patches above resolve the issue (for me, also on linux-zen):

```
diff --git i/linux-zen/trunk/PKGBUILD w/linux-zen/trunk/PKGBUILD
index 753e2ca4f9b..ef7f5a53ab7 100644
--- i/linux-zen/trunk/PKGBUILD
+++ w/linux-zen/trunk/PKGBUILD
@@ -18,6 +18,8 @@ _srcname=zen-kernel
source=(
"$_srcname::git+https://github.com/zen-kernel/zen-kernel?signed#tag=$_srctag"
config # the main kernel config file
+ "Add_get_dig_frontend_implementation_for_DCEx.patch::https://patchwork.freedesktop.org/patch/408230/raw/"
+ "Oops_at_amdgpu_connector_dp_detect.patch::https://bugzilla.kernel.org/attachment.cgi?id=294203&action=diff&collapsed=&headers=1&format=raw"
)
validpgpkeys=(
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
@@ -25,7 +27,9 @@ validpgpkeys=(
'A2FF3A36AAA56654109064AB19802F8B0D70FC30' # Jan Alexander Steffens (heftig)
)
sha256sums=('SKIP'
- 'e5d2541532de126a4f243b4cc6f098403a425eb0d76ee59d3ffaf122ac4d8910')
+ 'e5d2541532de126a4f243b4cc6f098403a425eb0d76ee59d3ffaf122ac4d8910'
+ 'e80e1dfabbd8c1d741b7e1d8e55e2aebd0b5e57c24fc7dd04724b5cd1026db61'
+ 'a0ffe8acea23bef659ad639a66c640a7893c71590fdb9283396c6abe1cccd95c')

export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
```

These are not included in 5.10.2. I suspect only the second is necessary, though the first one is useful for anyone running with amdgpu.dc=1 (the default with newer GPUs).

Comment by Jonathon (jonathon) - Saturday, 26 December 2020, 22:51 GMT
Also doesn't appear to be fixed with 5.10.3: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.3
Comment by loqs (loqs) - Saturday, 26 December 2020, 23:44 GMT Comment by Jonathon (jonathon) - Sunday, 27 December 2020, 00:53 GMT
Nice. Let me update the above diff for those following along:

```
diff --git i/linux-zen/trunk/PKGBUILD w/linux-zen/trunk/PKGBUILD
index 753e2ca4f9b..5d2bbeeb3b1 100644
--- i/linux-zen/trunk/PKGBUILD
+++ w/linux-zen/trunk/PKGBUILD
@@ -18,6 +18,8 @@ _srcname=zen-kernel
source=(
"$_srcname::git+https://github.com/zen-kernel/zen-kernel?signed#tag=$_srctag"
config # the main kernel config file
+ "Add_get_dig_frontend_implementation_for_DCEx.patch::https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=6bdeff12a96c9a5da95c8d11fefd145eb165e32a"
+ "only_set_DP_subconnector_type_on_DP_and_eDP_connectors.patch::https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=05211e7fbbf042dd7f51155ebe64eb2ecacb25cb"
)
validpgpkeys=(
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
@@ -25,7 +27,9 @@ validpgpkeys=(
'A2FF3A36AAA56654109064AB19802F8B0D70FC30' # Jan Alexander Steffens (heftig)
)
sha256sums=('SKIP'
- 'e5d2541532de126a4f243b4cc6f098403a425eb0d76ee59d3ffaf122ac4d8910')
+ 'e5d2541532de126a4f243b4cc6f098403a425eb0d76ee59d3ffaf122ac4d8910'
+ '192daaeb79e2bf0ccb41f889341f88c391b5228623706eafc4bb9551b7cb49ae'
+ '46f2aaf5db1aedab6d3535e7af2220b9eb521fa092a1f743156b75a64029f527')

export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
```

Will build soon to test.

Loading...