From nobody Mon Mar 13 03:51:59 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 4PZjQS0Z3Dz3y56h for ; Mon, 13 Mar 2023 03:52:00 +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 4PZjQR6WLkz41Ck for ; Mon, 13 Mar 2023 03:51:59 +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=1678679519; 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=IwhMArq/NOrIMz/lcKTJ7fJsqmwVQ8LFweyAcspF+I0=; b=rDkzT1PIZ6B9Rqb7F9NhxYWiH37S0cpK2NF54Cmv1u5KdeHnDe1o0ejra31PnizDztW7EU ZAidpjzJFotBK+dBbHGU+od2yawZJcRv6rj85r8LXlooM7Misd6SC5GzJEliZCg/N17DV4 kQ3FbWfuaPWsq51vUJ9RRzz1rgj0DjUkPQ6fUVur0fv9XKgn6XtL6I53q8Ggjj5i1w8lGE G2kka7n4Ps7U/gwDpcgKVlyYGs3voo26xdZwWBD95yFZ0OqgBXgx1bMndUB8N6QElJSgnJ tmbHlL+R2igAcnblaLIadvGP9kdZPefqRJumzFRh5RzvdMXJIwbJ0oY9cEaxlA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678679519; a=rsa-sha256; cv=none; b=GpMbTDeLjogsuAYK5fCuD0ILgwDuv/LBP5NQl9OVnnOmG9av0FTsiFJsBqB5Ko+eecjgDh rHdlykRp7tALLQ+1bXuZGUuNGECcNUSQw9eEdCcuvvWorUpS4dB+d5jK6NKyWFDh7IrAXI 8S83sieCmmePp1dkFWTGpGA69dIG1LN1SIxMWUVBNvp8/pET04a7qyZy7w3BVz2Z7UGGrV Hr4yu5WHGLVa7F1SvAw81eGptXcD0qrbF7b0XCnkFMyokxi2bW8e63oYuqC4mfmNj97air oEvbzlB+uZeqxoeAEnmZUVT1dW8j08nboXtcONTafYj1uBb06tGe1JDfo1i6Qg== 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 4PZjQR5cBJzdp4 for ; Mon, 13 Mar 2023 03:51:59 +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 32D3pxiW084322 for ; Mon, 13 Mar 2023 03:51:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32D3pxpj084321 for fs@FreeBSD.org; Mon, 13 Mar 2023 03:51:59 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: Mon, 13 Mar 2023 03:51:59 +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 #125 from Mark Millard --- Well, I was going to try testing in an environment were I've got a serial console: an aarch64 main [so: 14] context. But it turns out that there is at least one missing function declaration foor the type of context at this point: /wrkdirs/usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.25/drivers= /gpu/drm/drm_cache.c:362:10: error: call to undeclared function 'in_interrupt'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] WARN_ON(in_interrupt()); ^ 1 error generated. *** [drm_cache.o] Error code 1 as is visible in the official build log: http://ampere2.nyi.freebsd.org/data/main-arm64-default/p64e3eb722c17_s7fc82= fd1f8/logs/errors/drm-515-kmod-5.15.25.log Turns out the drm-510-kmod variant allowed for releng/13.1 and later is missing possible macro definitions for aarch64: /wrkdirs/usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10.163_2/driv= ers/gpu/drm/amd/display/dc/core/dc.c:741:3: error: call to undeclared function 'DC_FP_START'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] DC_FP_START(); ^ /wrkdirs/usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10.163_2/driv= ers/gpu/drm/amd/display/dc/core/dc.c:743:3: error: call to undeclared function 'DC_FP_END'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] DC_FP_END(); ^ 2 errors generated. *** [dc.o] Error code 1 as is visible in: http://ampere2.nyi.freebsd.org/data/main-arm64-default/p64e3eb722c17_s7fc82= fd1f8/logs/errors/drm-510-kmod-5.10.163_2.log (It is not just my builds that have such issues: official builds have the problems as well.) I was hoping I'd be able to do some testing in the alternative type of context (likely never starting X11). That looks to not be in the cards at this time. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=