From nobody Tue Mar 14 03:22:27 2023 X-Original-To: fs@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 4PbJjv1kh0z3xZwS for ; Tue, 14 Mar 2023 03:22:27 +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 4PbJjv0WFnz41xG for ; Tue, 14 Mar 2023 03:22:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678764147; 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=hfUUPpqOkxfG0f72XtcP/NxzqHtaGCC5cLgs3CWm+3g=; b=Sl6hr97v7ifXJmHzEJDTpkjo3xs8eVLm/ZhLmBUO9Y3RJwnUHaCIN3pbmoJ82KDtp2iDtG gffbJPywRsDfajJ4W6GOPb/nA374DYTeU+ikIF10jYs+fto1lmqs/1E7BUsi6wBtY5+WA8 5TiZxNhy33GWYwne3A7JmSp4ngO5nFD1T9u77/ZbzsImf9pU//z+4MteblU1+wyCZ/PaGs BhJdWyT34XJ+V2v5OwUNDIyOV9T3YxiIXCW1VvMRkvaYkcnxVpy6MPHPQVAqquz9MtThhY 1komY/h3I/kubxbc22F1s2afpDVOKokyloIOsPHA0NPgThfJUVYtWDO0IKzYsA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678764147; a=rsa-sha256; cv=none; b=vEP6UesIQ9TEVfezniemTifOppbZzJA/0gI7KHZMZ+GQkRSYtzblXTFfPpJG3sxEAU9S1u ogvSCYauBsVzHhgwwdZ9VqwJacxw+ge8q8l4JrUIj7am65+3YTZOzfxmPXWUv0Sbi7t3Of GXN423J2ogAhLzBezhciMbzraMnKDReig5yJqyJlnKzdYX6Gryvqo8Ny4Tcyllwc38wk3V oD1K/OGMbdrV5Q2W9NcaeoquqbOGEMMH+UcdnKA4RWCdOpAmkZeq8hhUoL1jv01cShe4Ks uHPV0s+mOJ3Hp7NGUEF1Rx7OtkWRyuVhfrh3RR/Xy7muFYneqokvyr+vN6m3yA== 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 4PbJjt6hJ3zKMf for ; Tue, 14 Mar 2023 03:22:26 +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 32E3MQIp021400 for ; Tue, 14 Mar 2023 03:22:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32E3MQFZ021399 for fs@FreeBSD.org; Tue, 14 Mar 2023 03:22:26 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: fs@FreeBSD.org Subject: [Bug 267028] kernel panics when booting with both (zfs,ko or vboxnetflt,ko or acpi_wmi.ko) and amdgpu.ko Date: Tue, 14 Mar 2023 03:22:27 +0000 X-Bugzilla-Reason: CC 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: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? 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: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267028 --- Comment #126 from Mark Millard --- (In reply to Mark Millard from comment #125) Picking the drm-515-kmod one: it looks like the source=20 file referenced needs to include the content of the file providing the #define : /usr/main-src/sys/compat/linuxkpi/common/include/linux/preempt.h:#define=20= =20=20=20=20=20=20 in_interrupt() \ There are overall, some other uses: drm-kmod//drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c: if (r < 1 && in_interrupt()) drm-kmod//drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c: if (r < 1 && (amdgpu_in_reset(adev) || in_interrupt())) drm-kmod//drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c: if (r < 1 && (amdgpu_in_reset(adev) || in_interrupt())) drm-kmod//drivers/gpu/drm/drm_cache.c: if (WARN_ON(in_interrupt())) { drm-kmod//drivers/gpu/drm/drm_cache.c: WARN_ON(in_interrupt()); I have not checked if any others of those do get preempt.h already. amd64 might be working via header pollution in some way that aarch64 does not? --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=