From nobody Sun Nov 06 18:15:41 2022 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 4N52bd67D3z4gmBS for ; Sun, 6 Nov 2022 18:15:41 +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 4N52bd3bNtz3sGT for ; Sun, 6 Nov 2022 18:15:41 +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 4N52bd2dqYzWTL for ; Sun, 6 Nov 2022 18:15:41 +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 2A6IFf52007633 for ; Sun, 6 Nov 2022 18:15:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2A6IFfJk007631 for bugs@FreeBSD.org; Sun, 6 Nov 2022 18:15:41 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 267028] General protection fault kernel panic immediately after kldload amdgpu Date: Sun, 06 Nov 2022 18:15:41 +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: 13.1-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: george@m5p.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667758541; 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=w/wXOlEBXaKJC0gFKrCWJiRb066tppnGhdOiZDIEIQw=; b=xhnqQvWnrVyZABNg6ll7aZSPvtRpH0/y5+A1+wZK0UVGDhmP58g8WA1XtHibnfqyA9iedS QXwq5wxuOxF/P8nITR1sp4UEwH9x2kwaMHfvjuZDYPyMWHGONk4ENGlrAMVRnw50s8xK7G LLlWJWXESJwJnlSoA+YMR1ilnl3oCThTbOsZsdNMk9m61LYujmhDm4TqYMp3j+8ytXk0hw TZgIEG0q/S+sHlqv4iV8eofsOKJZ39CoxO+0o/7BgwIWQcjt5vXLfvdxFZcwgH7GiIHPnL pJttWw/L+T/7drPo465AcWJ8CfZbgeBjeQhBX68ZWNXHQ7tLA68mFff/iSiORQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667758541; a=rsa-sha256; cv=none; b=hLvWMi8N2+54khSdVDzZ9TZG2z1sA0+9LoL6ijl+pYh56dVif3nIHF6oUf9u43nePT2LS1 oXwKMn0SrkAom3DLDidaklu8acynKq9mtcGzT7WnxAvPD2RG2Mem7fB4tzsCgABVechDgP PZ0JWi9sQWWHFSQrhJeIlEHEYIPdQZjvtSLm6fn99R5uJ2Xn4LcTPZ4m/7Bgc+n2UxwSIF JhmK0cLkareZBdobvL8bgTZch9l/8YMs9CbNibTJk6bWXc3Vbwk8Ro/B1VlkSRPMdJZ8H0 GoAS3f2quiRHQo/MvICOCxfzubyFQ3w/lThaZyJyW+Nvl1v9NS54nF81HPYJ4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267028 --- Comment #13 from George Mitchell --- As of today, with version drm-510-kmod-5.10.113_8: 1. I can reliably prevent a crash by booting to single user mode, manually kldloading amdgpu, and continuing (typing control-d). dmesg then reports: [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 (RAVEN 0x1002:0x15DD 0x1458:0xD000 0x= C8). drmn0: Trusted Memory Zone (TMZ) feature disabled as experimental (default) [drm] register mmio base: 0xFE600000 [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 drmn0: successfully loaded firmware image 'amdgpu/raven_gpu_info.bin' [drm] BIOS signature incorrect 44 f drmn0: Fetched VBIOS from ROM BAR amdgpu: ATOM BIOS: 113-RAVEN-111 drmn0: successfully loaded firmware image 'amdgpu/raven_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 [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 [drm] Detected VRAM RAM=3D2048M, BAR=3D2048M [drm] RAM width 128bits DDR4 [TTM] Zone kernel: Available graphics memory: 3100774 KiB [TTM] Zone dma32: Available graphics memory: 2097152 KiB [TTM] Initializing pool allocator [drm] amdgpu: 2048M of VRAM memory ready [drm] amdgpu: 3072M of GTT memory ready. [drm] GART: num cpu pages 262144, num gpu pages 262144 [drm] PCIE GART of 1024M enabled (table at 0x000000F400900000). drmn0: successfully loaded firmware image 'amdgpu/raven_asd.bin' drmn0: successfully loaded firmware image 'amdgpu/raven_ta.bin' drmn0: successfully loaded firmware image 'amdgpu/raven_pfp.bin' drmn0: successfully loaded firmware image 'amdgpu/raven_me.bin' drmn0: successfully loaded firmware image 'amdgpu/raven_ce.bin' drmn0: successfully loaded firmware image 'amdgpu/raven_rlc.bin' drmn0: successfully loaded firmware image 'amdgpu/raven_mec.bin' drmn0: successfully loaded firmware image 'amdgpu/raven_mec2.bin' amdgpu: hwmgr_sw_init smu backed is smu10_smu drmn0: successfully loaded firmware image 'amdgpu/raven_vcn.bin' [drm] Found VCN firmware Version ENC: 1.12 DEC: 2 VEP: 0 Revision: 1 drmn0: Will use PSP to load VCN firmware [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 [drm] kiq ring mec 2 pipe 1 q 0 [drm] DM_PPLIB: values for F clock [drm] DM_PPLIB: 400000 in kHz, 3649 in mV [drm] DM_PPLIB: 933000 in kHz, 4074 in mV [drm] DM_PPLIB: 1200000 in kHz, 4399 in mV [drm] DM_PPLIB: 1333000 in kHz, 4399 in mV [drm] DM_PPLIB: values for DCF clock [drm] DM_PPLIB: 300000 in kHz, 3649 in mV [drm] DM_PPLIB: 600000 in kHz, 4074 in mV [drm] DM_PPLIB: 626000 in kHz, 4250 in mV [drm] DM_PPLIB: 654000 in kHz, 4399 in mV [drm] Display Core initialized with v3.2.104! [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 [drm] fb mappable at 0x60BCA000 [drm] vram apper at 0x60000000 [drm] size 8294400 [drm] fb depth is 24 [drm] pitch is 7680 VT: Replacing driver "vga" with new "fb". start FB_INFO: type=3D11 height=3D1080 width=3D1920 depth=3D32 pbase=3D0x60bca000 vbase=3D0xfffff80060bca000 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 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)! [drm] Initialized amdgpu 3.40.0 20150101 for drmn0 on minor 0 Is the sysctl_warn_reuse message anything to worry about? 2. Adding amdgpu to the kldlist in rc.conf still crashes more often than no= t, as previously reported. 3. Attempting to load amdgpu via /boot/loader.conf appears to load the modu= le in memory but not actually make it functional. (X uses VESA mode as if the module isn't there.) --=20 You are receiving this mail because: You are the assignee for the bug.=