From nobody Tue Oct 10 00:32:41 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 4S4H154KK8z4wnW6 for ; Tue, 10 Oct 2023 00:32:41 +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 4S4H152Dzqz4FLL for ; Tue, 10 Oct 2023 00:32:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696897961; a=rsa-sha256; cv=none; b=ReOvr8GdB0baODDek/2BLNLs03AG4/BS/Rfss/sMG4r6wyKFgoSaY1vcB+Sl7LpgyXC1NL 1eJzcfOmH8mrQsi4hygE5oqZ9m4+YW7kNBJNTvN5xAhUMwVbNUS0qh1KAyeq6NU3vDSRHf 4YHeAMdonaO5e+8Zt2c+JxMLz8dcvdC+pvO28DJhMSiLgDWkagn4mw4IZb+vhDnTa14C/j LMMnvx+vDrbqApHAyA4tLaAkKH4eEFwq68izunsuXC4NIyrQoh1Il7ZtlKRQEis9PqmSDq EENcBgWfSObQn5dpR+jaq8HRliMRgVxvX9ieS54hbQ6RifUuY4QM/UGfolWyCw== 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=1696897961; 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; bh=KiqF3zotkRSMRe3o8jK+RbTgdN4ilHlHc6+YiSDoRxg=; b=JK7oExfEl9ry06RZntMgaTqMXKYILeBkglMrnwaVRuKVVvZAQTf7fVGrPFo+WJVVX8p/9v QWFHU3weOhOQYPPkrB+71Lo62y9j5UOjflXJsaWqyVBa0FW4WePcG/8HH8OkGVH1EmPGSy quSi+sWy9LreE2YpH+mYsrl06dU1YVfugvPycyo0QPQUztASgHxELo6DiEMbZoQqraFOvM QaEbeckmnsiabm6rzElfgrRrHA+D6/4kTXOcGhGD/snhLXbdIvPlGewlxEBBv3ds1hgzt7 5haQ974w1Q+LaqY//seIN2If9vU6J2JyNl6u4A2+V6JvgQjgcu146Bha3nlBbQ== 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 4S4H151J9Kz35S for ; Tue, 10 Oct 2023 00:32:41 +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 39A0WfDa013720 for ; Tue, 10 Oct 2023 00:32:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39A0WfdT013719 for bugs@FreeBSD.org; Tue, 10 Oct 2023 00:32:41 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 00:32:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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 Bug ID: 274388 Summary: Several modules declare dependency on non-existent 'g_flashmap' kmod Product: Base System Version: CURRENT Hardware: riscv OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: csgordon@fastmail.com While I encountered this working on support for a RISC-V board, the specific code in question is platform-independent. The mmcsd code (sys/dev/mmc/mmcsd.c) declares a module dependency on a modu= le called g_flashmap. However, this module doesn't exist. So if mmcsd is built= as a module, it cannot be loaded, you get an error message about this non-exis= tent module not being found. g_flashmap is actually a prefix used internally in the geom_flashmap code. Turns out that also affects fdt_slicer as well, but the fix is just 4 fixes= to refer to the actual module: https://github.com/csgordon/freebsd-starfive2/commit/95e24f536ddd4bde5f3b44= 1c5e3a45a5a0acc49d --=20 You are receiving this mail because: You are the assignee for the bug.=