From nobody Thu Oct 12 13:46:23 2023 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 4S5rWz4mXfz4wNdv for ; Thu, 12 Oct 2023 13:46:23 +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 4S5rWz3jrRz4NSc for ; Thu, 12 Oct 2023 13:46:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697118383; a=rsa-sha256; cv=none; b=Nx1u93NOB2+mbe0mGG5ipnrvx/iI/ffmL5OyxSJ7etfinQPkPruS1hG2vr8jmuy7Z8LNvY zuNbb+83QKT6DR36dS7S6rWaCnfz/1p2y/WjG9dUr0B4Z6J0pIYfI6Q4MNoXyZ1Xto/6xo 3LN21BC4ibO+zuJsw7vZo6uK/scm4bTXS0tNVdVyrF6DhjPHiaXKnvaLpTmPCc2CIG/85i 67E2bopl+N9NWhcCf0HwtTXs9fm8NubVf3fyq2ZN1rIK30T1CMYpg6ntPQhTr8NTD8Z5tz GHAW3dUTgPH4JNq8O1589Sm77bCvpt2rpbVp9DCMZcNZb3wSkMhbD+3jeGCZgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697118383; 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=dhR3rX5aIhphydP1H19pnnYDAGOq9g7e3ITuK3dHep0=; b=pGVo2oTPBPYAJcPd/7KjUl1jbk5L1a1AzMkGBVWnoJtA3jaqn97zmBLVZvR3e1TPpQn8TE sTr8K/EcFs2X2sKpFepcfcVpU4Hs+/K4DUl0qIa6NQv7rjaXAR8eOyqZDY3nFI7X3WZ0yD hkclg6dPkQzjKPDMcyK0IgWo/RExJXSklIiWHVlcVtZ+WRWlKbaE4ifcRPHHZivuHrbZZ7 LlqrPbOMDABEQ3ht1MQQvex2gKbGvmvAbLRrsQHUV9L+vwCILCaKvIRTGUDmP75vgvORYF KcHxw4/miPHszMgaCn6NCRdhmHJALzP216SIizapw+xMlXaGzEKD3cU/4GuT6Q== 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 4S5rWz2ggnz15fM for ; Thu, 12 Oct 2023 13:46:23 +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 39CDkNnG021372 for ; Thu, 12 Oct 2023 13:46:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39CDkN81021371 for bugs@FreeBSD.org; Thu, 12 Oct 2023 13:46:23 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 274388] Several modules declare dependency on non-existent 'g_flashmap' kmod Date: Thu, 12 Oct 2023 13:46:23 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274388 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #4 from Mark Johnston --- I suspect the problem is that you don't have a /boot/kernel/linker.hints fi= le.=20 So when the kernel loads a module which depends on g_flashmap, it doesn't k= now that that corresponds to geom_flashmap.ko. Your patch changes the module n= ame to geom_flashmap, and linker_hints_lookup() will always try to load .ko, so it works. Note that in FreeBSD, kernel modules and linker fil= es (.ko files) are not exactly the same. A linker file may contain multiple modules. Assuming my guess is right, your patch just works around one specific consequence of not having a linker.hints. OTOH, almost all of the GEOM mod= ules are named geom_*, so maybe the patch should be committed anyway... --=20 You are receiving this mail because: You are the assignee for the bug.=