NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: kern/60732: amdgpu attempts to take (sleeping) mutex while holding a spin lock



The following reply was made to PR kern/60732; it has been noted by GNATS.

From: matthew green <mrg%eterna23.net@localhost>
To: Taylor R Campbell <riastradh%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
Subject: re: kern/60732: amdgpu attempts to take (sleeping) mutex while holding a spin lock
Date: Thu, 17 Sep 2026 10:16:06 +1000

 OK, i think this stops the crash, but reset doesn't work :)
 
 starting X the first time seems to have triggered the reset that was
 causing this issue, but it has hung X with this in dmesg:
 
 [  34.7230317] {drm:netbsd:amdgpu_job_timedout+0xad} *ERROR* ring gfx_0.0.=
 0 timeout, signaled seq=3D6, emitted seq=3D7
 [  34.7330320] {drm:netbsd:amdgpu_job_timedout+0xc9} *ERROR* Process infor=
 mation: process X pid 2410 thread X:cs0 pid 2415
 [  34.7530318] amdgpu0: GPU reset begin!
 [  35.2730324] {drm:netbsd:gfx_v10_0_hw_fini+0x133} *ERROR* KGQ disable fa=
 iled
 [  35.5930331] {drm:netbsd:gfx_v10_0_hw_fini+0x93} *ERROR* KCQ disable fai=
 led
 [  35.9030342] {drm:netbsd:gfx_v10_0_hw_fini+0x56} *ERROR* failed to halt =
 cp gfx
 [  35.9330338] amdgpu0: GPU mode1 reset
 [  36.4230349] [drm] psp mode1 reset succeed =
 
 [  37.7730380] amdgpu0: GPU reset succeeded, trying to resume
 [  37.7830381] [drm] PCIE GART of 512M enabled (table at 0x000000800090000=
 0).
 [  37.7930381] [drm] PSP is resuming...
 [  37.9630384] [drm] reserve 0x900000 from 0x80be400000 for PSP TMR
 [  38.0130385] amdgpu0: warn: RAS: ras ta ucode is not available
 [  38.0630387] [drm] kiq ring mec 2 pipe 1 q 0
 [  38.3630394] amdgpu0 {drm:netbsd:amdgpu_ring_test_helper+0x4a} *ERROR* r=
 ing comp_1.0.0 test failed (-60)
 [  38.3730394] {drm:netbsd:amdgpu_device_ip_resume_phase2+0x9f} *ERROR* re=
 sume of IP block <gfx_v10_0> failed -60
 [  38.3830394] amdgpu0: GPU reset(1) failed
 [  38.3830394] amdgpu0: GPU reset end with ret =3D -60
 [  48.3830624] {drm:netbsd:amdgpu_job_timedout+0xad} *ERROR* ring gfx_0.0.=
 0 timeout, signaled seq=3D7, emitted seq=3D7
 [  48.4030631] {drm:netbsd:amdgpu_job_timedout+0xc9} *ERROR* Process infor=
 mation: process X pid 2410 thread X:cs0 pid 2415
 [  48.4130624] amdgpu0: GPU reset begin!
 
 ie, this can now debug the real problem... whatever is timing out
 or triggering the reset, probably is why it fails to reset.
 
 can probably close this PR, and i'll file another one when i have
 enough info about the above.
 
 thanks!
 
 
 .mrg.
 



Home | Main Index | Thread Index | Old Index