From nobody Tue Oct 10 11:48:12 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 4S4Z0Y03QJz4wdrR for ; Tue, 10 Oct 2023 11:48:13 +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 4S4Z0X3hrPz3cFc for ; Tue, 10 Oct 2023 11:48:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696938492; a=rsa-sha256; cv=none; b=OImnI9O2XAt1VMgliEmkaW73Hk1KL+jJ2Z5VhLYX0nBNqdccxXlrcl+rr8xxXzD4iovuUB 3JWYOs7+yUlcPYGa8Ys+bA0SbACFGwMgGn9Xp1UbPoOLd7ATPhmjsoiBwRGQTVeOyfNZz1 v9tJhHTU+yP+EG78pNhk1nuQzvMs0wV/IaA19KzRmSJ5mJ48ZlubZHqXiTpXP7yh8fT5tO 4Tvcr6Pxs+R8k6hqHR3Y208VWTy//danIhjGApdIQR11Yqq16KoxvbSzioNgxuS+uwf5NS 4kuJSVEACBEjFgwbTL9EKKWXHcIRvA/XdlYMbfRc1QT5mU1tdf+IRkNwa/XRJA== 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=1696938492; 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=QTRWdnKe7DnvtADLwNMsI26Biya4+oFPytlIBDBp3co=; b=wF7NoqgejtTvq+pFb1POn8XgMTr39JtaIxxZdZU/HECHP3XWydgzh4QiBbdFEQ/p3yOqgx BVnEhn09GpgI/lXtel9KOwLdB8OebacRzBCZyByY1bNJ+vbVHICwcFK24iM5WVBWcRaqrd AbRfN/42tkncKrk0ZNs7wyMAl2+I7OdDMChR6G++doacOe4RMEqjPXjpv0KmWmvI2/yfIu Kk8ZKaMxbZRrDoR22Qu4DC+xpCr2p8GUtCF9aFX/t803wVv9z9OGMAWT9Z8cSKo7qxafsP gFMzju42aOCZhrHsHg4Gby5vLEk/UEVZtzpMxCfS41Cx4exvZ6NwQRTdOwmBTg== 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 4S4Z0X2n4jzd7N for ; Tue, 10 Oct 2023 11:48:12 +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 39ABmCGg032376 for ; Tue, 10 Oct 2023 11:48:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39ABmC6m032375 for bugs@FreeBSD.org; Tue, 10 Oct 2023 11:48:12 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: Tue, 10 Oct 2023 11:48:12 +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: csgordon@fastmail.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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274388 --- Comment #3 from Colin Gordon --- I'm relatively new to working in the FreeBSD kernel, so it's quite possible there's a subtlety in missing or some kind of module validation check in not aware of that has broken. But the C code itself doesn't care about the dependency declaration, so geom_flashmap itself is fine, but does declare a module name that's not tied to the *filename* of the final kld, and kld loa= ding assumes the declared dependency name matches the filename, which is what fa= ils. That's why my local fix is to change the module declarations to match the filename. On amd64 it appears that both geom_flashmap and mmcsd are linked directly i= nto the kernel, so the kld loading code doesn't encounter the name mismatch. --=20 You are receiving this mail because: You are the assignee for the bug.=