From nobody Mon May 02 13:16:43 2022 X-Original-To: ports-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 7A9171AAA794 for ; Mon, 2 May 2022 13:16:44 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KsNsR6BPyz3jnG for ; Mon, 2 May 2022 13:16:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 B1FF323B9 for ; Mon, 2 May 2022 13:16:43 +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 242DGhGU050277 for ; Mon, 2 May 2022 13:16:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 242DGhvp050276 for ports-bugs@FreeBSD.org; Mon, 2 May 2022 13:16:43 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: ports-bugs@FreeBSD.org Subject: [Bug 263720] graphics/drm-510-kmod panic when loading amdgpu.ko Date: Mon, 02 May 2022 13:16:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jakob@alvermark.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651497403; 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; bh=PfrDsp6CtRJFMpvCNdZmPzIfvd11HjDfu3hmpYrRmTs=; b=oZRYwo0bLcEJkumUD7TFEQFvI53mU7qwr6iNNOybApgcbQ/FD/HOIkHbkNkLVtCJA/Hhhb wyoPHGOYbDMoqhEq08gSKlcr4GBAfr3fjcuKP4KvxrEyBq6NtPM7X8/YGj10FiqsSsWTBS RIz3pLtZLdCt8UTYP4s9ODmBdO9THUOzVH88HMQC5oWWuzkBGLxQpU2pEkqanT/ZJ8NjHA FhOTJ/lSTOYMtzsKq/pPdqnHEoH1u4GMKdc4dUqarkW5Hay62ZLZQ/AYscjgRLkAd5a7hf PNeFKHdibg1KAxRKBe2gu1P9bB5wJPUQPuqjIgRtLYf4QGU+05wKtWlEAaclbg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651497403; a=rsa-sha256; cv=none; b=oa0sbmAAiWg+nqw/4pP54Zn8Vo/okejDZyXATldRRjB9TEwjAp65K2XS7hYr5P4eI/CACR +HP+JgL0ZE1OFSD99FYZINg/6MdEqp2h/1EXzcbWh1AjzRP0ME/vlLZ9D8/V5cJLO7nwxM hfiJO5yRcr0BpeoEJcLejuQ9vu2AkKmmyjHXR1bC5/D18mQUVA3nsJkDEWf6lOjotcHv6P QwsCxsjZYhbIwWeKprzInBJfzIc+I4eQBtqdLe0TkU0V8pmIjzqka1DyGpe/Q/oG+JGe6Y E45rU8MoJihiUlC03z+M7sUR8JefkGTW4to09iZHyTqBAkcZ06+icbkZXumaLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263720 Bug ID: 263720 Summary: graphics/drm-510-kmod panic when loading amdgpu.ko Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: jakob@alvermark.net Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) After installing graphics/drm-510-kmod the kernel panics when loading amdgp= u.ko FreeBSD 14.0-CURRENT #21 main-n255100-8a5c1f58dd0 <6>[drm] amdgpu kernel modesetting enabled. drmn0: on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io <6>[drm] initializing kernel modesetting (RAVEN 0x1002:0x15D8 0x17AA:0x5126 0xD2). drmn0: Trusted Memory Zone (TMZ) feature disabled as experimental (default) <6>[drm] register mmio base: 0xD0500000 <6>[drm] register mmio size: 524288 <6>[drm] add ip block number 0 <6>[drm] add ip block number 1 <6>[drm] add ip block number 2 <6>[drm] add ip block number 3 <6>[drm] add ip block number 4 <6>[drm] add ip block number 5 <6>[drm] add ip block number 6 <6>[drm] add ip block number 7 <6>[drm] add ip block number 8 drmn0: successfully loaded firmware image 'amdgpu/picasso_gpu_info.bin' drmn0: Fetched VBIOS from VFCT <6>amdgpu: ATOM BIOS: 113-PICASSO-114 drmn0: successfully loaded firmware image 'amdgpu/picasso_sdma.bin' <6>[drm] VCN decode is enabled in VM mode <6>[drm] VCN encode is enabled in VM mode <6>[drm] JPEG decode is enabled in VM mode <6>[drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size= is 9-bit drmn0: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used) drmn0: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF drmn0: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF <6>[drm] Detected VRAM RAM=3D2048M, BAR=3D2048M <6>[drm] RAM width 128bits DDR4 <6>[TTM] Zone kernel: Available graphics memory: 7259850 KiB <6>[TTM] Zone dma32: Available graphics memory: 2097152 KiB <6>[TTM] Initializing pool allocator <6>[drm] amdgpu: 2048M of VRAM memory ready <6>[drm] amdgpu: 3072M of GTT memory ready. <6>[drm] GART: num cpu pages 262144, num gpu pages 262144 <6>[drm] PCIE GART of 1024M enabled (table at 0x000000F400900000). drmn0: successfully loaded firmware image 'amdgpu/picasso_asd.bin' drmn0: successfully loaded firmware image 'amdgpu/picasso_ta.bin' drmn0: successfully loaded firmware image 'amdgpu/picasso_pfp.bin' drmn0: successfully loaded firmware image 'amdgpu/picasso_me.bin' drmn0: successfully loaded firmware image 'amdgpu/picasso_ce.bin' drmn0: successfully loaded firmware image 'amdgpu/picasso_rlc.bin' drmn0: successfully loaded firmware image 'amdgpu/picasso_mec.bin' drmn0: successfully loaded firmware image 'amdgpu/picasso_mec2.bin' <6>amdgpu: hwmgr_sw_init smu backed is smu10_smu drmn0: successfully loaded firmware image 'amdgpu/raven_dmcu.bin' drmn0: successfully loaded firmware image 'amdgpu/picasso_vcn.bin' <6>[drm] Found VCN firmware Version ENC: 1.12 DEC: 2 VEP: 0 Revision: 1 <6>[drm] PSP loading VCN firmware <6>[drm] reserve 0x400000 from 0xf47fc00000 for PSP TMR drmn0: RAS: optional ras ta ucode is not available drmn0: RAP: optional rap ta ucode is not available <6>[drm] kiq ring mec 2 pipe 1 q 0 <6>[drm] DM_PPLIB: values for F clock <6>[drm] DM_PPLIB: 400000 in kHz, 2924 in mV <6>[drm] DM_PPLIB: 933000 in kHz, 3249 in mV <6>[drm] DM_PPLIB: 1067000 in kHz, 3924 in mV <6>[drm] DM_PPLIB: 1200000 in kHz, 4074 in mV <6>[drm] DM_PPLIB: values for DCF clock <6>[drm] DM_PPLIB: 300000 in kHz, 2924 in mV <6>[drm] DM_PPLIB: 600000 in kHz, 3249 in mV <6>[drm] DM_PPLIB: 626000 in kHz, 3924 in mV <6>[drm] DM_PPLIB: 654000 in kHz, 4074 in mV <6>[drm] Display Core initialized with v3.2.104! lkpi_iic0: on drmn0 iicbus0: on lkpi_iic0 iicsmb0: on iicbus0 smbus1: on iicsmb0 smb1: on smbus1 iic0: on iicbus0 lkpi_iic1: on drmn0 iicbus1: on lkpi_iic1 iicsmb1: on iicbus1 smbus2: on iicsmb1 smb2: on smbus2 iic1: on iicbus1 lkpi_iic2: on drmn0 iicbus2: on lkpi_iic2 iicsmb2: on iicbus2 smbus3: on iicsmb2 smb3: on smbus3 iic2: on iicbus2 lkpi_iic3: on drmn0 iicbus3: on lkpi_iic3 iicsmb3: on iicbus3 smbus4: on iicsmb3 smb4: on smbus4 iic3: on iicbus3 <6>[drm] DM_MST: Differing MST start on aconnector: 0xfffff8018e74f000 [id:= 87] <6>[drm] VCN decode and encode initialized successfully(under SPG Mode). drmn0: SE 1, SH per SE 1, CU per SH 11, active_cu_number 8 <6>[drm] fb mappable at 0x3BFBCA000 <6>[drm] vram apper at 0x3BF000000 <6>[drm] size 8294400 <6>[drm] fb depth is 24 <6>[drm] pitch is 7680 VT: Replacing driver "efifb" with new "fb". start FB_INFO: type=3D11 height=3D1080 width=3D1920 depth=3D32 pbase=3D0x3bfbca000 vbase=3D0xfffffe01061ca000 name=3Ddrmn0 flags=3D0x0 stride=3D7680 bpp=3D32 end FB_INFO drmn0: ring gfx uses VM inv eng 0 on hub 0 drmn0: ring comp_1.0.0 uses VM inv eng 1 on hub 0 drmn0: ring comp_1.1.0 uses VM inv eng 4 on hub 0 drmn0: ring comp_1.2.0 uses VM inv eng 5 on hub 0 drmn0: ring comp_1.3.0 uses VM inv eng 6 on hub 0 drmn0: ring comp_1.0.1 uses VM inv eng 7 on hub 0 drmn0: ring comp_1.1.1 uses VM inv eng 8 on hub 0 drmn0: ring comp_1.2.1 uses VM inv eng 9 on hub 0 drmn0: ring comp_1.3.1 uses VM inv eng 10 on hub 0 drmn0: ring kiq_2.1.0 uses VM inv eng 11 on hub 0 drmn0: ring sdma0 uses VM inv eng 0 on hub 1 drmn0: ring vcn_dec uses VM inv eng 1 on hub 1 drmn0: ring vcn_enc0 uses VM inv eng 4 on hub 1 drmn0: ring vcn_enc1 uses VM inv eng 5 on hub 1 drmn0: ring jpeg_dec uses VM inv eng 6 on hub 1 vgapci0: child drmn0 requested pci_get_powerstate sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)! <6>[drm] Initialized amdgpu 3.40.0 20150101 for drmn0 on minor 0 fbd0 on drmn0 WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 14.0. Fatal trap 12: page fault while in kernel mode cpuid =3D 4; apic id =3D 04 fault virtual address =3D 0x1e fault code =3D supervisor write data, page not present instruction pointer =3D 0x20:0xffffffff806702c6 stack pointer =3D 0x28:0xfffffe00b4765aa0 frame pointer =3D 0x28:0xfffffe00b4765ad0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 0 (linuxkpi_long_wq_6) trap number =3D 12 WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10_4/drivers/gpu/drm/= drm_atomic_helper.c:619 WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10_4/drivers/gpu/drm/= drm_atomic_helper.c:619 WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10_4/drivers/gpu/drm/= drm_atomic_helper.c:619 WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10_4/drivers/gpu/drm/= drm_atomic_helper.c:619 WARNING !drm_modeset_is_locked(&dev->mode_config.connection_mutex) failed at /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10_4/drivers/gpu/drm/= drm_atomic_helper.c:669 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10_4/drivers/gpu/drm/= drm_atomic_helper.c:894 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10_4/drivers/gpu/drm/= drm_atomic_helper.c:894 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10_4/drivers/gpu/drm/= drm_atomic_helper.c:894 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10_4/drivers/gpu/drm/= drm_atomic_helper.c:894 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10_4/drivers/gpu/drm/= drm_atomic_helper.c:894 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10_4/drivers/gpu/drm/= drm_atomic_helper.c:894 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10_4/drivers/gpu/drm/= drm_atomic_helper.c:894 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10_4/drivers/gpu/drm/= drm_atomic_helper.c:894 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10_4/drivers/gpu/drm/= drm_atomic_helper.c:894 panic: page fault cpuid =3D 4 time =3D 1651491261 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00b4765= 860 vpanic() at vpanic+0x17f/frame 0xfffffe00b47658b0 panic() at panic+0x43/frame 0xfffffe00b4765910 trap_fatal() at trap_fatal+0x385/frame 0xfffffe00b4765970 trap_pfault() at trap_pfault+0x4f/frame 0xfffffe00b47659d0 calltrap() at calltrap+0x8/frame 0xfffffe00b47659d0 --- trap 0xc, rip =3D 0xffffffff806702c6, rsp =3D 0xfffffe00b4765aa0, rbp = =3D 0xfffffe00b4765ad0 --- fbd_register() at fbd_register+0xe6/frame 0xfffffe00b4765ad0 device_attach() at device_attach+0x3c3/frame 0xfffffe00b4765b20 bus_generic_attach() at bus_generic_attach+0x4b/frame 0xfffffe00b4765b50 lkpi_i2c_add_adapter() at lkpi_i2c_add_adapter+0x5b/frame 0xfffffe00b4765b70 drm_dp_port_set_pdt() at drm_dp_port_set_pdt+0x1e9/frame 0xfffffe00b4765bc0 drm_dp_send_link_address() at drm_dp_send_link_address+0x89a/frame 0xfffffe00b4765cf0 drm_dp_check_and_send_link_address() at drm_dp_check_and_send_link_address+0x27/frame 0xfffffe00b4765d30 drm_dp_mst_link_probe_work() at drm_dp_mst_link_probe_work+0x268/frame 0xfffffe00b4765de0 linux_work_fn() at linux_work_fn+0xe3/frame 0xfffffe00b4765e40 taskqueue_run_locked() at taskqueue_run_locked+0x181/frame 0xfffffe00b4765e= c0 taskqueue_thread_loop() at taskqueue_thread_loop+0xc2/frame 0xfffffe00b4765= ef0 fork_exit() at fork_exit+0x7e/frame 0xfffffe00b4765f30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00b4765f30 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- KDB: enter: panic --=20 You are receiving this mail because: You are the assignee for the bug.=