NetBSD-Bugs archive

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

Re: kern/58032: machine with amdgpu panics on starting X



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

From: Reinoud Zandijk <reinoud%gorilla.13thmonkey.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/58032: machine with amdgpu panics on starting X
Date: Tue, 12 Mar 2024 19:16:32 +0100

 On Tue, Mar 12, 2024 at 05:15:00PM +0000, gnats-admin%netbsd.org@localhost wrote:
 
 The process crashing is:
 2109 >2109 7   0         0   ffff8426a7097640                  X
 
 all other cpu's were conveniently idle,
 
 For completion, here is some info spewed in dmesg from amdgpu:
 
 [     1.020049] amdgpu0 at pci9 dev 0 function 0: ATI Technologies Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X (rev. 0xcf)
 [     1.020049] pci_mem_find: reserved mapping register type
 ...
 [     4.216913] kern.module.path=/stand/amd64/10.99.10/modules
 [     4.226154] [drm] initializing kernel modesetting (POLARIS11 0x1002:0x67EF 0x1458:0x22D6 0xCF).
 [     4.226995] [drm] register mmio base: 0xFCE00000
 [     4.226995] [drm] register mmio size: 262144
 [     4.226995] [drm] PCIE atomic ops is not supported
 [     4.226995] [drm] add ip block number 0 <vi_common>
 [     4.226995] [drm] add ip block number 1 <gmc_v8_0>
 [     4.226995] [drm] add ip block number 2 <tonga_ih>
 [     4.226995] [drm] add ip block number 3 <gfx_v8_0>
 [     4.226995] [drm] add ip block number 4 <sdma_v3_0>
 [     4.226995] [drm] add ip block number 5 <powerplay>
 [     4.226995] [drm] add ip block number 6 <dm>
 [     4.226995] [drm] add ip block number 7 <uvd_v6_0>
 [     4.226995] [drm] add ip block number 8 <vce_v3_0>
 [     4.396915] ATOM BIOS: 113-TIC15322-X01
 [     4.396915] [drm] UVD is enabled in VM mode
 [     4.396915] [drm] UVD ENC is enabled in VM mode
 [     4.396915] [drm] VCE enabled in VM mode
 [     4.396915] [drm] vm size is 256 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
 [     4.396915] amdgpu0: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
 [     4.406982] amdgpu0: GART: 256M 0x000000FF00000000 - 0x000000FF0FFFFFFF
 [     4.406982] [drm] Detected VRAM RAM=2048M, BAR=4096M
 [     4.417072] [drm] RAM width 128bits GDDR5
 [     4.417072] Zone  kernel: Available graphics memory: 9007199252282162 KiB
 [     4.417072] Zone   dma32: Available graphics memory: 2097152 KiB
 [     4.417072] [drm] amdgpu: 2048M of VRAM memory ready
 [     4.417072] [drm] amdgpu: 3072M of GTT memory ready.
 [     4.417072] [drm] GART: num cpu pages 65536, num gpu pages 65536
 [     4.417072] [drm] PCIE GART of 256M enabled (table at 0x000000F400300000).
 [     4.427041] amdgpu0: interrupting at msi10 vec 0 (amdgpu0)
 [     4.427041] [drm] Chained IB support enabled!
 [     4.427041] hwmgr_sw_init smu backed is polaris10_smu
 [     4.427041] powerplay sw init successfully
 [     4.427041] [drm] Found UVD firmware Version: 1.130 Family ID: 16
 [     4.427041] [drm] Found VCE firmware Version: 35.1a Binary ID: 3
 [     4.496911] Can't find requested voltage id in vdd_dep_on_sclk table
 [     4.496911] message 308 was not supported
 [     4.506996] last message was not supported
 [     4.516912] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86  data: 408289520
 [     4.516912] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86  data: 408289520
 [     4.516912] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86  data: 408289520
 [     4.527249] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86  data: 408289520
 [     4.527249] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86  data: 408289520
 [     4.527249] [drm] DM_PPLIB: values for Engine clock
 [     4.527249] [drm] DM_PPLIB:  214000
 [     4.527249] [drm] DM_PPLIB:  481000
 [     4.538602] [drm] DM_PPLIB:  760000
 [     4.538602] [drm] DM_PPLIB:  1020000
 [     4.538602] [drm] DM_PPLIB:  1102000
 [     4.538602] [drm] DM_PPLIB:  1138000
 [     4.547566] [drm] DM_PPLIB:  1172000
 [     4.547566] [drm] DM_PPLIB:  1212000
 [     4.547566] [drm] DM_PPLIB: Validation clocks:
 [     4.547566] [drm] DM_PPLIB:    engine_max_clock: 121200
 [     4.547566] [drm] DM_PPLIB:    memory_max_clock: 175000
 [     4.558838] [drm] DM_PPLIB:    level           : 8
 [     4.558838] [drm] DM_PPLIB: values for Memory clock
 [     4.558838] [drm] DM_PPLIB:  300000
 [     4.558838] [drm] DM_PPLIB:  1750000
 [     4.567841] [drm] DM_PPLIB: Validation clocks:
 [     4.567841] [drm] DM_PPLIB:    engine_max_clock: 121200
 [     4.567841] [drm] DM_PPLIB:    memory_max_clock: 175000
 [     4.567841] [drm] DM_PPLIB:    level           : 8
 [     4.576910] warning: [drm] dce110_link_encoder_construct: Failed to get encoder_cap_info from VBIOS with error code 4!
 [     4.576910] warning: [drm] dce110_link_encoder_construct: Failed to get encoder_cap_info from VBIOS with error code 4!
 [     4.576910] [drm] Display Core initialized with v3.2.69!
 [     4.576910] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 84  data: 0
 [     4.588055] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84  data: 1
 [     4.588055] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84  data: 0
 [     4.616910] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
 [     4.616910] [drm] Driver supports precise vblank timestamp query.
 [     4.646910] [drm] UVD and UVD ENC initialized successfully.
 [     4.746909] [drm] VCE initialized successfully.
 [     4.756910] amdgpufb0 at amdgpu0
 [     4.756910] [drm] Initialized amdgpu 3.36.0 20150101 for amdgpu0 on minor 0
 [     4.756910] amdgpufb0: framebuffer at 0x7e00830000, size 3840x2160, depth 32, stride 15360
 [     4.756910] [SCALER]:resource_build_scaling_params: Viewport:
 [     4.756910] height:2160 width:3840 x:0 y:0
 [     4.756910]  dst_rect:
 [     4.756910] height:2160 width:3840 x:0 y:0
 [     4.768607] [BANDWIDTH_CALCS]:dce112_validate_bandwidth: start[BANDWIDTH_CALCS]:dce112_validate_bandwidth: finish,
 [     4.768607] nbpMark_b: 60137 nbpMark_a: 62733 urgentMark_b: 18350 urgentMark_a: 20975
 [     4.768607] stutMark_b: 20350 stutMark_a: 22975
 [     4.768607] nbpMark_b: 0 nbpMark_a: 0 urgentMark_b: 0 urgentMark_a: 0
 [     4.768607] stutMark_b: 0 stutMark_a: 0
 [     4.768607] nbpMark_b: 0 nbpMark_a: 0 urgentMark_b: 0 urgentMark_a: 0
 [     4.768607] stutMark_b: 0 stutMark_a: 0 stutter_mode_enable: 1
 [     4.768607] cstate: 1 pstate: 1 nbpstate: 1 sync: 0 dispclk: 311850
 [     4.768607] sclk: 214000 sclk_sleep: 22414 yclk: 1200000 blackout_recovery_time_us: 0
 [     4.776910] [HW_AUDIO]:
 [     4.776910] dce_aud_wall_dto_setup:Input::requested_pixel_clock_100Hz = 2970000calculated_pixel_clock_100Hz =2970000
 [     4.776910] audio_dto_module = 2970000 audio_dto_phase =240000
 
 [     4.789235] [HW_AUDIO]:
 [     4.789235] dce110_se_setup_hdmi_audio:Input::requested_pixel_clock_100Hz = 2970000calculated_pixel_clock_100Hz = 2970000
 ...
 [     4.817253] [SURFACE]:Pipe:0 0xffff808bd442e308: addr hi:0xf4, addr low:0x830000, src: 0, 0, 3840, 2160; dst: 0, 0, 3840, 2160;clip: 0, 0, 3840, 2160
 [     4.817253] [SURFACE]:Pipe 0: width, height, x, y
 [     4.817253] viewport:3840, 2160, 0, 0
 [     4.817253] recout:  3840, 2160, 0, 0
 [     4.836909] [SURFACE]:Pipe:0 0xffff808bd442e308: addr hi:0xf4, addr low:0x830000, src: 0, 0, 3840, 2160; dst: 0, 0, 3840, 2160;clip: 0, 0, 3840, 2160
 [     4.848155] [SURFACE]:Pipe 0: width, height, x, y
 [     4.848155] viewport:3840, 2160, 0, 0
 [     4.848155] recout:  3840, 2160, 0, 0
 [     4.848155] no data for est. mode 640x480x67
 ...
     91.906422] [SCALER]:resource_build_scaling_params: Viewport:
 [    91.906422] height:2160 width:3840 x:0 y:0
 [    91.906422]  dst_rect:
 [    91.906422] height:2160 width:3840 x:0 y:0
 [    91.906422] [BANDWIDTH_CALCS]:dce112_validate_bandwidth: start[SURFACE]:Pipe:0 0xffff808bdcd321c8: addr hi:0xf4, addr low:0x830000, src: 0, 0, 3840, 2160; dst: 0, 0, 3840, 2160;clip: 0, 0, 3840, 2160
 [    91.906422] [SURFACE]:Pipe 0: width, height, x, y
 [    91.906422] viewport:3840, 2160, 0, 0
 [    91.906422] recout:  3840, 2160, 0, 0
 [    91.926422] [SCALER]:resource_build_scaling_params: Viewport:
 [    91.926422] height:2160 width:3840 x:0 y:0
 [    91.926422]  dst_rect:
 [    91.926422] height:2160 width:3840 x:0 y:0
 [    91.926422] [BANDWIDTH_CALCS]:dce112_validate_bandwidth: start[SURFACE]:Pipe:0 0xffff808bd5b14a08: addr hi:0xf4, addr low:0x830000, src: 0, 0, 3840, 2160; dst: 0, 0, 3840, 2160;clip: 0, 0, 3840, 2160
 [    91.926422] [SURFACE]:Pipe 0: width, height, x, y
 [    91.926422] viewport:3840, 2160, 0, 0
 [    91.926422] recout:  3840, 2160, 0, 0
 [    91.946422] [SCALER]:resource_build_scaling_params: Viewport:
 [    91.946422] height:2160 width:3840 x:0 y:0
 [    91.946422]  dst_rect:
 [    91.946422] height:2160 width:3840 x:0 y:0
 [    91.946422] [BANDWIDTH_CALCS]:dce112_validate_bandwidth: start[SURFACE]:Pipe:0 0xffff808bd5b6eb88: addr hi:0xf4, addr low:0x830000, src: 0, 0, 3840, 2160; dst: 0, 0, 3840, 2160;clip: 0, 0, 3840, 2160
 [    91.946422] [SURFACE]:Pipe 0: width, height, x, y
 [    91.946422] viewport:3840, 2160, 0, 0
 [    91.946422] recout:  3840, 2160, 0, 0
 [    92.206421] [SCALER]:resource_build_scaling_params: Viewport:
 [    92.206421] height:2160 width:3840 x:0 y:0
 [    92.206421]  dst_rect:
 [    92.206421] height:2160 width:3840 x:0 y:0
 [    92.206421] [BANDWIDTH_CALCS]:dce112_validate_bandwidth: start[SURFACE]:Pipe:0 0xffff808bd6cb2608: addr hi:0xf4, addr low:0x830000, src: 0, 0, 3840, 2160; dst: 0, 0, 3840, 2160;clip: 0, 0, 3840, 2160
 [    92.206421] [SURFACE]:Pipe 0: width, height, x, y
 [    92.206421] viewport:3840, 2160, 0, 0
 [    92.206421] recout:  3840, 2160, 0, 0
 [    92.266420] [SCALER]:resource_build_scaling_params: Viewport:
 [    92.266420] height:2160 width:3840 x:0 y:0
 [    92.266420]  dst_rect:
 [    92.266420] height:2160 width:3840 x:0 y:0
 [    92.266420] [BANDWIDTH_CALCS]:dce112_validate_bandwidth: start[SURFACE]:Pipe:0 0xffff808bdfa3e308: addr hi:0xf4, addr low:0x830000, src: 0, 0, 3840, 2160; dst: 0, 0, 3840, 2160;clip: 0, 0, 3840, 2160
 [    92.266420] [SURFACE]:Pipe 0: width, height, x, y
 [    92.266420] viewport:3840, 2160, 0, 0
 [    92.266420] recout:  3840, 2160, 0, 0
 [    92.346420] [SCALER]:resource_build_scaling_params: Viewport:
 [    92.346420] height:2160 width:3840 x:0 y:0
 [    92.346420]  dst_rect:
 [    92.346420] height:2160 width:3840 x:0 y:0
 [    92.346420] [BANDWIDTH_CALCS]:dce112_validate_bandwidth: start[SURFACE]:Pipe:0 0xffff808bda752448: addr hi:0xf4, addr low:0x7b820000, src: 0, 0, 3840, 2160; dst: 0, 0, 3840, 2160;clip: 0, 0, 3840, 2160
 [    92.356420] [SURFACE]:Pipe 0: width, height, x, y
 [    92.356420] viewport:3840, 2160, 0, 0
 [    92.356420] recout:  3840, 2160, 0, 0
 [   103.286359] [SCALER]:resource_build_scaling_params: Viewport:
 [   103.286359] height:2160 width:3840 x:0 y:0
 [   103.286359]  dst_rect:
 [   103.286359] height:2160 width:3840 x:0 y:0
 [   103.286359] [BANDWIDTH_CALCS]:dce112_validate_bandwidth: start[SURFACE]:Pipe:0 0xffff808bf279c048: addr hi:0xf4, addr low:0x7b820000, src: 0, 0, 3840, 2160; dst: 0, 0, 3840, 2160;clip: 0, 0, 3840, 2160
 [   103.286359] [SURFACE]:Pipe 0: width, height, x, y
 [   103.286359] viewport:3840, 2160, 0, 0
 [   103.286359] recout:  3840, 2160, 0, 0
 [   424.034566] [SCALER]:resource_build_scaling_params: Viewport:
 [   424.034566] height:2160 width:3840 x:0 y:0
 [   424.034566]  dst_rect:
 [   424.034566] height:2160 width:3840 x:0 y:0
 [   424.034566] [BANDWIDTH_CALCS]:dce112_validate_bandwidth: start[SURFACE]:Pipe:0 0xffff808bf68124c8: addr hi:0xf4, addr low:0x7b820000, src: 0, 0, 3840, 2160; dst: 0, 0, 3840, 2160;clip: 0, 0, 3840, 2160
 [   424.034566] [SURFACE]:Pipe 0: width, height, x, y
 [   424.034566] viewport:3840, 2160, 0, 0
 [   424.034566] recout:  3840, 2160, 0, 0
 [   448.254430] [SCALER]:resource_build_scaling_params: Viewport:
 [   448.254430] height:2160 width:3840 x:0 y:0
 [   448.254430]  dst_rect:
 [   448.254430] height:2160 width:3840 x:0 y:0
 [   448.254430] [BANDWIDTH_CALCS]:dce112_validate_bandwidth: start[SURFACE]:Pipe:0 0xffff808bfcb14088: addr hi:0xf4, addr low:0x7b820000, src: 0, 0, 3840, 2160; dst: 0, 0, 3840, 2160;clip: 0, 0, 3840, 2160
 [   448.254430] [SURFACE]:Pipe 0: width, height, x, y
 [   448.254430] viewport:3840, 2160, 0, 0
 [   448.254430] recout:  3840, 2160, 0, 0
 [   449.874421] [SCALER]:resource_build_scaling_params: Viewport:
 [   449.874421] height:2160 width:3840 x:0 y:0
 [   449.874421]  dst_rect:
 [   449.874421] height:2160 width:3840 x:0 y:0
 [   449.874421] [BANDWIDTH_CALCS]:dce112_validate_bandwidth: start[SURFACE]:Pipe:0 0xffff808bf2dd0548: addr hi:0xf4, addr low:0x7b820000, src: 0, 0, 3840, 2160; dst: 0, 0, 3840, 2160;clip: 0, 0, 3840, 2160
 [   449.874421] [SURFACE]:Pipe 0: width, height, x, y
 [   449.874421] viewport:3840, 2160, 0, 0
 [   449.874421] recout:  3840, 2160, 0, 0
 [  1051.361059] [BANDWIDTH_CALCS]:dce112_validate_bandwidth: start[BANDWIDTH_CALCS]:dce112_validate_bandwidth: finish,
 [  1051.361059] nbpMark_b: 60137 nbpMark_a: 62733 urgentMark_b: 18350 urgentMark_a: 20975
 [  1051.361059] stutMark_b: 20350 stutMark_a: 22975
 [  1051.361059] nbpMark_b: 0 nbpMark_a: 0 urgentMark_b: 0 urgentMark_a: 0
 [  1051.361059] stutMark_b: 0 stutMark_a: 0
 [  1051.361059] nbpMark_b: 0 nbpMark_a: 0 urgentMark_b: 0 urgentMark_a: 0
 [  1051.361059] stutMark_b: 0 stutMark_a: 0 stutter_mode_enable: 1
 [  1051.361059] cstate: 1 pstate: 1 nbpstate: 1 sync: 0 dispclk: 0
 [  1051.361059] sclk: 0 sclk_sleep: 22414 yclk: 1200000 blackout_recovery_time_us: 0
 [  1051.361059] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 84  data: 2147483648
 [  1051.361059] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84  data: 2147483649
 [  1051.361059] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84  data: 1
 [  1051.361059] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84  data: 0
 [  1051.361059] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 84  data: 0
 [  1051.361059] [HW_AUDIO]:
 [  1051.361059]         ========= AUDIO:dce_aud_az_disable: index: 3  data: 0x0
 [  1061.861000] [SCALER]:resource_build_scaling_params: Viewport:
 [  1061.861000] height:2160 width:3840 x:0 y:0
 [  1061.861000]  dst_rect:
 [  1061.861000] height:2160 width:3840 x:0 y:0
 [  1061.861000] [BANDWIDTH_CALCS]:dce112_validate_bandwidth: start[BANDWIDTH_CALCS]:dce112_validate_bandwidth: finish,
 [  1061.861000] nbpMark_b: 60137 nbpMark_a: 62733 urgentMark_b: 18350 urgentMark_a: 20975
 [  1061.861000] stutMark_b: 20350 stutMark_a: 22975
 [  1061.861000] nbpMark_b: 0 nbpMark_a: 0 urgentMark_b: 0 urgentMark_a: 0
 [  1061.861000] stutMark_b: 0 stutMark_a: 0
 [  1061.861000] nbpMark_b: 0 nbpMark_a: 0 urgentMark_b: 0 urgentMark_a: 0
 [  1061.861000] stutMark_b: 0 stutMark_a: 0 stutter_mode_enable: 1
 [  1061.861000] cstate: 1 pstate: 1 nbpstate: 1 sync: 0 dispclk: 311850
 [  1061.861000] sclk: 214000 sclk_sleep: 22414 yclk: 1200000 blackout_recovery_time_us: 0
 ...
 [  1061.871000] [SURFACE]:Pipe:0 0xffff808c0342bb48: addr hi:0xf4, addr low:0x7b820000, src: 0, 0, 3840, 2160; dst: 0, 0, 3840, 2160;clip: 0, 0, 3840, 2160
 [  1061.871000] [SURFACE]:Pipe 0: width, height, x, y
 [  1061.871000] viewport:3840, 2160, 0, 0
 [  1061.871000] recout:  3840, 2160, 0, 0
 [  1061.901000] [SURFACE]:Pipe:0 0xffff808c0342bb48: addr hi:0xf4, addr low:0x7b820000, src: 0, 0, 3840, 2160; dst: 0, 0, 3840, 2160;clip: 0, 0, 3840, 2160
 [  1061.901000] [SURFACE]:Pipe 0: width, height, x, y
 [  1061.901000] viewport:3840, 2160, 0, 0
 [  1061.901000] recout:  3840, 2160, 0, 0
 [  1668.057612] [BANDWIDTH_CALCS]:dce112_validate_bandwidth: start[BANDWIDTH_CALCS]:dce112_validate_bandwidth: finish,
 [  1668.057612] nbpMark_b: 60137 nbpMark_a: 62733 urgentMark_b: 18350 urgentMark_a: 20975
 [  1668.057612] stutMark_b: 20350 stutMark_a: 22975
 [  1668.057612] nbpMark_b: 0 nbpMark_a: 0 urgentMark_b: 0 urgentMark_a: 0
 [  1668.057612] stutMark_b: 0 stutMark_a: 0
 [  1668.057612] nbpMark_b: 0 nbpMark_a: 0 urgentMark_b: 0 urgentMark_a: 0
 [  1668.057612] stutMark_b: 0 stutMark_a: 0 stutter_mode_enable: 1
 [  1668.057612] cstate: 1 pstate: 1 nbpstate: 1 sync: 0 dispclk: 0
 [  1668.057612] sclk: 0 sclk_sleep: 22414 yclk: 1200000 blackout_recovery_time_us: 0
 
 



Home | Main Index | Thread Index | Old Index