Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2024 19:24:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 276985] crash in LinuxKPI/drm
Message-ID:  <bug-276985-227-AYjHGt38al@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276985-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276985-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276985

--- Comment #40 from feh@fehcom.de ---
(In reply to Olivier Certner from comment #38)

Hi Olivier,

well, I tried, but was not successful:

1. Called make uninstall in /usr/ports/graphics/drm-61-kmod (ok).
2. Called make install in .../drm-515-kmod (ok).

After reboot, I got the following messages via dmesg (X did not start):

link_elf_obj: symbol dma_resv_add_ecl_fence undefined
linker_load file: /boot/modules/ttm.ko - unsupported file type
KLD ambdgpu.ko: depends on ttm - not available or version mismatch
Warning: memory type debugfsint leaked memory on destroy (2 allocations, 80
bytes leaked).
linker_load_file: /boot/modules/amdgpu.ko - unsupported file type

3. After removing 5.15 and re-installing 6.1 everythings seems fine again
(dmesg):

[drm] amdgpu kernel modesetting enabled.
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
[drm] initializing kernel modesetting (RENOIR 0x1002:0x164C 0x1002:0x0123
0xC1).
[drm] register mmio base: 0xFCA00000
[drm] register mmio size: 524288
[drm] add ip block number 0 <soc15_common>
[drm] add ip block number 1 <gmc_v9_0>
[drm] add ip block number 2 <vega10_ih>
[drm] add ip block number 3 <psp>
[drm] add ip block number 4 <smu>
[drm] add ip block number 5 <dm>
[drm] add ip block number 6 <gfx_v9_0>
[drm] add ip block number 7 <sdma_v4_0>
[drm] add ip block number 8 <vcn_v2_0>
[drm] add ip block number 9 <jpeg_v2_0>
drmn0: Fetched VBIOS from VFCT
amdgpu: ATOM BIOS: 113-LUCIENNE-016
drmn0: successfully loaded firmware image 'amdgpu/renoir_sdma.bin'
[drm] VCN decode is enabled in VM mode
[drm] VCN encode is enabled in VM mode
[drm] JPEG decode is enabled in VM mode
drmn0: Trusted Memory Zone (TMZ) feature enabled
drmn0: PCIE atomic ops is not supported
drmn0: MODE2 reset
[drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is
9-bit
drmn0: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
drmn0: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
drmn0: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
[drm] Detected VRAM RAM=3D512M, BAR=3D512M
[drm] RAM width 128bits DDR4
[drm] amdgpu: 512M of VRAM memory ready
[drm] amdgpu: 7856M of GTT memory ready.
[drm] GART: num cpu pages 262144, num gpu pages 262144
[drm] PCIE GART of 1024M enabled.
[drm] PTB located at 0x000000F41FC00000
drmn0: successfully loaded firmware image 'amdgpu/renoir_asd.bin'
drmn0: successfully loaded firmware image 'amdgpu/renoir_ta.bin'
drmn0: PSP runtime database doesn't exist
drmn0: PSP runtime database doesn't exist
drmn0: successfully loaded firmware image 'amdgpu/renoir_dmcub.bin'
[drm] Loading DMUB firmware via PSP: version=3D0x01010027
drmn0: successfully loaded firmware image 'amdgpu/renoir_pfp.bin'
drmn0: successfully loaded firmware image 'amdgpu/renoir_me.bin'
drmn0: successfully loaded firmware image 'amdgpu/renoir_ce.bin'
drmn0: successfully loaded firmware image 'amdgpu/renoir_rlc.bin'
drmn0: successfully loaded firmware image 'amdgpu/renoir_mec.bin'
drmn0: successfully loaded firmware image 'amdgpu/renoir_vcn.bin'
[drm] Found VCN firmware Version ENC: 1.20 DEC: 5 VEP: 0 Revision: 3
drmn0: Will use PSP to load VCN firmware
[drm] reserve 0x400000 from 0xf41f400000 for PSP TMR
drmn0: RAS: optional ras ta ucode is not available
drmn0: RAP: optional rap ta ucode is not available
[drm] psp gfx command LOAD_TA(0x1) failed and response status is (0x7)
[drm] psp gfx command INVOKE_CMD(0x3) failed and response status is (0x4)
drmn0: Secure display: Generic Failure.drmn0: SECUREDISPLAY: query
securedisplay TA failed. ret 0x0
drmn0: SMU is initialized successfully!
[drm] Display Core initialized with v3.2.207!
[drm] DMUB hardware initialized: version=3D0x01010027
lkpi_iic0: <LinuxKPI I2C> on drmn0

$ kldstat | grep drm
23    2 0xffffffff84667000    86090 drm.ko
$ kldstat | grep amd
22    1 0xffffffff84000000   666888 amdgpu.ko
29    1 0xffffffff846fb000     64e0 amdgpu_renoir_sdma_bin.ko
30    1 0xffffffff84702000    2c2e0 amdgpu_renoir_asd_bin.ko
31    1 0xffffffff8472f000     c4e0 amdgpu_renoir_ta_bin.ko
32    1 0xffffffff8473c000    1fbe8 amdgpu_renoir_dmcub_bin.ko
33    1 0xffffffff8475c000     7560 amdgpu_renoir_pfp_bin.ko
34    1 0xffffffff84764000     6560 amdgpu_renoir_me_bin.ko
35    1 0xffffffff83ffa000     4560 amdgpu_renoir_ce_bin.ko
36    1 0xffffffff8476b000     bcd8 amdgpu_renoir_rlc_bin.ko
37    1 0xffffffff84777000    43800 amdgpu_renoir_mec_bin.ko
38    1 0xffffffff847bb000    645a0 amdgpu_renoir_vcn_bin.ko
39    1 0xffffffff84820000     3160 amdtemp.ko
40    1 0xffffffff84824000     2138 amdsmn.ko


I hope, this is enough information for you to carry on with a diagnosis.

Thx. --eh.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276985-227-AYjHGt38al>