You are not logged in.
$ git bisect start
status: waiting for both good and bad commits
$ git bisect good v6.2.2
status: waiting for bad commit, 1 good commit known
$ git bisect bad v6.2.3
Bisecting: 498 revisions left to test after this (roughly 9 steps)
[065a789b413ab69b6a67c6af4970d997ac50c96c] coresight: etm4x: Fix accesses to TRCSEQRSTEVR and TRCSEQSTR
$ git bisect bad
Bisecting: 249 revisions left to test after this (roughly 8 steps)
https://drive.google.com/file/d/1qGHP55 … share_link linux-6.2.2.r249.g6e6fffb4ed9e-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/11Xhlfw … share_link linux-headers-6.2.2.r249.g6e6fffb4ed9e-1-x86_64.pkg.tar.zst
Please also try the kernel below
https://drive.google.com/file/d/13HMrNi … share_link linux-6.2.2-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1V3ga52 … share_link linux-headers-6.2.2-1-x86_64.pkg.tar.zst
Online
AMD Ryzen 7 3700X
Asus Tuf Gaming B550 PLUS (Wi-Fi)
Radeon RX 6700XT
I have encountered this issue on the following kernel (and appropriate headers) versions:
linux-6.2.9.arch1-1
linux-6.2.8.arch1-1
linux-6.2.2.arch2-1
linux-6.2.2.arch1-1
linux-6.2.1.arch1-1
linux-6.2.arch1-1
linux-6.1.9.arch1-2
ALL of these hang at loading ramdisk with no modifications to booting. iommu=off and amd_iommu=off have not worked for 6.2.8 and 6.2.9; I have not tested this on any other versions.
modprobe.blacklist=amdgpu allows me to boot with ALL versions listed above. Running 'modprobe amdgpu' after booting will hang my computer reliably. This suggests to me that the issue may not be caused exclusively by the linux kernel and that something that I have is particularly good at invoking it, but I haven't been able to narrow down any further on what that is.
Edit: 6.2.9 with 'iommu=off acpi=off nomodeset' set did boot, some features lacking (amdgpu is evidently not loaded and modprobe reports 'no such device' when I attempt after boot).
Last edited by Zipnotoad (2023-04-01 16:33:47)
Offline
linux-6.2.2.r249.g6e6fffb4ed9e-1-x86_64.pkg.tar.zst - hangs
linux-6.2.2-1-x86_64.pkg.tar.zst - boots/good
Offline
$ git bisect bad
Bisecting: 124 revisions left to test after this (roughly 7 steps)
[13e52f7afdc6458b12bde23078c154d9b5146d11] arm64: dts: qcom: pmk8350: Use the correct PON compatible
https://drive.google.com/file/d/1XXDs-z … share_link linux-6.2.2.r124.g13e52f7afdc6-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1YuAC8T … share_link linux-headers-6.2.2.r124.g13e52f7afdc6-1-x86_64.pkg.tar.zst
Online
linux-6.2.2.r124.g13e52f7afdc6-1-x86_64.pkg.tar.zst - hangs
Offline
$ git bisect bad
Bisecting: 61 revisions left to test after this (roughly 6 steps)
[8b3d81a5bf51e9e12ebaad775bf951d2db7bc5fc] ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()
https://drive.google.com/file/d/1C_JqpT … share_link linux-6.2.2.r62.g8b3d81a5bf51-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1K072w_ … share_link linux-headers-6.2.2.r62.g8b3d81a5bf51-1-x86_64.pkg.tar.zst
Online
linux-6.2.2.r62.g8b3d81a5bf51-1-x86_64.pkg.tar.zst - hangs
Offline
$ git bisect bad
Bisecting: 30 revisions left to test after this (roughly 5 steps)
[fe54ab05284c5b9f00ac1d57489dad4f9e204f4b] arm64: dts: mediatek: mt8195: Fix systimer 13 MHz clock description
https://drive.google.com/file/d/1iXB3Em … share_link linux-6.2.2.r31.gfe54ab05284c-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1rsdeVb … share_link linux-headers-6.2.2.r31.gfe54ab05284c-1-x86_64.pkg.tar.zst
Edit:
If the above is bad I suspect the cause may somehow be
https://git.kernel.org/pub/scm/linux/ke … d74d3e98a4
https://drive.google.com/file/d/1yuZRuj … share_link linux-6.2.2.r31.gfe54ab05284c-1.1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1N20WcR … share_link linux-headers-6.2.2.r31.gfe54ab05284c-1.1-x86_64.pkg.tar.zst
Last edited by loqs (2023-04-01 20:50:08)
Online
linux-6.2.2.r31.gfe54ab05284c-1-x86_64.pkg.tar.zst - boots
linux-6.2.2.r31.gfe54ab05284c-1.1-x86_64.pkg.tar.zst - boots
Offline
$ git bisect good
Bisecting: 15 revisions left to test after this (roughly 4 steps)
[20f281b8c8cb3cdd5af4a3d41f60534a32280ae6] arm64: dts: meson-gx: Fix Ethernet MAC address unit name
https://drive.google.com/file/d/1Jko8iD … share_link linux-6.2.2.r46.g20f281b8c8cb-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1cJHNJm … share_link linux-headers-6.2.2.r46.g20f281b8c8cb-1-x86_64.pkg.tar.zst
Online
linux-6.2.2.r46.g20f281b8c8cb-1-x86_64.pkg.tar.zst - hangs
Offline
$ git bisect bad
Bisecting: 7 revisions left to test after this (roughly 3 steps)
[621284ceedb4f4e3b361115313336d84b4da8613] arm64: dts: qcom: sc8280xp: correct SPMI bus address cells
https://drive.google.com/file/d/1XO0Aek … share_link linux-6.2.2.r38.g621284ceedb4-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/17UhIzC … share_link linux-headers-6.2.2.r38.g621284ceedb4-1-x86_64.pkg.tar.zst
Likely cause
https://git.kernel.org/pub/scm/linux/ke … fb98c834ec
Edit:
Assuming last kernel was bad
$ git bisect bad
Bisecting: 3 revisions left to test after this (roughly 2 steps)
[a2ee25fc3abec40a4fe1440b55e0c394b680764e] arm64: dts: qcom: sdm845-xiaomi-beryllium: fix audio codec interrupt pin name
https://drive.google.com/file/d/1J1raOu … share_link linux-6.2.2.r34.ga2ee25fc3abe-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1lh4UM0 … share_link linux-headers-6.2.2.r34.ga2ee25fc3abe-1-x86_64.pkg.tar.zst
Edit2:
Assuming last kernel was good
$ git bisect good
Bisecting: 1 revision left to test after this (roughly 1 step)
[464926d65c4a1a747638077ff302880c517273e0] arm64: dts: qcom: sc7180: correct SPMI bus address cells
https://drive.google.com/file/d/1nRbMEj … share_link linux-6.2.2.r36.g464926d65c4a-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1TEDWu- … share_link linux-headers-6.2.2.r36.g464926d65c4a-1-x86_64.pkg.tar.zst
Edit3:
Assuming last kernel was bad
$ git bisect bad
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[e0af3caccd2fcc4d275924cceeece8fb98c834ec] x86/acpi/boot: Do not register processors that cannot be onlined for x2APIC
https://drive.google.com/file/d/1LJwDPk … share_link linux-6.2.2.r35.ge0af3caccd2f-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1Z46go_ … share_link linux-headers-6.2.2.r35.ge0af3caccd2f-1-x86_64.pkg.tar.zst
Assuming this kernel is also bad
$ git bisect bad
e0af3caccd2fcc4d275924cceeece8fb98c834ec is the first bad commit
commit e0af3caccd2fcc4d275924cceeece8fb98c834ec
Author: Kishon Vijay Abraham I <kvijayab@amd.com>
Date: Thu Jan 5 04:10:59 2023 +0000
x86/acpi/boot: Do not register processors that cannot be onlined for x2APIC
[ Upstream commit e2869bd7af608c343988429ceb1c2fe99644a01f ]
Section 5.2.12.12 Processor Local x2APIC Structure in the ACPI v6.5
spec mandates that both "enabled" and "online capable" Local APIC Flags
should be used to determine if the processor is usable or not.
However, Linux doesn't use the "online capable" flag for x2APIC to
determine if the processor is usable. As a result, cpu_possible_mask has
incorrect value and results in more memory getting allocated for per_cpu
variables than it is going to be used.
Make sure Linux parses both "enabled" and "online capable" flags for
x2APIC to correctly determine if the processor is usable.
Fixes: aa06e20f1be6 ("x86/ACPI: Don't add CPUs that are not online capable")
Reported-by: Leo Duran <leo.duran@amd.com>
Signed-off-by: Kishon Vijay Abraham I <kvijayab@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: [url]https://lore.kernel.org/r/20230105041059.39366-1-kvijayab@amd.com[/url]
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kernel/acpi/boot.c | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
Edit4:
If all the above is accurate this might fix the issue https://git.kernel.org/pub/scm/linux/ke … bef9da2c2c applied in kernel below
https://drive.google.com/file/d/1sJh857 … share_link linux-6.2.9.arch1-1.1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1FPzD5p … share_link linux-headers-6.2.9.arch1-1.1-x86_64.pkg.tar.zst
Last edited by loqs (2023-04-02 05:19:50)
Online
linux-6.2.2.r38.g621284ceedb4-1-x86_64.pkg.tar.zst - hangs
linux-6.2.2.r34.ga2ee25fc3abe-1-x86_64.pkg.tar.zst - good/boots
linux-6.2.2.r36.g464926d65c4a-1-x86_64.pkg.tar.zst - hangs
linux-6.2.2.r35.ge0af3caccd2f-1-x86_64.pkg.tar.zst - hangs
linux-6.2.9-arch1-1 (from repos) - hangs
linux-6.2.9.arch1-1.1-x86_64.pkg.tar.zst - good/boots
Thanks for all your effort and assistance loqs. Unless you have anything else to add I'm happy to mark this as solved.
Offline
Apologies, seems I was hasty:
linux 6.2.10.arch1-1 (from repos) - hangs
kernel parameter 'amd_iommu=off' allows boot
Offline
The fix [1] has just been pulled to mainline as part of [2] it should be part of a future upstream stable 6.2.Y release or 6.3 whichever is released first.
Edit:
Queued for 6.2.11 [3]
[1] https://git.kernel.org/pub/scm/linux/ke … bef9da2c2c
[2] https://git.kernel.org/pub/scm/linux/ke … 64ae9479c7
[3] https://git.kernel.org/pub/scm/linux/ke … abe7698f37
Last edited by loqs (2023-04-11 14:52:59)
Online