From nobody Tue Dec 24 18:25:32 2024 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 4YHjxT15MNz5hcjQ for ; Tue, 24 Dec 2024 18:25:33 +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 4YHjxS6Lxhz4ykT for ; Tue, 24 Dec 2024 18:25:32 +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=1735064732; 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=BF36say6HnjtvuZdrWmKhJg++ypfwi+y57VFnQj43ys=; b=uHwMYmiLVtlZ9pQBPBlvZacX+rP5EH+jabsiAT6T9yApMaT4w98gXOTwboBs5fmHYf80XA J8TWSsnWyJ4nNc7XkQykr8rrfQVGAxlZ6DmqP8CpiIHlZsCmnjudokGKq2TbYW6ecHe2al VmRjNX81po3vRdx9OG2sU12sHK6XQWKxDBBwE3LGCXcUNX/GCINGkpp9vgeNmmFZAndro1 cnMo4kk6X9jujR4VntqmZABJTZbXlwHwxI1UkZPVaHCVNYu6aDkwOzROM7cbVY+yyWOF9T uYg6QKz1PYkCvjgTCtaSIcDO/u3qLOnF0lVpVICQr41TMMpBWHdnvdDh0QJWKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735064732; a=rsa-sha256; cv=none; b=fJbirZsPlg5oNBlZQ3Q9WnowMN+GtxgmyMGOF55/TlVwfZSqYV5c6LOo75c1PzuZEqxzCq 8vOiqAnDdXh87SdUjqVxoIx180dUMDtFD1rdCPXeJz+PMmuZEjaw7hPQxtp2atqpb7RBuK GB2X3EbIV/bBemueKBnNBnI0lv2efPzybB1yC54glMpX28VdX+sPZuGtIpeZ6qNtXdXQWa ipFg9G+wVSA4YrmA2R5lI+e9tdGE1hi+E+bWj4vt2B7iG9NrTFDZAAWPxedYQyE0i1ZoWB /NRG72leof08QUxYYF8P9n7rSsq/7efQC4+AUbCFgavdFjoYFBJa7D5aCgwR5w== 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 4YHjxS5cLvzqSd for ; Tue, 24 Dec 2024 18:25:32 +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 4BOIPW58029177 for ; Tue, 24 Dec 2024 18:25:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BOIPWlT029176 for fs@FreeBSD.org; Tue, 24 Dec 2024 18:25:32 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, 24 Dec 2024 18:25:32 +0000 X-Bugzilla-Reason: CC 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: bugs@FreeBSD.org X-Bugzilla-Flags: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267028 --- Comment #289 from Mark Millard --- I do not know if you want to be making debug/diagnostic hacks to the 13.4 source code or not. But I know that you already build your own kernel. The following suggests such a temporary debug/diagnostic hack. It has only been compile tested. It is possible that pasting it here could modify the text in some way. So take it as suggestive if lines split in problematical spots or other such. # git -C /usr/alt-src/ diff sys/kern/kern_linker.c diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c index 5271d002fba4..8b81a1b64722 100644 --- a/sys/kern/kern_linker.c +++ b/sys/kern/kern_linker.c @@ -1521,8 +1521,12 @@ modlist_newmodule(const char *modname, int version, linker_file_t container) modlist_t mod; mod =3D malloc(sizeof(struct modlist), M_LINKER, M_NOWAIT | M_ZERO); + printf("modlist_newmodule: new node addr %p name %s: container addr= %p, modname addr %p, version %d\n", + (void*)mod, modname, (void*)container, (void const*)modname, version); if (mod =3D=3D NULL) panic("no memory for module list"); + if (mod < (modlist_t)0xfffff80000000100) + panic("modlist_newmodule: mod < (modlist_t)PHYS_TO_DMAP(0x100)"); mod->container =3D container; mod->name =3D modname; mod->version =3D version; For reference: # git worktree list /usr/official-src 7a4f370a352f [stable/14] /usr/alt-src 3f40d5821eca [releng/13.4] /usr/main-src 45d5b9f0324a [main] so /usr/alt-src/ is based on releng/13.4 at this time. I'll note that my compile testing was based on main's LLVM 19 based clang. It did reject some 13.4-RELEASE source code that compared enum variables with values from a different enum. So I made adjustments at those points to be more like the modern code --but mostly to just avoid these places stopping the build: # git -C /usr/alt-src/ status On branch releng/13.4 Your branch is up to date with 'freebsd/releng/13.4'. Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: sys/contrib/dev/ath/ath_hal/ar9300/ar9300eep.h modified: sys/dev/ath/ath_hal/ar9002/ar9285_btcoex.c modified: sys/dev/iavf/iavf_lib.c modified: sys/dev/isci/scil/scif_sas_smp_remote_device.c modified: sys/kern/kern_linker.c Untracked files: (use "git add ..." to include in what will be committed) sys/amd64/conf/GENERIC-DBG sys/amd64/conf/GENERIC-NODBG no changes added to commit (use "git add" and/or "git commit -a") GENERIC-DBG and GENERIC-NODBG were created just to match my local conventions used in my scripts (both include GENERIC and then specify more specific content for the purpose intended). --=20 You are receiving this mail because: You are on the CC list for the bug.=