🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #292

[Bug 300205] smbios, ipmi require EFIRT-option

#292
From: bugzilla-noreply
Date: Wed, 28 Oct 2026 17:14
55 lines
3778 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300205

            Bug ID: 300205
           Summary: smbios, ipmi require EFIRT-option
           Product: Base System
           Version: 15.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: mi@FreeBSD.org

Created attachment 276637
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=276637&action=edit
Only use EFI-bits, if EFIRT is enabled

smbios-device requires EFIRT option on systems, where ARCH_MAY_USE_EFI is true.
Most do not feel it, because EFIRT is enabled in kernel -- but systems not
using EFI may want a kernel without the option enabled, and that is currently
impossible -- since about 2021:

  linking kernel.full
  ld: error: undefined symbol: active_efi_ops
  >>> referenced by efi.h:307 (/usr/src/sys/sys/efi.h:307)
  >>>               smbios.o:(smbios_identify)
  >>> referenced by efi.h:307 (/usr/src/sys/sys/efi.h:307)
  >>>               smbios.o:(smbios_identify)
  *** [kernel.full] Error code 1

The history of how it happened, courtesy of Claude Opus:

- base a29bff7a5216 (2021-04-07), "smbios: support getting address from EFI":
smbios.c started calling efi_get_table() unconditionally under
ARCH_MAY_USE_EFI, and gained MODULE_DEPEND(smbios, efirt, …). That covered the
module case, but nobody made the built-in case conditional on EFIRT.
- base ee8b757a949a (2021-04-29), "ipmi: support getting address from EFI": the
same pattern was added to ipmi_smbios.c.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-300205-227@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 300205] smbios, ipmi require EFIRT-option
Date: Wed, 28 Oct 2026 17:14:52 +0000
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-bugs@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-300205-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="82454"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1793207692;
	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=bHVD53bZJkC5zKySiCzMC0vb7xuwGkZqKSTcu2rjX1g=;
	b=FddCyzDLOYK1kRXSX7L8cLNC84kxXxJMuobtCnJyW0n51AQTl4N26fcnwnkDfCxFZfPVgM
	grWwlFmicS/mV9vTZqL7Cxa8YKASe9NsjFrVR9MOuFn/Xe4x2uXFJVqHdTszlbvAQyhKVg
	eCBPnrmlT1pOU7e7+8wL1JcWqTZmWHCBKUxrdURJVcgwvaZi7tT+2zonW+NH2cuH62/fL/
	0HnTMHYolqXNSlI+f8GZhUEC2VJMTq3r9WVX0q++8+ykF6ZpROioN8jYJ/Hdry+4gTMI0N
	0Bps8jeZoITqcM4Nerg3YLbUyiv0Om0xvnEvDykKVa5LaGZlBVjTjGk94YrdLQ==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes