NetBSD-Users archive

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

starting X on AMD R9 Nano crashes system



Sorry for the html email again but still cannot get to my thunderbird.

I have an R9 Nano for which I built a custom kernel (amd64, NetBSD 10.0 release) with amdgpu enabled but the system crashes on boot if xdm is enabled. When xdm is disabled, it boots but on trying to startx either as root or normal user, the system also crashes. Here is the relevant part of dmesg with the crash in the end when booting with xdm enabled if it gives any hint:

[     2,695531] kern.module.path=/stand/amd64/10.0/modules
[     2,695531] [drm] initializing kernel modesetting (FIJI 0x1002:0x7300 0x1043:0x04A4 0xCA).
[     2,695531] [drm] register mmio base: 0xFCF00000
[     2,695531] [drm] register mmio size: 262144
[     2,695531] [drm] add ip block number 0 <vi_common>
[     2,695531] [drm] add ip block number 1 <gmc_v8_0>
[     2,695531] [drm] add ip block number 2 <tonga_ih>
[     2,695531] [drm] add ip block number 3 <gfx_v8_0>
[     2,695531] [drm] add ip block number 4 <sdma_v3_0>
[     2,695531] [drm] add ip block number 5 <powerplay>
[     2,695531] [drm] add ip block number 6 <dm>
[     2,695531] [drm] add ip block number 7 <uvd_v6_0>
[     2,695531] [drm] add ip block number 8 <vce_v3_0>
[     2,862141] ATOM BIOS: 115-C8820200-102
[     2,862141] [drm] UVD is enabled in physical mode
[     2,862141] [drm] VCE enabled in physical mode
[     2,862141] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
[     2,862141] amdgpu0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
[     2,862141] amdgpu0: GART: 1024M 0x000000FF00000000 - 0x000000FF3FFFFFFF
[     2,862141] [drm] Detected VRAM RAM=4096M, BAR=256M
[     2,862141] [drm] RAM width 512bits HBM
[     2,862141] Zone  kernel: Available graphics memory: 9007199253812078 KiB
[     2,862141] Zone   dma32: Available graphics memory: 2097152 KiB
[     2,862141] [drm] amdgpu: 4096M of VRAM memory ready
[     2,862141] [drm] amdgpu: 4096M of GTT memory ready.
[     2,862141] [drm] GART: num cpu pages 262144, num gpu pages 262144
[     2,862141] [drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[     2,862141] amdgpu0: autoconfiguration error: error: amdgpu: failed to enable MSI
[     2,862141] amdgpu0: interrupting at irq 10 (amdgpu0)
[     3,038520] iwm0: hw rev 0x210, fw ver 22.361476.0, address d0:c6:37:38:71:b0
[     3,048320] [drm] Chained IB support enabled!
[     3,077719] hwmgr_sw_init smu backed is fiji_smu
[     3,077719] powerplay sw init successfully
[     3,087519] [drm] Found UVD firmware Version: 1.91 Family ID: 12
[     3,087519] [drm] UVD ENC is disabled
[     3,087519] [drm] Found VCE firmware Version: 37.2 Binary ID: 3
[     3,136517] Can't find requested voltage id in vdd_dep_on_sclk table
[     3,156116] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86  data: 408289520
[     3,156116] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86  data: 408289520
[     3,156116] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86  data: 408289520
[     3,156116] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86  data: 408289520
[     3,156116] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86  data: 408289520
[     3,156116] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86  data: 408289520
[     3,156116] warning: [drm] dce110_link_encoder_construct: Failed to get encoder_cap_info from VBIOS with error code 4!
[     3,156116] [drm] Display Core initialized with v3.2.69!
[     3,156116] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 84  data: 0
[     3,156116] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84  data: 1
[     3,156116] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84  data: 0
[     3,185516] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[     3,185516] [drm] Driver supports precise vblank timestamp query.
[     3,214914] [drm] UVD initialized successfully.
[     3,312911] [drm] VCE initialized successfully.
[     3,312911] amdgpufb0 at amdgpu0
[     3,312911] [drm] Initialized amdgpu 3.36.0 20150101 for amdgpu0 on minor 0
[     3,312911] amdgpufb0: framebuffer at 0xe0f96000, size 1920x1080, depth 32, stride 7680
[     3,312911] [SCALER]:resource_build_scaling_params: Viewport:
[     3,312911] height:1080 width:1920 x:0 y:0
[     3,312911]  dst_rect:
[     3,312911] height:1080 width:1920 x:0 y:0
[     3,322711] [HW_AUDIO]:
[     3,322711] dce_aud_wall_dto_setup:Input::requested_pixel_clock_100Hz = 1485000calculated_pixel_clock_100Hz =1485000
[     3,322711] audio_dto_module = 1485000 audio_dto_phase =240000 

[     3,322711] [HW_AUDIO]:
[     3,322711] dce110_se_setup_hdmi_audio:Input::requested_pixel_clock_100Hz = 1485000calculated_pixel_clock_100Hz = 1485000 
[     3,322711] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 84  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84  data: 1
[     3,322711] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 37  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 37  data: 65537
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 40  data: 117901057
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 41  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 42  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 43  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 44  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 45  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 46  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 47  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 49  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 50  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 51  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 53  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 56  data: 1
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 56  data: 1
[     3,322711] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 55  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 55  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 55  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 55  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 58  data: 91827532
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 59  data: 11
[     3,322711] [HW_AUDIO]:
[     3,322711] AUDIO:az_configure: index: 4 data, 0xb, displayName SyncMaster: 
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 60  data: 1431864734
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 61  data: 228103241
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 62  data: 1668184403
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 63  data: 1953718605
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 64  data: 29285
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 65  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 66  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 84  data: 17
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84  data: 16
[     3,322711] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 84  data: 0
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84  data: 2147483649
[     3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84  data: 2147483648
[     3,322711] [HW_AUDIO]:
[     3,322711] ========= AUDIO:dce_aud_az_enable: index: 4  data: 0x80000000
[     3,322711] [SURFACE]:Pipe:0 0xffff85801348ccc8: addr hi:0xf4, addr low:0xf96000, src: 0, 0, 1920, 1080; dst: 0, 0, 1920, 1080;clip: 0, 0, 1920, 1080
[     3,322711] [SURFACE]:Pipe 0: width, height, x, y
[     3,322711] viewport:1920, 1080, 0, 0
[     3,322711] recout:  1920, 1080, 0, 0
[     3,342311] [SURFACE]:Pipe:0 0xffff85801348ccc8: addr hi:0xf4, addr low:0xf96000, src: 0, 0, 1920, 1080; dst: 0, 0, 1920, 1080;clip: 0, 0, 1920, 1080
[     3,342311] [SURFACE]:Pipe 0: width, height, x, y
[     3,342311] viewport:1920, 1080, 0, 0
[     3,342311] recout:  1920, 1080, 0, 0
[     3,352109] wsdisplay0 at amdgpufb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
[     3,352109] wsmux1: connecting to wsdisplay0
[    10,368692] wsdisplay0: screen 1 added (default, vt100 emulation)
[    10,368692] wsdisplay0: screen 2 added (default, vt100 emulation)
[    10,368692] wsdisplay0: screen 3 added (default, vt100 emulation)
[    10,368692] wsdisplay0: screen 4 added (default, vt100 emulation)
[    46,942227] panic: unlocking unlocked wait/wound mutex: 0xffff858023c90920
[    46,942227] cpu0: Begin traceback...
[    46,942227] vpanic() at netbsd:vpanic+0x183
[    46,942227] panic() at netbsd:panic+0x3c
[    46,942227] linux_ww_mutex_unlock() at netbsd:linux_ww_mutex_unlock+0x9e
[    46,942227] ttm_bo_release() at netbsd:ttm_bo_release+0xf3
[    46,942227] amdgpu_bo_unref() at netbsd:amdgpu_bo_unref+0x1d
[    46,942227] amdgpu_vm_free_table() at netbsd:amdgpu_vm_free_table+0x53
[    46,942227] amdgpu_vm_free_pts() at netbsd:amdgpu_vm_free_pts+0xeb
[    46,942227] amdgpu_vm_fini() at netbsd:amdgpu_vm_fini+0x270
[    46,942227] amdgpu_driver_postclose_kms() at netbsd:amdgpu_driver_postclose_kms+0x101
[    46,942227] drm_file_free() at netbsd:drm_file_free+0x1fb
[    46,942227] drm_close() at netbsd:drm_close+0x60
[    46,942227] closef() at netbsd:closef+0x58
[    46,942227] fd_close() at netbsd:fd_close+0x140
[    46,942227] sys_close() at netbsd:sys_close+0x22
[    46,942227] syscall() at netbsd:syscall+0x1fc
[    46,942227] --- syscall (number 6) ---
[    46,942227] netbsd:syscall+0x1fc:
[    46,942227] cpu0: End traceback...

Best regards,
r0ller


Home | Main Index | Thread Index | Old Index