Regression: System fails to boot on raven ridge 4.18 vs 4.19 rc
https://bugs.freedesktop.org/show_bug.cgi?id=107880
Bug ID: 107880
Summary: Regression: System fails to boot on raven ridge 4.18
vs 4.19 rc
Product: DRI
Version: DRI git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: blocker
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]
Created attachment 141500
--> https://bugs.freedesktop.org/attachment.cgi?id=141500&action=edit
Successful boot with 4.18.7 on Raven Ridge
System boots fine with kernel 4.18 on a Raven Ridge (AMD Ryzen 5 2500U, Lenovo E485, latest firmware from linux-firmware.git), but boot fails with kernel 4.19 (tested rc2 and rc3). System hangs after "fb: switching to amdgpudrmfb from EFI VGA".
I am unable to obtain any logs of the crash (LUKS encryption might be the reason?). I will attach a log of a working boot with 4.18.7, please let me know how to provide more info.
Thank you
Marvin
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=107880
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #141500|text/x-log |text/plain
mime type| |Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=107880
--- Comment #1 from Michel Dänzer <[email protected]> --- (In reply to Marvin Damschen from comment #0)
Quoted 1 line
System hangs after "fb: switching to amdgpudrmfb from EFI VGA".
How long have you waited for? E.g. if a microcode file is missing, the attempt to load it can hang for one or several minutes before timing out.
Quoted 2 lines
I am unable to obtain any logs of the crash (LUKS encryption might be the reason?).
One possibility is to prevent the driver from loading by passing
modprobe.blacklist=amdgpu
on the kernel command line, then you can try manually loading it with
sudo modprobe amdgpu
and should get the full dmesg output.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=107880
--- Comment #2 from Marvin Damschen <[email protected]> --- (In reply to Michel Dänzer from comment #1)
Quoted 5 lines
(In reply to Marvin Damschen from comment #0)
Quoted 1 line
System hangs after "fb: switching to amdgpudrmfb from EFI VGA".
How long have you waited for? E.g. if a microcode file is missing, the attempt to load it can hang for one or several minutes before timing out.
Waited for ~5min now, but nothing changed.
Quoted 5 lines
Quoted 2 lines
I am unable to obtain any logs of the crash (LUKS encryption might be the reason?).
One possibility is to prevent the driver from loading by passing
Quoted 7 lines
modprobe.blacklist=amdgpu
on the kernel command line, then you can try manually loading it with
sudo modprobe amdgpu
and should get the full dmesg output.
Thank you, this worked. Full output is attached, but appears fine. Still, the video output freezes.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=107880
--- Comment #3 from Marvin Damschen <[email protected]> --- Created attachment 141502
--> https://bugs.freedesktop.org/attachment.cgi?id=141502&action=edit
Modprobe amdgpu freezes video output with 4.19-rc3
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=107880
--- Comment #4 from Michel Dänzer <[email protected]> --- Looks like there may be an issue with the VCN microcode loading. Does
amdgpu.ip_block_mask=0xff
on the kernel command line avoid the problem?
Can you bisect?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=107880
--- Comment #5 from Marvin Damschen <[email protected]> --- (In reply to Michel Dänzer from comment #4)
Quoted 5 lines
Looks like there may be an issue with the VCN microcode loading. Does
amdgpu.ip_block_mask=0xff
on the kernel command line avoid the problem?
It does! dmesg contains a lot of call traces though (I will attach).
Quoted 1 line
Can you bisect?
I can, but will probably find time by the end of the week only.
Thank you
Marvin
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=107880
Marvin Damschen <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #141500|0 |1
is obsolete| |
--- Comment #6 from Marvin Damschen <[email protected]> --- Created attachment 141503
--> https://bugs.freedesktop.org/attachment.cgi?id=141503&action=edit
4.19-rc3 with amdgpu.ip_block_mask=0xff
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=107880
--- Comment #7 from [email protected] <[email protected]> --- Dmesg shows: Found VCN firmware Version: 1.24 Family ID: 18. It is really old.
Please update with latest vcn firmware for raven (1.73)
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=bd63ccb9d9dd926aa7072f416363dd8f529b5fca.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=107880
Marvin Damschen <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID--- Comment #8 from Marvin Damschen <[email protected]> --- I overlooked that the ubuntu kernel builds bring their own firmware for each version. In my case, I had the recent firmware in /lib/firmware/amdgpu, but /lib/firmware/4.19.0-041900rc3-generic/amdgpu/ was actually used. I moved the files accordingly and 4.19-rc3 boots perfectly fine now without any extra parameters.
Thank you and sorry for the trouble.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=107880
--- Comment #9 from [email protected] <[email protected]> --- Hi Marvin,
That is great! I want to check with you where this old VCN firmware came from.
Did you install old AMD ROCm package on this system before?
Best Regards!
James Zhu
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=107880
--- Comment #10 from Marvin Damschen <[email protected]> --- (In reply to [email protected] from comment #9)
Quoted 1 line
Did you install old AMD ROCm package on this system before?
Yes, I did. I now believe that removing all traces of rocm-dkms eliminated the root of the problem.
Best regards
Marvin
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=107880
--- Comment #11 from [email protected] <[email protected]> ---
I think latest ROCm package has fixed this issue. You are welcome to try it.
Best Regards!
James zhu
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=107880
--- Comment #12 from Marvin Damschen <[email protected]> --- rocm-dkms
(http://repo.radeon.com/rocm/apt/debian/pool/main/r/rock-dkms/rock-dkms_1.8-199_all.deb)
currently still contains the old firmware. I will open an issue on ROCm's GitHub repo.
Best regards
Marvin
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel