From nobody Tue Sep 3 19:24:07 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WywXl63CZz5TpxY for ; Tue, 03 Sep 2024 19:24:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WywXl51jGz4Xw5 for ; Tue, 3 Sep 2024 19:24:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725391447; a=rsa-sha256; cv=none; b=b4VUN9CWJHIoSvriKnKPBhhlQLn8g4NXBjdKtt1olZfOw79wWf0xbaIlAnBOWSPTttarEW RvjENfh8boXKHydBcgRP6QO76o6qAlOBc9AMcGLBSS1jJSHAsuWF0uPUmYAMTYGI9YF3/f IDQmRDehqE0dpBWFIW7kD1QzruuUKPXEYWWj1gEhSD8f2DZ9ns9yeGWqcDNCJK+Syx3JMp R368StS1PseeCCehowLSJt8x4wjoBCjZCM/wDVUtbGDuED2nWQNa3SPHjIyDRp+1qcvSZT JCCYChO9Sn0Lr76FPZmZg2YFYO5QBMaUZ6qHP8Pl35tS/1j5oKPP83tAlitHCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725391447; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SlvRSFY89eOd3UDuMagC3ArVLbaj825s1e1lQioilco=; b=QIl2vG72mq09ks4tTw6PiYnRUpDkRSDcGqOc0Ic9f/xPLg+gnSzvUxsq92X+NrLbO9CNxc zOWTxNdcrLNweWYyEnbgEaUTIdSZz9N3cTNR6SXnQFMM66c8wtuqz2UweniRGTLQ4d3kVj 7Ci1BV/s+ImatOUHeIh4SET9oPwplFTKscfeyXJxF6nYGx1GB+F51yOlbE6tGCLiomhlwL WE/3TKcrRb5xzz25+Uv6FkSf/rSy2ysM0IPkQmIlonqnc9OUsFVu5QV2Zfo3lHLibk85++ +VCECKY1DAz2iVOkAVNoeOUN71qYYOpAXFAb95r7z/vY9uJMo5q5ImgW+ycv+w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WywXl4dD9zt2h for ; Tue, 3 Sep 2024 19:24:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 483JO7ch052318 for ; Tue, 3 Sep 2024 19:24:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 483JO7Pf052308 for bugs@FreeBSD.org; Tue, 3 Sep 2024 19:24:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 276985] crash in LinuxKPI/drm Date: Tue, 03 Sep 2024 19:24:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: feh@fehcom.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 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: 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 [drm] add ip block number 1 [drm] add ip block number 2 [drm] add ip block number 3 [drm] add ip block number 4 [drm] add ip block number 5 [drm] add ip block number 6 [drm] add ip block number 7 [drm] add ip block number 8 [drm] add ip block number 9 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: 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.=